CN106791282A - 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
CN106791282A
CN106791282A CN201611007528.7A CN201611007528A CN106791282A CN 106791282 A CN106791282 A CN 106791282A CN 201611007528 A CN201611007528 A CN 201611007528A CN 106791282 A CN106791282 A CN 106791282A
Authority
CN
China
Prior art keywords
panorama
gray level
mapping table
pixel
grey scale
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.)
Granted
Application number
CN201611007528.7A
Other languages
Chinese (zh)
Other versions
CN106791282B (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 device.The method is comprised the following steps:The pixel grayscale of all video datas that the panorama scanning system is produced in the N weeks scanning process is counted, benchmark is divided by pixel of gray level, ask for pixels probability density;The corresponding relation of pixel grayscale and pixels probability density is set up, grey scale mapping table is obtained;The corresponding pixels probability density of the N+1 weeks pixel grayscale of all video datas is obtained according to the grey scale mapping table, panorama panorama picture is obtained.Technical scheme, panorama histogram information is obtained using all-round data statistical approach, carries out equalization processing to panoramic picture on this basis, and the Panoramic Mosaicing border issue brought after conventional histogram treatment is solved well.

Description

A kind of panorama scanning system video enhancement method and device
Technical field
The present invention relates to photoelectric imaging technology field, more particularly to a kind of panorama scanning system video enhancement method and dress Put.
Background technology
Panorama scanning system can be realized to 360 ° of pan-shots and export continuous videos, it is desirable to can in real time to aphorama Frequency carries out histogram treatment, and then reaches enhancing display effect, eliminates the purpose on interframe border.
, compared to traditional camera system, output video is in units of week for panorama scanning system.Capture apparatus are installed on turntable On, rotation is not stopped in orientation, and in constant bearing angle trigger exposure, it is a cycle to be rotated by 360 °, captured video Image reaches the aobvious control computer in rear end by data transmission system, all-round image can be carried out picture mosaic treatment in a computer, So as to obtain 360 ° of panorama panorama pictures.
Conventional histogram treatment counts full frame pixel in units of frame, and pixel grey scale is reflected again on this basis Penetrate, reach enhancing purpose.Conventional histogram processing method and do not applied in week sweeps system, the problem mainly brought is, all-round Dynamic range of images is larger, and each frame statistics difference is obvious in week, and the difference in brightness after histogram treatment is larger, intuitively It is experienced as the border after Panoramic Mosaicing substantially, display effect is undesirable.In order to be able to reach preferable display effect, it is necessary to tradition Histogram processing methods are improved.
The content of the invention
In order to solve, panorama scanning system Panoramic Mosaicing back boundary in the prior art is obvious, display effect is undesirable asks Topic, the invention provides a kind of panorama scanning system video enhancement method and device.
The panorama scanning system video enhancement method that the present invention is provided, comprises the following steps:
The pixel grayscale of all video datas that the panorama scanning system is produced in the N weeks scanning process is counted, Benchmark is divided by pixel of gray level, pixels probability density is asked for;
The corresponding relation of pixel grayscale and pixels probability density is set up, grey scale mapping table is obtained;
The corresponding pixels probability of the N+1 weeks pixel grayscale of all video datas is obtained according to the grey scale mapping table close Degree, obtains panorama panorama picture.
Reflected present invention also offers a kind of panorama scanning system video enhancement device, including statistics and computing module, gray scale Firing table generation module and panorama histogram stretching module:
The statistics and computing module, for counting the institute that the panorama scanning system is produced in the N weeks scanning process There is the pixel grayscale of video data, benchmark is divided by pixel of gray level, ask for pixels probability density;
The grey scale mapping table generation module, the corresponding relation for setting up pixel grayscale and pixels probability density, obtains 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 picture.
The present invention has the beneficial effect that:
The embodiment of the present invention obtains panorama histogram information using all-round data statistical approach, on this basis to panorama sketch As carrying out equalization processing, the Panoramic Mosaicing border issue brought after conventional histogram treatment is solved well.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
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 representation of the panorama scanning system video enhancement device of the embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys 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 asks Topic, the invention provides a kind of panorama scanning system video enhancement method and device, below in conjunction with accompanying 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.
Embodiments in accordance with the present invention, there is provided 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 embodiments of the present invention Video enhancement method includes following treatment:
Step 101, counts the pixel of all video datas that the panorama scanning system is produced in the N weeks scanning process Gray level, benchmark is divided by pixel of gray level, asks for pixels probability density;
Step 102, sets up the corresponding relation of pixel grayscale and pixels probability density, obtains grey scale mapping table;
Step 103, the corresponding picture of the N+1 weeks pixel grayscale of all video datas is obtained according to the grey scale mapping table Plain probability density, obtains panorama panorama picture.
The N is variable, and specific N is the positive integer more than or equal to 1.
Specifically, step 101 is comprised the following steps:
Determine the N weeks gray level of ith pixel, the gray level is sent to RAM, wherein RAM is receiving the ash During degree level, the history occurrence number by the gray level within this week adds 1, makes i=i+1, repeats the process, all until having traveled through Pixel, transfers this weekly data stored in the RAM, obtains panorama histogram;
Statistics of each gray level within this week in the panorama histogram is taken out successively, is calculated often according to formula 1 The pixels probability density P of individual gray levelr(r), until in the panorama histogram each gray level to obtain corresponding pixel general Rate density;
Specifically, further comprising the steps of after step 102:
The abnormal pixel in the grey scale mapping table is rejected, is modified with to the grey scale mapping table.
More specific, the abnormal pixel in the grey scale mapping table is rejected, it is modified with to the grey scale mapping table Concrete operations be:
The mapping gray level of the gray level below default minimum gray level thresholding is set in the grey scale mapping table 0, the mapping gray level of gray level more than default highest gray level thresholding is set to 255, obtain revised grey scale mapping Table.
Specifically, step 103 is comprised the following steps:
Each the N+1 weeks video data input after, with pixel grayscale as allocation index grey scale mapping table in picture Plain probability density, panorama panorama picture is obtained according to the N+1 weeks pixels probability density of all video datas.
The embodiment of the present invention is discarded tradition histogram enhancement method, and real-time processing is carried out to panoramic picture in units of week, Realize and sweep video source modeling function in system week, substantially increase the effect of visualization of image, the border solved in picture mosaic is asked Topic.At the same time, new statistics with histogram method also gives up part abnormal pixel, weakens the equalization that abnormal pixel brings Problem-Error.
Embodiments in accordance with the present invention, there is provided a kind of panorama scanning system video enhancement device, Fig. 2 is implementation of the present invention The structural representation of the panorama scanning system video enhancement device of example, as shown in Fig. 2 panorama scanning according to embodiments of the present invention System video intensifier includes:Statistics and computing module 20, grey scale mapping table generation module 22 and panorama histogram stretching die Block 24, below the modules to the embodiment of the present invention be described in detail.
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 for producing, benchmark is divided by pixel of gray level, asks for pixels probability density.
Specifically, the statistics and computing module 20 include panoramic video statistic unit and computing unit:
The panoramic video statistic unit, for determining the N weeks gray level of ith pixel, the gray level is sent To RAM, when the gray level is received, the history occurrence number by the gray level within this week adds 1 to wherein RAM, makes i=i+1, The process is repeated, until having traveled through all pixels, this weekly data stored in the RAM is transferred, panorama histogram is obtained;
The computing unit, for taking out statistical number of each gray level within this week in the panorama histogram successively According to according to the pixels probability density P of each gray level of the calculating of 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 RAMs, in the application RAM depth sizes are distinguishing with conventional histogram statistics.RAM depth is all pixels gray level, for example, for 16bit Infrared image, it is necessary to RAM depth be 216=64K.Because being panoramic video, RAM bit is wide also accordingly to be increased, 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 is multiplied by 160 and obtains the possible maximum statistic of each pixel, thus calculates Obtain a width of 25bit of RAM bit.
After the completion of panoramic video last pixel input, the work of panoramic video statistic unit is completed, and is then started and is calculated Unit.
Specifically, the grey scale mapping table generation module, corresponding with pixels probability density for setting up pixel grayscale Relation, 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 picture.
Specifically, panorama histogram stretching module 24, after the input of each the N+1 weeks video data, with pixel grey scale Level was the pixels probability density in allocation index grey scale mapping table, according to the N+1 weeks pixels probability density of all video datas Obtain panorama panorama picture.
Panorama scanning system video histogram enhancement device of the present invention also includes correcting module, is reflected for rejecting the gray scale Abnormal pixel in firing table, is modified with to the grey scale mapping table.
Specifically, the correcting module, in the grey scale mapping table by below default minimum gray level thresholding The mapping gray level of gray level be set to 0, the mapping gray level of gray level more than default highest gray level thresholding is set to 255, obtain revised grey scale mapping table.Thus the purpose for giving up abnormal pixel is reached, weaken that abnormal pixel brings is equal Weighing apparatusization Problem-Error.Generally, minimum gray scale improves 100 gray levels, and following grey scale mapping is set to 0, highest herein Gray scale reduces by 100 gray levels, and grey scale mapping above is set to 255 herein.
Each module real-time update in panorama scanning system video histogram enhancement device of the present invention, is often rotated by 360 ° renewal 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, based on certain land and sea border defense Platform, invents a kind of panorama scan video histogram enhancement method.Global Nogata is carried out using panorama panoramic video statistics Figure treatment, realizes strengthening panorama panoramic video real time histogram, improves video-see quality, efficiently solves panorama sketch As the border issue that picture mosaic brings.And in view of hardware problem of implementation, module takes into full account PFGA treatment, optimization processing flowing water Structure, reduces unnecessary extra delay, it is ensured that system real time as far as possible.
Embodiments of the invention are the foregoing is only, is not intended to limit the invention, for those skilled in the art For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made, Equivalent, improvement etc., should be included within scope of the presently claimed invention.

Claims (10)

1. a kind of panorama scanning system video enhancement method, it is characterised in that comprise the following steps:
The pixel grayscale of all video datas that the panorama scanning system is produced in the N weeks scanning process is counted, with ash Degree level is that pixel divides benchmark, asks for pixels probability density;
The corresponding relation of pixel grayscale and pixels probability density is set up, grey scale mapping table is obtained;
The corresponding pixels probability density of the N+1 weeks pixel grayscale of all video datas is obtained according to the grey scale mapping table, Obtain panorama panorama picture.
2. panorama scanning system video histogram enhancement method as claimed in claim 1, it is characterised in that described to set up pixel Gray level and the corresponding relation of pixels probability density, obtain also including after grey scale mapping table:
The abnormal pixel in the grey scale mapping table is rejected, is modified with to the grey scale mapping table.
3. panorama scanning system video histogram enhancement method as claimed in claim 3, it is characterised in that reject the gray scale Abnormal pixel in mapping table, following steps are specifically included to be modified to the grey scale mapping table:
The mapping gray level of the gray level below default minimum gray level thresholding is set to 0 in the grey scale mapping table, will The mapping gray level of gray level more than default highest gray level thresholding is set to 255, obtains revised grey scale mapping table.
4. panorama scanning system video histogram enhancement method as claimed in claim 1, it is characterised in that the statistics panorama The pixel grayscale of all video datas that scanning system is produced during being scanned at the N weeks, with pixel grayscale as pixel Benchmark is divided, pixels probability density is asked for and is specifically included following steps:
Determine the N weeks gray level of ith pixel, the gray level is sent to RAM, wherein RAM is receiving the gray level When, the history occurrence number by the gray level within this week adds 1, makes i=i+1, the process is repeated, until having traveled through all pictures Element, transfers this weekly data stored in the RAM, obtains panorama histogram;
Statistics of each gray level within this week in the panorama histogram is taken out successively, and each ash is calculated according to formula 1 Spend the pixels probability density P of levelr(r), until in the panorama histogram each gray level to obtain corresponding pixels probability close Degree;
5. panorama scanning system video histogram enhancement method as claimed in claim 1 or 2, it is characterised in that according to described Grey scale mapping table obtains the corresponding pixels probability density of the N+1 weeks pixel grayscale of all video datas, obtains panorama panorama Image specifically includes following steps:
Each the N+1 weeks video data input after, with pixel grayscale as allocation index grey scale mapping table in pixel it is general Rate density, panorama panorama picture is obtained according to the N+1 weeks pixels probability density of all video datas.
6. a kind of panorama scanning system video enhancement device, it is characterised in that given birth to including statistics and computing module, grey scale mapping table Into module and panorama histogram stretching module:
The statistics and computing module, all regard for count that the panorama scanning system produces in the N weeks scanning process The pixel grayscale of frequency evidence, benchmark is divided by pixel of gray level, asks for pixels probability density;
The grey scale mapping table generation module, the corresponding relation for setting up pixel grayscale and pixels probability density, obtains ash Degree mapping table;
The panorama histogram stretching module, for obtaining the N+1 weeks picture of all video datas according to the grey scale mapping table The corresponding pixels probability density of plain gray level, obtains panorama panorama picture.
7. panorama scanning system video histogram enhancement device as claimed in claim 6, it is characterised in that also including amendment mould Block, for rejecting the abnormal pixel in the grey scale mapping table, is modified with to the grey scale mapping table.
8. panorama scanning system video histogram enhancement device as claimed in claim 7, it is characterised in that the correcting module Specifically for:
The mapping gray level of the gray level below default minimum gray level thresholding is set to 0 in the grey scale mapping table, will The mapping gray level of gray level more than default highest gray level thresholding is set to 255, obtains revised grey scale mapping table.
9. panorama scanning system video histogram enhancement device as claimed in claims 6 or 7, it is characterised in that the statistics Include panoramic video statistic unit and computing unit with computing module:
The panoramic video statistic unit, for determine the N weeks gray level of ith pixel, by the gray level send to , when the gray level is received, the history occurrence number by the gray level within this week adds 1, makes i=i+1 for RAM, wherein RAM, weight The multiple process, until having traveled through all pixels, transfers this weekly data stored in the RAM, obtains panorama histogram;
The computing unit, for taking out statistics of each gray level within this week in the panorama histogram successively, presses The pixels probability density P of each gray level is calculated according to formula 2r(r), until each gray level is obtained in the panorama histogram Corresponding pixels probability density;
10. panorama scanning system video histogram enhancement device as claimed in claims 6 or 7, it is characterised in that the panorama Histogram stretching module specifically for:
Each the N+1 weeks video data input after, with pixel grayscale as allocation index grey scale mapping table in pixel it is general Rate density, panorama panorama picture is obtained according to the N+1 weeks pixels probability density of all video datas.
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 true CN106791282A (en) 2017-05-31
CN106791282B 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
CN106791282B (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN111028189A (en) Image processing method, image processing device, storage medium and electronic equipment
CN1842133A (en) Imaging apparatus
CN110163807B (en) Low-illumination image enhancement method based on expected bright channel
CN101047867A (en) Method for correcting multi-viewpoint vedio color
US20230069014A1 (en) Method and apparatus for generating low bit width hdr image, storage medium, and terminal
WO2019056549A1 (en) Image enhancement method, and image processing device
CN104504662A (en) Homomorphic filtering based image processing method and system
CN106529543A (en) Method and system for dynamically calculating multi-color-grade binary adaptive threshold
CN111986106A (en) High dynamic image reconstruction method based on neural network
CN107437239A (en) A kind of image enchancing method and device
CN112804464A (en) HDR image generation method and device, electronic equipment and readable storage medium
CN1305317C (en) Image brightness correcting method of video monitoring system
Kinoshita et al. Convolutional neural networks considering local and global features for image enhancement
CN109584181A (en) It is a kind of improved based on Retinex infrared image detail enhancing method
WO2020168515A1 (en) Image processing method and apparatus, image capture processing system, and carrier
WO2022217470A1 (en) Hair rendering system based on deep neural network
CN111797694B (en) License plate detection method and device
Xiong et al. Hierarchical fusion for practical ghost-free high dynamic range imaging
CN113628259A (en) Image registration processing method and device
CN106791282A (en) A kind of panorama scanning system video enhancement method and device
CN1929625A (en) Image quality evaluating method and system
CN108875733A (en) A kind of infrared small target quick extraction system
CN110807483B (en) FPGA-based template matching implementation device and method
CN113269843A (en) Digital radiographic image reconstruction algorithm based on basic dense connecting block
CN112364200A (en) Brain-like imaging method, device, equipment and 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