CN106791282B - A kind of panorama scanning system video enhancement method and device - Google Patents

A kind of panorama scanning system video enhancement method and device Download PDF

Info

Publication number
CN106791282B
CN106791282B CN201611007528.7A CN201611007528A CN106791282B CN 106791282 B CN106791282 B CN 106791282B CN 201611007528 A CN201611007528 A CN 201611007528A CN 106791282 B CN106791282 B CN 106791282B
Authority
CN
China
Prior art keywords
panorama
gray level
mapping table
grey scale
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611007528.7A
Other languages
Chinese (zh)
Other versions
CN106791282A (en
Inventor
祁海军
赵金博
黄成章
刘奇
邓希宁
石岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 11 Research Institute
Original Assignee
CETC 11 Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 11 Research Institute filed Critical CETC 11 Research Institute
Priority to CN201611007528.7A priority Critical patent/CN106791282B/en
Publication of CN106791282A publication Critical patent/CN106791282A/en
Application granted granted Critical
Publication of CN106791282B publication Critical patent/CN106791282B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

The invention discloses a kind of panorama scanning system video enhancement method and devices.Method includes the following steps: counting the pixel grayscale for all video datas that the panorama scanning system generates for N weeks the in scanning process, benchmark is divided by pixel of gray level, seeks pixels probability density;The corresponding relationship for establishing pixel grayscale Yu pixels probability density obtains grey scale mapping table;The corresponding pixels probability density of pixel grayscale for obtaining the N+1 weeks all video data according to the grey scale mapping table, obtains panorama panorama image.Technical solution of the present invention obtains panorama histogram information using complete cycle data statistical approach, carries out equalization processing, bring Panoramic Mosaicing border issue after very good solution conventional histogram processing to panoramic picture on this basis.

Description

A kind of panorama scanning system video enhancement method and device
Technical field
The present invention relates to photoelectric imaging technology field, in particular to a kind of panorama scanning system video enhancement method and dress It sets.
Background technique
Panorama scanning system may be implemented to 360 ° of pan-shots and export continuous videos, it is desirable that can be in real time to aphorama Frequency carries out histogram treatment, and then reaches enhancing display effect, eliminates the purpose on interframe boundary.
Panorama scanning system exports video as unit of week compared to traditional camera system.Capture apparatus is installed on turntable On, orientation does not stop to rotate, and in constant bearing angle trigger exposure, is rotated by 360 ° as a cycle, captured video Image reaches the aobvious control computer in rear end by data transmission system, complete cycle image can be carried out picture mosaic processing in a computer, To obtain 360 ° of panorama panorama images.
Conventional histogram processing is counted full frame pixel, is reflected again to pixel grey scale on this basis as unit of frame It penetrates, reaches enhancing purpose.It is complete cycle the problem of sweeping conventional histogram processing method in system week and being not suitable for, mainly bring Dynamic range of images is larger, and each frame statistical result difference is obvious in week, and the difference in brightness after histogram treatment is larger, intuitively Boundary after being experienced as Panoramic Mosaicing is obvious, and display effect is undesirable.In order to reach ideal display effect, need to tradition Histogram processing methods improve.
Summary of the invention
In order to solve, panorama scanning system Panoramic Mosaicing back boundary in the prior art is obvious, display effect is undesirable is asked Topic, the present invention provides a kind of panorama scanning system video enhancement method and devices.
Panorama scanning system video enhancement method provided by the invention, comprising the following steps:
The pixel grayscale for all video datas that the panorama scanning system generates for N weeks in scanning process is counted, Benchmark is divided by pixel of gray level, seeks pixels probability density;
The corresponding relationship for establishing pixel grayscale Yu pixels probability density obtains grey scale mapping table;
The corresponding pixels probability of pixel grayscale for obtaining the N+1 weeks all video data according to the grey scale mapping table is close Degree, obtains panorama panorama image.
The present invention also provides a kind of panorama scanning system video enhancement devices, including statistics and computing module, gray scale to reflect Firing table generation module and panorama histogram stretching module:
The statistics and computing module, the institute generated in scanning process for N weeks for counting the panorama scanning system There is the pixel grayscale of video data, divides benchmark by pixel of gray level, seek pixels probability density;
The grey scale mapping table generation module is obtained for establishing the corresponding relationship of pixel grayscale Yu pixels probability density To grey scale mapping table;
The panorama histogram stretching module, for obtaining the N+1 weeks all video data according to the grey scale mapping table The corresponding pixels probability density of pixel grayscale, obtain panorama panorama image.
The present invention has the beneficial effect that:
The embodiment of the present invention obtains panorama histogram information using complete cycle data statistical approach, on this basis to panorama sketch As carrying out equalization processing, bring Panoramic Mosaicing border issue after very good solution conventional histogram processing.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
Fig. 1 is the flow chart of the panorama scanning system video enhancement method of the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of the panorama scanning system video enhancement device of the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
In order to solve, panorama scanning system Panoramic Mosaicing back boundary in the prior art is obvious, display effect is undesirable is asked Topic, the present invention provides a kind of panorama scanning system video enhancement method and devices, below in conjunction with attached drawing and embodiment, to this Invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, not Limit the present invention.
According to an embodiment of the invention, providing a kind of panorama scanning system video enhancement method, Fig. 1 is implementation of the present invention The flow chart of the panorama scanning system video enhancement method of example, as shown in Figure 1, panorama scanning system according to an embodiment of the present invention Video enhancement method includes following processing:
Step 101, the pixel for all video datas that the panorama scanning system generates for N weeks in scanning process is counted Gray level divides benchmark by pixel of gray level, seeks pixels probability density;
Step 102, the corresponding relationship for establishing pixel grayscale Yu pixels probability density obtains grey scale mapping table;
Step 103, the corresponding picture of pixel grayscale of the N+1 weeks all video data is obtained according to the grey scale mapping table Plain probability density obtains panorama panorama image.
The N is variable, and specific N is the positive integer more than or equal to 1.
Specifically, step 101 the following steps are included:
The gray level is sent to RAM by the gray level for determining the N weeks ith pixel, and wherein RAM is receiving the ash When spending grade, history frequency of occurrence of the gray level within this week is added 1, enables i=i+1, repeats the process, it is all until having traversed Pixel transfers this weekly data stored in the RAM, obtains panorama histogram;
Statistical data of each gray level within this week in the panorama histogram is successively taken out, is calculated often according to formula 1 The pixels probability density P of a gray levelr(r), until to obtain corresponding pixel general for each gray level in the panorama histogram Rate density;
Specifically, further comprising the steps of after step 102:
The abnormal pixel in the grey scale mapping table is rejected, to be modified to the grey scale mapping table.
More specifically, the abnormal pixel in the grey scale mapping table is rejected, to be modified to the grey scale mapping table Concrete operations are as follows:
The mapping gray level of preset minimum gray level thresholding gray level below is set as in the grey scale mapping table 0, the mapping gray level of gray level more than preset highest gray level thresholding is set as 255, obtains revised grey scale mapping Table.
Specifically, step 103 the following steps are included:
After the input of each the N+1 weeks video data, using pixel grayscale as the picture in allocation index grey scale mapping table Plain probability density obtains panorama panorama image according to the pixels probability density of the N+1 weeks all video data.
The embodiment of the present invention discards tradition histogram enhancement method, is handled in real time as unit of week panoramic picture, It realizes and sweeps video source modeling function in system week, substantially increase the effect of visualization of image, the boundary solved in picture mosaic is asked Topic.At the same time, new statistics with histogram method also gives up part abnormal pixel, weakens abnormal pixel bring equalization Problem-Error.
According to an embodiment of the invention, providing a kind of panorama scanning system video enhancement device, Fig. 2 is implementation of the present invention The structural schematic diagram of the panorama scanning system video enhancement device of example, as shown in Fig. 2, panorama according to an embodiment of the present invention scans System video enhancement device includes: statistics and computing module 20, grey scale mapping table generation module 22 and panorama histogram stretching die Block 24 is below described in detail the modules of the embodiment of the present invention.
Specifically, the statistics and computing module 20, for counting the panorama scanning system in the N weeks scanning process The pixel grayscale of all video datas generated divides benchmark by pixel of gray level, seeks pixels probability density.
Specifically, the statistics and computing module 20 include panoramic video statistic unit and computing unit:
The panoramic video statistic unit sends the gray level for determining the gray level of the N weeks ith pixel To RAM, wherein history frequency of occurrence of the gray level within this week is added 1, enables i=i+1 by RAM when receiving the gray level, The process is repeated to transfer this weekly data stored in the RAM until having traversed all pixels, obtain panorama histogram;
The computing unit, for successively taking out statistical number of each gray level within this week in the panorama histogram According to calculating the pixels probability density P of each gray level according to formula 2r(r), until each gray level in the panorama histogram All obtain corresponding pixels probability density;
Panoramic video statistic unit records the number of the pixel grey scale of each input using FPGA internal RAM, in the application RAM depth size is distinguishing with conventional histogram statistics.RAM depth is all pixels gray level, for example, for 16bit Infrared image, the RAM depth needed are 216=64K.Because being panoramic video, RAM bit is wide also to be increase accordingly, general single Frame normalized set is that every pixel grey scale most probable number MPN is image resolution ratio, and panorama statistics is on this basis it is also contemplated that one week Frame number, is 160 frames in actual items, and resolution ratio obtains the possible maximum statistic of each pixel multiplied by 160, thus calculates Obtaining RAM bit width is 25bit.
After the completion of the input of the last one pixel of panoramic video, the work of panoramic video statistic unit is completed, and then starting calculates Unit.
Specifically, the grey scale mapping table generation module, corresponding with pixels probability density for establishing pixel grayscale Relationship obtains grey scale mapping table.
The panorama histogram stretching module 24, for obtaining the N+1 weeks all video counts according to the grey scale mapping table According to the corresponding pixels probability density of pixel grayscale, obtain panorama panorama image.
Specifically, panorama histogram stretching module 24, after the input of each the N+1 weeks video data, with pixel grey scale Grade is the pixels probability density in allocation index grey scale mapping table, according to the pixels probability density of the N+1 weeks all video data Obtain panorama panorama image.
Panorama scanning system video histogram enhancement device of the present invention further includes correction module, is reflected for rejecting the gray scale Abnormal pixel in firing table, to be modified to the grey scale mapping table.
Specifically, the correction module, being used for will be below preset minimum gray level thresholding in the grey scale mapping table The mapping gray level of gray level be set as 0, the mapping gray level of gray level more than preset highest gray level thresholding is set as 255, obtain revised grey scale mapping table.Thus achieve the purpose that give up abnormal pixel, it is equal to weaken abnormal pixel bring Weighing apparatusization Problem-Error.Under normal circumstances, minimum gray scale improves 100 gray levels, and grey scale mapping below is set as 0 herein, highest Gray scale reduces by 100 gray levels, and above grey scale mapping is set as 255 herein.
Each module real-time update in panorama scanning system video histogram enhancement device of the present invention, is often rotated by 360 ° update Once.
The embodiment of the present invention combines land and sea border defense system, the current situation of important place defense system in recent years, is based on certain land and sea border defense Platform invents a kind of panorama scan video histogram enhancement method.Global histogram is carried out using panorama panoramic video statistical result Figure processing, realizing enhances panorama panoramic video real time histogram, improves video-see quality, efficiently solves panorama sketch As picture mosaic bring border issue.And consider hardware realization problem, module fully considers that PFGA is handled, optimization processing flowing water Structure reduces unnecessary extra delay to the greatest extent, ensure that system real time.
The above description is only an embodiment of the present invention, is not intended to restrict the invention, for those skilled in the art For member, the invention may be variously modified and varied.All within the spirits and principles of the present invention, it is made it is any modification, Equivalent replacement, improvement etc., should be included within scope of the presently claimed invention.

Claims (8)

1. a kind of panorama scanning system video enhancement method, which comprises the following steps:
The pixel grayscale for all video datas that the panorama scanning system generates for N weeks in scanning process is counted, with ash Spending grade is that pixel divides benchmark, seeks pixels probability density;
The corresponding relationship for establishing pixel grayscale Yu pixels probability density obtains grey scale mapping table;
The corresponding pixels probability density of pixel grayscale for obtaining the N+1 weeks all video data according to the grey scale mapping table, Obtain panorama panorama image;
The pixel grayscale for all video datas that the panorama scanning system generates during scanning in the N weeks is counted, with Pixel grayscale be pixel divide benchmark, seek pixels probability density specifically includes the following steps:
The gray level is sent to RAM by the gray level for determining the N weeks ith pixel, and wherein RAM is receiving the gray level When, history frequency of occurrence of the gray level within this week is added 1, enables i=i+1, the process is repeated, until having traversed all pictures Element transfers this weekly data stored in the RAM, obtains panorama histogram;
Statistical data of each gray level within this week in the panorama histogram is successively taken out, calculates each ash according to formula 1 Spend the pixels probability density P of grader(r), until to obtain corresponding pixels probability close for each gray level in the panorama histogram Degree;
2. panorama scanning system video enhancement method as described in claim 1, which is characterized in that described to establish pixel grayscale With the corresponding relationship of pixels probability density, after obtaining grey scale mapping table further include:
The abnormal pixel in the grey scale mapping table is rejected, to be modified to the grey scale mapping table.
3. panorama scanning system video enhancement method as claimed in claim 2, which is characterized in that reject the grey scale mapping table In abnormal pixel, to be modified to the grey scale mapping table specifically includes the following steps:
The mapping gray level of preset minimum gray level thresholding gray level below is set as 0 in the grey scale mapping table, it will The mapping gray level of gray level more than preset highest gray level thresholding is set as 255, obtains revised grey scale mapping table.
4. panorama scanning system video enhancement method as claimed in claim 1 or 2, which is characterized in that reflected according to the gray scale Firing table obtains the corresponding pixels probability density of pixel grayscale of the N+1 weeks all video data, obtains panorama panorama image tool Body the following steps are included:
It is general as the pixel in allocation index grey scale mapping table using pixel grayscale after the input of each the N+1 weeks video data Rate density obtains panorama panorama image according to the pixels probability density of the N+1 weeks all video data.
5. a kind of panorama scanning system video enhancement device, which is characterized in that raw including statistics and computing module, grey scale mapping table At module and panorama histogram stretching module:
The statistics and computing module, all views generated in scanning process for N weeks for counting the panorama scanning system The pixel grayscale of frequency evidence divides benchmark by pixel of gray level, seeks pixels probability density;
The grey scale mapping table generation module obtains ash for establishing the corresponding relationship of pixel grayscale Yu pixels probability density Spend mapping table;
The panorama histogram stretching module, for obtaining the picture of the N+1 weeks all video data according to the grey scale mapping table The corresponding pixels probability density of plain gray level, obtains panorama panorama image;
The statistics and computing module include panoramic video statistic unit and computing unit:
The gray level is sent to by the panoramic video statistic unit for determining the gray level of the N weeks ith pixel RAM, wherein history frequency of occurrence of the gray level within this week is added 1, enables i=i+1 by RAM when receiving the gray level, weight The multiple process transfers this weekly data stored in the RAM, obtains panorama histogram until having traversed all pixels;
The computing unit is pressed for successively taking out statistical data of each gray level within this week in the panorama histogram The pixels probability density P of each gray level is calculated according to formula 2r(r), until in the panorama histogram each gray level obtain Corresponding pixels probability density;
6. panorama scanning system video enhancement device as claimed in claim 5, which is characterized in that further include correction module, use In rejecting the abnormal pixel in the grey scale mapping table, to be modified to the grey scale mapping table.
7. panorama scanning system video enhancement device as claimed in claim 6, which is characterized in that the correction module is specifically used In:
The mapping gray level of preset minimum gray level thresholding gray level below is set as 0 in the grey scale mapping table, it will The mapping gray level of gray level more than preset highest gray level thresholding is set as 255, obtains revised grey scale mapping table.
8. such as panorama scanning system video enhancement device described in claim 5 or 6, which is characterized in that the panorama histogram Stretching module is specifically used for:
It is general as the pixel in allocation index grey scale mapping table using pixel grayscale after the input of each the N+1 weeks video data Rate density obtains panorama panorama image according to the pixels probability density of the N+1 weeks all video data.
CN201611007528.7A 2016-11-16 2016-11-16 A kind of panorama scanning system video enhancement method and device Active CN106791282B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611007528.7A CN106791282B (en) 2016-11-16 2016-11-16 A kind of panorama scanning system video enhancement method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611007528.7A CN106791282B (en) 2016-11-16 2016-11-16 A kind of panorama scanning system video enhancement method and device

Publications (2)

Publication Number Publication Date
CN106791282A CN106791282A (en) 2017-05-31
CN106791282B true CN106791282B (en) 2019-10-25

Family

ID=58969194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611007528.7A Active CN106791282B (en) 2016-11-16 2016-11-16 A kind of panorama scanning system video enhancement method and device

Country Status (1)

Country Link
CN (1) CN106791282B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247513A (en) * 2007-12-25 2008-08-20 谢维信 Method for real-time generating 360 degree seamless full-view video image by single camera
CN101873429A (en) * 2010-04-16 2010-10-27 杭州海康威视软件有限公司 Processing method and device of image contrast
CN102014279A (en) * 2010-12-20 2011-04-13 杭州华三通信技术有限公司 Method and device for intensifying video image contrast
WO2013075224A1 (en) * 2011-11-22 2013-05-30 Corel Corporation Conversion of 2-dimensional image data into 3-dimensional image data
CN105957004A (en) * 2016-04-27 2016-09-21 武汉大学 Panoramic image restoration method and system based on graph cut optimization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247513A (en) * 2007-12-25 2008-08-20 谢维信 Method for real-time generating 360 degree seamless full-view video image by single camera
CN101873429A (en) * 2010-04-16 2010-10-27 杭州海康威视软件有限公司 Processing method and device of image contrast
CN102014279A (en) * 2010-12-20 2011-04-13 杭州华三通信技术有限公司 Method and device for intensifying video image contrast
WO2013075224A1 (en) * 2011-11-22 2013-05-30 Corel Corporation Conversion of 2-dimensional image data into 3-dimensional image data
CN105957004A (en) * 2016-04-27 2016-09-21 武汉大学 Panoramic image restoration method and system based on graph cut optimization

Also Published As

Publication number Publication date
CN106791282A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
Jiang et al. Learning to see moving objects in the dark
CN108898567B (en) Image noise reduction method, device and system
US20230196705A1 (en) Method and apparatus for improving video target detection performance in surveillance edge computing
US9571743B2 (en) Dynamic exposure adjusting method and electronic apparatus using the same
WO2021017809A1 (en) Video denoising method and apparatus, and computer-readable storage medium
US7092016B2 (en) Method and system for motion image digital processing
WO2011060579A1 (en) Method for generating depth maps from monocular images and systems using the same
WO2020006899A1 (en) Method and device for measuring weight of livestock
CN105141841B (en) Picture pick-up device and its method
DE102008059372A1 (en) Bildverzeichnungskorrektur
JP6755787B2 (en) Image processing equipment, image processing methods and programs
US11282176B2 (en) Image refocusing
CN110163807B (en) Low-illumination image enhancement method based on expected bright channel
CN101047867A (en) Method for correcting multi-viewpoint vedio color
CN109961404A (en) A kind of high clear video image Enhancement Method based on GPU parallel computation
CN113099135B (en) Infrared image focusing, terminal device and computer readable storage medium
CN107437239A (en) A kind of image enchancing method and device
CN107613216A (en) Focusing method, device, computer-readable recording medium and electronic equipment
CN111986106A (en) High dynamic image reconstruction method based on neural network
CN106373139A (en) Image processing method and device
CN112986260A (en) Camera matrix-based detection system, control system, terminal, medium and application
US11127111B2 (en) Selective allocation of processing resources for processing image data
CN109584181A (en) It is a kind of improved based on Retinex infrared image detail enhancing method
CN106791282B (en) A kind of panorama scanning system video enhancement method and device
CN111371987B (en) Image processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant