CN104113744B - All-weather colorful video camera white balancing treatment method and device - Google Patents
All-weather colorful video camera white balancing treatment method and device Download PDFInfo
- Publication number
- CN104113744B CN104113744B CN201310136033.4A CN201310136033A CN104113744B CN 104113744 B CN104113744 B CN 104113744B CN 201310136033 A CN201310136033 A CN 201310136033A CN 104113744 B CN104113744 B CN 104113744B
- Authority
- CN
- China
- Prior art keywords
- image
- infrared
- ambient light
- processing
- light illumination
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000012545 processing Methods 0.000 claims abstract description 100
- 238000005286 illumination Methods 0.000 claims abstract description 96
- 238000012937 correction Methods 0.000 claims abstract description 54
- 238000013507 mapping Methods 0.000 claims abstract description 47
- 238000012549 training Methods 0.000 claims abstract description 29
- 230000003287 optical effect Effects 0.000 claims description 15
- 239000000463 material Substances 0.000 claims description 12
- 238000003384 imaging method Methods 0.000 claims description 8
- 238000004321 preservation Methods 0.000 claims description 3
- 238000005303 weighing Methods 0.000 claims description 2
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 230000033228 biological regulation Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000003595 spectral effect Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000010521 absorption reaction Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003760 hair shine Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 239000013077 target material Substances 0.000 description 1
Landscapes
- Color Television Image Signal Generators (AREA)
- Processing Of Color Television Signals (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of all-weather colorful video camera white balancing treatment method and device, methods described includes obtaining the mapping table between exposure parameter, brightness of image and the ambient light illumination of image by training;Pending image is obtained, and obtains the brightness of image of the currently pending image and the corresponding exposure parameter with this, current ambient light illumination information is obtained according to the exposure parameter, brightness of image and mapping table;Processing image, which is treated, according to current ambient light illumination information and the current infrared intensity information detected in real time carries out infrared influence processing;White balance correction is carried out on the processing image obtained through going infrared influence to handle.Using the present invention can avoid effectively correcting due to the influence by infrared light during AWB and caused by problem of dtmf distortion DTMF, while solve the low brightness problem according to situation so that it is low according to situation under remain to obtain the good coloured image of quality.
Description
Technical field
The present invention relates to technical field of image processing, at a kind of all-weather colorful video camera white balance
Manage method and device.
Background technology
Generally, the video camera apparatus such as DV and digital camera generally comprises:Optical lens, image sensing
Device, picture processing chip, image transmission module and image display.
It is well known that the object of same color can show different colors under the irradiation of different light sources, for example, grey
Object incandescent lamp irradiation under yellow can be presented, cold light source irradiation under cyan etc. can be presented.This is based on because human eye has
For the automatic regulation function of color under class environment, therefore under different light sources, human eye can reduce the essential color of object.
However, under such circumstances, the color and the result of eye-observation exported after optical lens and imaging sensor processing is then
It is variant, such as shown by a specific experiment, under daylight light irradiation, grey object passes through optical lens and imaging sensor
Obvious green is presented in the image exported after processing.Therefore, it is necessary to handle the color of the output image, make it in difference
Light source under the grey same or like with the result of eye-observation is presented, the main realization side for using white balance correction at present
Method.
Realize the method for white balance correction existing, can add between optical lens and imaging sensor one it is double
Filter IR_CUT.Specifically, among practical application, when the light intensity induction installation outside optical lens detects the strong of light
After weak change, IR-CUT automatic switchover optical filters, so that output image reaches optimum efficiency:When IR_CUT is switched to infrared absorption filter
During mating plate, infrared band is filtered out, final output image is shown as colored;When IR_CUT is switched to full impregnated spectral filter
When, final output image is black and white.
However, the imaging sensor generally actually used(Either CMOS(Complementary Metal Oxide
Semiconductor, complementary metal oxide semiconductor)Or CCD(Charge-coupled Device, Charged Couple member
Part))All visible light wave ranges and part infrared band can be sensed.When IR_CUT switches to full impregnated spectral filter
When, the red receiver of imaging sensor also obtains infrared band while red optical band is obtained, defeated so as to cause
Going out red optical band in image can be bigger than normal value, makes output image overall partially red, now using existing white balance algorithm then
These output images can not be corrected.When IR_CUT switches to infrared fileter, although can effective filtering infrared light
Wave band, but light-inletting quantity can be also reduced simultaneously, brightness of image is reduced, so as to cause exposure parameter in picture processing chip to improve, is entered
And noise is increased, particularly shone low in environment, the noise of image can sharply increase.
In addition, double filter IR_CUT also have the defects of following two larger when in use:
(1)When either normal switching or abnormal switching, because IR_CUT is required for mechanically toggling, passing through
After the mechanical wear of long period, it is easier to damage;
(2)Among practical application, the current handoff algorithms for IR_CUT are relatively less reliable, such as in switching
Thus Critical Light causes IR_CUT damage probability further to improve according to that can cause the switchings of IR_CUT back and forth under situation.
The content of the invention
Realize that the output image that the method for white balance correction occurs is partially red to solve the double filter IR_CUT of existing use
Cause to be difficult to carry out white balance correction and low according to the problem of causing the noise of output image to increase under environment, the embodiment of the present invention
Purpose is to provide a kind of all-weather colorful video camera white balancing treatment method and device, and a whole day not comprising IR_CUT
Colour TV camera is waited, it can effectively carry out white balance correction to output image, color is gorgeous, picture noise is smaller to obtain
Coloured image.
In order to reach the purpose of the embodiment of the present invention, the present invention is realized using following technical scheme:
A kind of all-weather colorful video camera white balancing treatment method, including:
Mapping table between exposure parameter, brightness of image and the ambient light illumination of image is obtained by training;
Pending image is obtained, and obtains the brightness of image of the currently pending image and the corresponding exposure with this
Parameter, current ambient light illumination information is obtained according to the exposure parameter, brightness of image and mapping table;
Processing image is treated according to current ambient light illumination information and the current infrared intensity information detected in real time
Carry out infrared influence processing;
White balance correction is carried out on the processing image obtained through going infrared influence to handle.
Preferably, closed by training with obtaining the mapping between the exposure parameter of image, brightness of image and ambient light illumination
The step of being table, includes:
Material obtaining image is irradiated with different light sources, while obtains the ambient light illumination information near optical lens, image
Exposure parameter information and acquisition image monochrome information;
The mapping table established accordingly between exposure parameter, brightness of image and the ambient light illumination of image and preservation.
Preferably, place is treated according to current ambient light illumination information and the current infrared intensity information detected in real time
Reason image, which carries out the step of infrared influence is handled, to be included:
Infrared waves is calculated according to current ambient light illumination information and the current infrared intensity information detected in real time
Ratio of the section in ambient light illumination;
Infrared influence processing is carried out on each channel data of pending image according to the ratio, to reject the shadow of infrared light
Ring.
Preferably, the step of carrying out white balance correction to the processing image obtained through going infrared influence to handle includes:
Piecemeal is carried out to processing image;
Color is picked out close to the image block of grey as candidate's ash block;
The color-values of the grey block of pending image are calculated according to candidate's ash block;
Color-values according to the grey block of pending image obtain correction parameter of white balance;
White balance school is carried out on the processing image obtained through going infrared influence to handle according to obtained correction parameter of white balance
Just.
A kind of all-weather colorful video camera white balance processing equipment, including:
First data acquisition unit, for gathering the image of different light source irradiation materials and obtaining the brightness of image of the image
Information;Obtain the ambient light illumination information current when shooting the image and the exposure parameter information of picture processing chip;
Training unit, for obtaining image luminance information and corresponding ambient light illumination from the first data acquisition unit
The exposure parameter information of information and picture processing chip, and training obtains exposure parameter, brightness of image and the ring of image accordingly
Mapping table between the illumination three of border;
Second data acquisition unit, for obtaining the pending image of monitor area in real time, and obtain the pending image
Image luminance information and current infrared intensity information, while also obtain current exposure parameter letter from picture processing chip
Breath;Remove infrared influence unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter with
And image luminance information, and inquire about the mapping table accordingly and obtain current ambient light illumination information;And according further to
Current ambient light illumination information and the infrared intensity information obtained from the second data acquisition unit are treated processing image and carried out
Infrared influence is gone to handle;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
Preferably, the training unit includes:
Processing unit, under the environment of different light sources irradiation material, training to obtain exposure parameter, the image of image
Mapping table between brightness and ambient light illumination three;
Storage unit, closed for the mapping between the exposure parameter of storage image, brightness of image and ambient light illumination three
It is table.
Preferably, it is described to go infrared influence unit to include:
Receiving unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter and
Image luminance information;And for obtaining current infrared intensity information;And it is further used for obtaining image from training unit
Exposure parameter, the mapping table between brightness of image and ambient light illumination three;
Infrared influence processing unit is rejected, for according to the exposure parameter and image corresponding with the pending image
Brightness inquires about the mapping table and obtains current ambient light illumination information, and according to current ambient light illumination information and works as
Preceding infrared intensity information treats processing image and carries out infrared influence processing.
Preferably, it is described to reject infrared influence processing unit according to current ambient light illumination information and current infrared light intensity
Degree information, which carries out the step of infrared influence is handled on pending image, to be included:
Infrared band is calculated in ambient light illumination according to current ambient light illumination information and current infrared intensity information
In ratio;
Infrared influence processing is carried out on each channel data of pending image according to the ratio, to reject the shadow of infrared light
Ring.
Preferably, the white balance correction unit includes:
Image block unit, for carrying out piecemeal to processing image;
Candidate's ash module unit is extracted, for picking out color close to the image block of grey as candidate's ash block;
Grey block determining unit, the color-values of the grey block for calculating pending image according to candidate's ash block;
Correction parameter of white balance determining unit, the color-values for the grey block according to pending image obtain white balance correction
Parameter;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
A kind of all-weather colorful video camera, including optical lens, imaging sensor, picture processing chip, image transmitting mould
Block and image display, it also includes all-weather colorful video camera white balance processing equipment as described above, described device bag
Include:
First data acquisition unit, for gathering the image of different light source irradiation materials and obtaining the brightness of image of the image
Information;Obtain the ambient light illumination information current when shooting the image and the exposure parameter information of picture processing chip;
Training unit, for obtaining image luminance information and corresponding ambient light illumination from the first data acquisition unit
The exposure parameter information of information and picture processing chip, and training obtains exposure parameter, brightness of image and the ring of image accordingly
Mapping table between the illumination three of border;
Second data acquisition unit, for obtaining the pending image of monitor area in real time, and obtain the pending image
Image luminance information and current infrared intensity information, while also obtain current exposure parameter letter from picture processing chip
Breath;Remove infrared influence unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter with
And image luminance information, and inquire about the mapping table accordingly and obtain current ambient light illumination information;And according further to
Current ambient light illumination information and the infrared intensity information obtained from the second data acquisition unit are treated processing image and carried out
Infrared influence is gone to handle;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
Using above-mentioned technical proposal provided in an embodiment of the present invention, its video camera can avoid during AWB by
In influenceed by infrared light and can not effectively correct and caused by problem of dtmf distortion DTMF, while solve the low brightness according to situation and ask
Topic so that remain to obtain the good coloured image of quality under low photograph situation, while do not influence also to put down in vain under the higher situation of illumination
Weigh correction work, and Consumer's Experience is preferable.
In addition, video camera provided in an embodiment of the present invention is due to no longer including this part of IR_CUT, relative to existing
For some employs IR_CUT video camera, to a certain extent while can obtain more excellent image quality, video camera is reduced
Holistic cost, simultaneously because being influenceed without being damaged by IR_CUT, improve the availability of video camera.
Brief description of the drawings
Fig. 1 is a kind of all-weather colorful video camera white balancing treatment method schematic flow sheet provided by the invention;
Fig. 2 is that a kind of all-weather colorful video camera white balancing treatment method flow that a specific embodiment of the invention provides is shown
It is intended to;
Fig. 3 is a kind of all-weather colorful video camera white balance processing equipment structural representation provided in an embodiment of the present invention.
The realization, functional characteristics and excellent effect of the object of the invention, below in conjunction with specific embodiment and accompanying drawing do into
The explanation of one step.
Embodiment
Technical scheme of the present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, so that this
The technical staff in field can be better understood from the present invention and can be practiced, but illustrated embodiment is not as the limit to the present invention
It is fixed.
The main thought of the embodiment of the present invention is:
The mapping relations between exposure parameter, brightness of image and the ambient light illumination of image are obtained by training first;
Then obtain pending image, exposure parameter and infrared luminous intensity, according to exposure parameter, image brightness of image with
And ambient light illumination is calculated in the mapping relations between ambient light illumination three;
Again according to ambient light illumination and the ratio of infrared light, rejecting infrared light to pending image influences, and generates no infrared light
The image of influence;
White balance correction finally is carried out on the image without infrared influence.
More specifically, as shown in figure 1, a kind of all-weather colorful video camera white balance processing provided in an embodiment of the present invention
Method, comprise the following steps:
S10, by training obtain the mapping table between exposure parameter, brightness of image and the ambient light illumination of image;
S20, pending image is obtained, and obtain the brightness of image of the currently pending image and corresponding with this
Exposure parameter, current ambient light illumination information is obtained according to the exposure parameter, brightness of image and mapping table;
S30, according to current ambient light illumination information and the current infrared intensity information detected in real time treat processing
Image carries out infrared influence processing;
S40, white balance correction is carried out on the processing image obtained through going infrared influence to handle.
When training is to obtain the mapping table between exposure parameter, brightness of image and ambient light illumination, clap each time
Real time environment illumination when taking the photograph target material can accurately be obtained by test equipments such as illumination photometers.
But among practical application, due to being influenceed by volume and cost(The measuring apparatus such as usual illumination photometer have
Larger volume and price costly, it is obviously outdated to be arranged in large number of video surveillance point), illumination
Meter etc. obviously can not use to the test equipment of accurate measurement current environment illumination, generally, can also be by using letter
Easy such as photo resistance measuring apparatus carrys out measuring environment illumination, but the data precision that such measuring apparatus is measured is relatively low,
So that in the one side of the embodiment of the present invention, by using the method for training, brightness of image, exposure parameter are preserved
Mapping relations between ambient light illumination simultaneously form mapping table, so as in follow-up image processing process by tabling look-up
Mode obtain current environment illuminance information, it is higher compared to being had using the measuring apparatus measuring environment illumination data such as photo resistance
The degree of accuracy.
Specifically, in the step S10, the exposure parameter of image, brightness of image and environment are obtained by training
The step of mapping table between illumination, includes:
S101, with different light source irradiate material obtaining image, at the same obtain the ambient light illumination information near optical lens,
The image luminance information of the image of exposure parameter information and acquisition when picture processing chip handles the picture;
Mapping table and preservation between S102, the exposure parameter for establishing image accordingly, brightness of image and ambient light illumination.
Specifically, one side according to embodiments of the present invention, in the step S30, according to current ambient light illumination
Information and infrared intensity information, which treat the step of processing image carries out infrared influence processing, to be included:
S301, according to current ambient light illumination information and infrared intensity information infrared band is calculated in ambient light illumination
In ratio;
S302, infrared influence processing is carried out on each channel data of pending image according to the ratio, it is infrared to reject
The influence of light.
Specifically, one side according to embodiments of the present invention, in the step S40, on through going infrared influence to handle
The step of obtained processing image progress white balance correction, includes:
S401, piecemeal is carried out to processing image;
S402, color is picked out close to the image block of grey as candidate's ash block;
S403, foundation candidate's ash block calculate the color-values of the grey block of pending image;
S404, the color-values according to the grey block of pending image obtain correction parameter of white balance;
The correction parameter of white balance that S405, foundation obtain is put down in vain on the processing image obtained through going infrared influence to handle
Weighing apparatus correction.
A specific embodiment of the invention realizes that step includes:
Step 1:Color image caused by gathering the light source irradiation material of varying strength, obtains the ring near optical lens
The brightness of border illumination and color image and exposure parameter, obtain between exposure parameter, brightness of image and ambient light illumination three
Mapping relations.
In embodiments of the present invention, light source can be that single light source can also be mixing light source, and the intensity of light source can be
Continuously adjustabe, illumination is typically required from 0.001lux to 50000lux, and specific implementation steps are as shown in Figure 2.
Exposure parameter mainly includes the gain of time for exposure, aperture size and image processor.
The brightness of image of image can carry out calculating acquisition according to the color image of acquisition, and the method for calculating is varied,
Such as following calculation formula can be used, it is assumed that the band strength of pending image three channel is respectively R, G, B, then image
Brightness is:
I=(R+G+B)/3。
Assuming that exposure parameter includes time for exposure T, aperture size F, the gain G ain of image processor, and when environment shines
Spend for L when, then train the mapping relations established between T, F, Gain, I and L, and this mapping relations are preserved into mapping relations
Table, it is corresponding among follow-up application, quickly to be found from the mapping table by T, F, Gain and I
L。
Step 2:Obtain the image influenceed without infrared light.
Color image (the R with infrared influence is obtained first1,G1,B1), while also obtain current exposure parameter T1,F1,
Gain1, pass through the infrared photosensitive infrared luminous intensity W of acquisition1.Due to eliminating IR_CUT in the embodiment of the present invention, i.e., do not have in device
Infrared fileter, the then image obtained can be influenceed by infrared light.Particularly shine in environment low, influenceed more by infrared light
Greatly, therefore in order to obtain color image beautiful, that noise is low, then need to remove the influence of infrared light.The bright of image is calculated
Spend I1, can be calculated according to the method for the calculating brightness of image described in step 1;According to T1,F1,Gain1,I1Inquiry T, F,
Mapping table between Gain, I and L obtains current ambient light illumination L1;And further calculate infrared band and shone in environment
Ratio cc=W in degree1/L1, then to the influence of each channel data rejecting infrared light.According to a preferred embodiment of the present invention, reject
Infrared light influence method be:
Assuming that really belong to the R ' of red band1, then in the presence of following equation:
W1=αI1=α(R1+G1+B1)/3;
Infrared luminous intensity and real red band constitute the red band of pending image, i.e.,:
W1+R′1=R1;
Then R1-R′1=α(R1+G1+B1)/3, further obtain really belonging to the pixel value of red band:
R′1=R1-α(R1+G1+B1)/3;
In order to keep the brightness of image constant, it is necessary to be multiplied by a coefficient to each component of triple channel, coefficient has following meter
Calculate:
β=((R1+G1+B1)/3)/((R′1+G1+B1)/3);
Further obtain:
β=((R1+G1+B1))/((R1+G1+B1-α(R1+G1+B1)/3))=3(3-α);
Finally obtain new image (R "1,G″1,B″1):
B″1=βB1=3B1/(3-α),
G″1=βG1=3G1/(3-α),
R″1=βR1=3/(3-α)(R1-α(R1+G1+B1)/3)=R1-α/(3-α)(G1+B1)。
Step 3:It is determined that candidate's ash block without infrared influence image.
The equal rectangular block of limited individual size shape will be divided into without infrared influence image first, then in all rectangular blocks
In pick out color close to grey as candidate's ash block.Among practical application, the decision method of color close to grey block include but
It is not limited to realize using following several method:
(1) color-values for assuming the triple channel of rectangular block are R, G, B, are converted it into YCbCr colour systems, are met
The rectangular block of following condition is grey block:
| Cb | < Cbmin, | Cr | < Crmin,Ymin< Y < Ymax。
(2) color-values for assuming the triple channel of rectangular block are R, G, B, and the rectangular block for meeting following condition is grey block:
(R+ ε)/(G+) < T1, (G+ ε)/(B+ ε) < T2, (B+ ε)/(R+ ε) < T3;
Wherein, ε is minimum in above formula, T1,T2,T3For the threshold value more than 1.
Step 4:The color character of pending image ash block is determined according to candidate's ash block.
Assuming that candidate's ash block of extraction has N number of, the RGB averages value of i-th of grey block is Ri,Gi,Bi, last required grey block
Rgb value be respectively R, G, B.Among practical application, R is calculated, G, B method include but is not limited to following several method:
Method one:Calculated using average weighted mode:,,。
Method two:To R1,…,RNArranged to obtain according to order from small to large, when N is even number, when N is odd number;G is handled in the same way1,…,GN,B1,…,BNObtain G
And B.
Method three:Calculated using following calculation formula:,,。
Step 205:Determine correction parameter of white balance and carry out bag balance correction.
After R, G, B for determining pending image ash block, actually(R、G、B)Characterize be light source characteristic, Ke Yiyi
Change correction parameter of white balance corresponding to light source according to its calculating, be respectively:RGain, GGain and BGain, and utilization RGain,
GGain and BGain carries out white balance correction to pending image.RGain, GGain and BGain determine according to formula below;
RGain=R/MinRGB,GGain=G/MinRGB,BGain=B/MinRGB,
Wherein, MinRGB is represented(R、G、B)In minimum value.RGain, GGain and BGain can adjust each in image
The color-values of pixel, specific adjusting method be according to RGain parameter regulation R components, according to GGain parameter regulation G components,
According to BGain parameter regulation B components, distortionless correction chart picture is obtained, if some pixel before correction is(R1, g1, b1)
The pixel is r2=r1*RGain, g2=g1*GGain, b2=b1*BGain after then correcting.
So far, white balance correction processing terminates.
As shown in figure 3, the embodiment of the present invention additionally provides a kind of all-weather colorful video camera white balance processing equipment, bag
Include:
First data acquisition unit, for gathering the image of different light source irradiation materials and obtaining the brightness of image of the image
Information;Obtain the ambient light illumination information current when shooting the image and the exposure parameter information of picture processing chip;
Training unit, for obtaining image luminance information and corresponding ambient light illumination from the first data acquisition unit
The exposure parameter information of information and picture processing chip, and training obtains exposure parameter, brightness of image and the ring of image accordingly
Mapping table between the illumination three of border;
Second data acquisition unit, for obtaining the pending image of monitor area in real time, and obtain the pending image
Image luminance information and current infrared intensity information, while also obtain current exposure parameter letter from picture processing chip
Breath;Remove infrared influence unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter with
And image luminance information, and inquire about the mapping table accordingly and obtain current ambient light illumination information;And according further to
Current ambient light illumination information and the infrared intensity information obtained from the second data acquisition unit are treated processing image and carried out
Infrared influence is gone to handle;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
Preferably, the training unit includes:
Processing unit, under the environment of different light sources irradiation material, training to obtain exposure parameter, the image of image
Mapping table between brightness and ambient light illumination three;
Storage unit, closed for the mapping between the exposure parameter of storage image, brightness of image and ambient light illumination three
It is table.
Preferably, it is described to go infrared influence unit to include:
Receiving unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter and
Image luminance information;And for obtaining current infrared intensity information;And it is further used for obtaining image from training unit
Exposure parameter, the mapping table between brightness of image and ambient light illumination three;
Infrared influence processing unit is rejected, for according to the exposure parameter and image corresponding with the pending image
Brightness inquires about the mapping table and obtains current ambient light illumination information, and according to current ambient light illumination information and works as
Preceding infrared intensity information treats processing image and carries out infrared influence processing.
Preferably, it is described to reject infrared influence processing unit according to current ambient light illumination information and infrared luminous intensity letter
Ceasing the step of infrared influence processing is carried out on pending image includes:
Infrared band is calculated in ambient light illumination according to current ambient light illumination information and infrared intensity information
Ratio;
Infrared influence processing is carried out on each channel data of pending image according to the ratio, to reject the shadow of infrared light
Ring.
Preferably, the white balance correction unit includes:
Image block unit, for carrying out piecemeal to processing image, the processing image without infrared influence is divided into limited
Size shape identical rectangular block;
Candidate's ash module unit is extracted, for picking out color close to the image block of grey as candidate's ash block;
Grey block determining unit, the color-values of the grey block for calculating pending image according to candidate's ash block;According to candidate
The color-values of grey block determine the color-values without infrared influence image ash block
Correction parameter of white balance determining unit, the color-values for the grey block according to pending image obtain white balance correction
Parameter;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
Correspondingly, with continued reference to Fig. 3, the embodiment of the present invention additionally provides a kind of all-weather colorful video camera, including optics
Camera lens, imaging sensor, picture processing chip, image transmission module and image display, it also includes as described above complete
Weather colour TV camera white balance processing equipment, described device include:
First data acquisition unit, for gathering the image of different light source irradiation materials and obtaining the brightness of image of the image
Information;Obtain the ambient light illumination information current when shooting the image and the exposure parameter information of picture processing chip;
Training unit, for obtaining image luminance information and corresponding ambient light illumination from the first data acquisition unit
The exposure parameter information of information and picture processing chip, and training obtains exposure parameter, brightness of image and the ring of image accordingly
Mapping table between the illumination three of border;
Second data acquisition unit, for obtaining the pending image of monitor area in real time, and obtain the pending image
Image luminance information and current infrared intensity information, while also obtain current exposure parameter letter from picture processing chip
Breath;Remove infrared influence unit, for from the second data acquisition unit obtain corresponding with currently pending image exposure parameter with
And image luminance information, and inquire about the mapping table accordingly and obtain current ambient light illumination information;And according further to
Current ambient light illumination information and the infrared intensity information obtained from the second data acquisition unit are treated processing image and carried out
Infrared influence is gone to handle;
White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
For above-mentioned all-weather colorful video camera white balance processing equipment detailed description may be referred to it is described above, this
In do not do repetition to this and carefully state.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, every utilization
The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, be included within the scope of the present invention.
Claims (8)
- A kind of 1. all-weather infrared colour TV camera white balancing treatment method, it is characterised in that including:Mapping table between exposure parameter, brightness of image and the ambient light illumination of image is obtained by training;Pending image is obtained, and obtains the exposure parameter and brightness of image of the currently pending image, according to the acquisition Exposure parameter, brightness of image and the mapping table obtain current ambient light illumination information and infrared luminous intensity letter Breath;Processing image, which is treated, according to current ambient light illumination information and infrared intensity information carries out infrared influence processing;White balance correction is carried out on the processing image obtained through going infrared influence to handle;Wherein, the current ambient light illumination information of the foundation and infrared intensity information treat processing image and carry out infrared shadow The step of ringing processing includes:Ratio of the infrared band in ambient light illumination is calculated according to current ambient light illumination information and infrared intensity information;Infrared influence processing is carried out on the red channel data of pending image according to the ratio, to reject the shadow of infrared light Ring.
- 2. all-weather infrared colour TV camera white balancing treatment method as claimed in claim 1, it is characterised in that pass through training To include the step of obtaining the mapping table between the exposure parameter of image, brightness of image and ambient light illumination:Material obtaining image is irradiated with different light sources, while obtains the exposure of the ambient light illumination information, image near optical lens The image luminance information of optical parameter information and the image of acquisition;The mapping table established accordingly between exposure parameter, brightness of image and the ambient light illumination of image and preservation.
- 3. all-weather infrared colour TV camera white balancing treatment method as claimed in claim 1, it is characterised in that to red through going The step of processing image progress white balance correction that outer influence handles to obtain, includes:Piecemeal is carried out to processing image;Color is picked out close to the image block of grey as candidate's ash block;The color-values of the grey block of pending image are calculated according to candidate's ash block;Color-values according to the grey block of pending image obtain correction parameter of white balance;White balance correction is carried out on the processing image obtained through going infrared influence to handle according to obtained correction parameter of white balance.
- A kind of 4. all-weather infrared colour TV camera white balance processing equipment, it is characterised in that including:Data acquisition unit, for gathering image, ambient light illumination corresponding with each sub-picture letter of different light source irradiation materials The exposure parameter information of breath and image;Training unit, the mapping pass between exposure parameter, brightness of image and the ambient light illumination three of image is obtained for training It is table;Infrared influence unit is removed, for obtaining pending image from data acquisition unit, and is joined according to the exposure of pending image Number, brightness of image and the mapping table obtain current ambient light illumination information and infrared intensity information;And enter One step treats processing image according to current ambient light illumination information and infrared intensity information and carries out infrared influence processing;White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle;Wherein, it is described to go infrared influence unit to treat processing figure according to current ambient light illumination information and infrared intensity information As including the step of carrying out infrared influence processing:Ratio of the infrared band in ambient light illumination is calculated according to current ambient light illumination information and infrared intensity information;Infrared influence processing is carried out on the red channel data of pending image according to the ratio, to reject the shadow of infrared light Ring.
- 5. all-weather infrared colour TV camera white balance processing equipment as claimed in claim 4, it is characterised in that the training Unit includes:Processing unit, under the environment of different light sources irradiation material, training to obtain exposure parameter, the brightness of image of image And the mapping table between ambient light illumination three;Storage unit, for the mapping table between the exposure parameter of storage image, brightness of image and ambient light illumination three.
- 6. all-weather infrared colour TV camera white balance processing equipment as claimed in claim 4, it is characterised in that it is described go it is red Outer influence unit includes:Receiving unit, for obtaining pending image from data acquisition unit, and obtain the exposure parameter of pending image, image Brightness;And the mapping relations between the exposure parameter from training unit acquisition image, brightness of image and ambient light illumination three Table;Infrared influence processing unit is rejected, for being closed according to the exposure parameter of pending image, brightness of image and the mapping It is that table obtains current ambient light illumination information and infrared intensity information, and according to current ambient light illumination information and red Outer intensity information carries out infrared influence processing on pending image.
- 7. all-weather infrared colour TV camera white balance processing equipment as claimed in claim 4, it is characterised in that described white flat Weighing apparatus correction unit includes:Image block unit, for carrying out piecemeal to processing image;Candidate's ash module unit is extracted, for picking out color close to the image block of grey as candidate's ash block;Grey block determining unit, the color-values of the grey block for calculating pending image according to candidate's ash block;Correction parameter of white balance determining unit, the color-values for the grey block according to pending image obtain white balance correction ginseng Number;White balance correction unit, for carrying out white balance correction to the processing image obtained through going infrared influence to handle.
- 8. a kind of all-weather infrared colour TV camera, including optical lens, imaging sensor, picture processing chip, image transmitting Module and image display, it is characterised in that also include the all-weather infrared as described in claim 4-7 any claims Colour TV camera white balance processing equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310136033.4A CN104113744B (en) | 2013-04-18 | 2013-04-18 | All-weather colorful video camera white balancing treatment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310136033.4A CN104113744B (en) | 2013-04-18 | 2013-04-18 | All-weather colorful video camera white balancing treatment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104113744A CN104113744A (en) | 2014-10-22 |
CN104113744B true CN104113744B (en) | 2018-01-19 |
Family
ID=51710363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310136033.4A Expired - Fee Related CN104113744B (en) | 2013-04-18 | 2013-04-18 | All-weather colorful video camera white balancing treatment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104113744B (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016041144A1 (en) * | 2014-09-16 | 2016-03-24 | 华为技术有限公司 | Image processing method and device |
CN104776351B (en) * | 2015-03-24 | 2017-07-28 | 苏州佳世达电通有限公司 | The optical source correcting method of display device and display device |
CN105530437A (en) * | 2016-01-29 | 2016-04-27 | 生迪智慧科技有限公司 | Environment brightness measurement and calculation method and shooting device |
CN106250868A (en) * | 2016-08-15 | 2016-12-21 | 致生联发信息技术股份有限公司 | A kind of slip electricity getting device form video monitoring system |
CN106454081B (en) * | 2016-09-29 | 2019-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Photographic method and device |
CN108024106B (en) * | 2016-11-04 | 2019-08-23 | 上海富瀚微电子股份有限公司 | Support the color correction device and method of RGBIR and RGBW format |
CN109151426B (en) | 2017-06-28 | 2020-05-22 | 杭州海康威视数字技术股份有限公司 | White balance adjusting method and device, camera and medium |
CN108600725B (en) * | 2018-05-10 | 2024-03-19 | 浙江芯劢微电子股份有限公司 | White balance correction device and method based on RGB-IR image data |
CN112243117B (en) * | 2019-07-17 | 2022-09-16 | 杭州海康威视数字技术股份有限公司 | Image processing apparatus, method and camera |
CN110704264B (en) * | 2019-09-30 | 2024-02-09 | 歌尔光学科技有限公司 | Black field brightness comparison table generation method and device, projector and storage medium |
CN110769164B (en) | 2019-11-21 | 2020-09-18 | 天津九安医疗电子股份有限公司 | Method for automatically adjusting illumination level of target scene |
CN111083385B (en) * | 2019-12-10 | 2021-04-02 | 珠海亿智电子科技有限公司 | Binocular or multi-view camera exposure method, system and storage medium |
WO2022198396A1 (en) * | 2021-03-22 | 2022-09-29 | 深圳市大疆创新科技有限公司 | Exposure control method and apparatus |
CN113556477B (en) * | 2021-09-23 | 2021-12-14 | 南昌龙旗信息技术有限公司 | Ambient brightness determination method and device, medium and camera |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612616A (en) * | 2003-10-27 | 2005-05-04 | 索尼公司 | Image pickup device and method |
CN101060592A (en) * | 2006-04-19 | 2007-10-24 | 中国科学院自动化研究所 | Same vision field multi-spectral video stream acquiring device and method |
CN101309428A (en) * | 2007-05-18 | 2008-11-19 | 索尼株式会社 | Image input processing device and method |
CN101309360A (en) * | 2007-05-17 | 2008-11-19 | 索尼株式会社 | Video input processor, imaging signal processing circuit and method for reducing noise |
CN102484722A (en) * | 2010-05-12 | 2012-05-30 | 松下电器产业株式会社 | Image capturing device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7804525B2 (en) * | 2006-08-24 | 2010-09-28 | Micron Technology, Inc. | Method, apparatus, and system for selecting pixels for automatic white balance processing |
-
2013
- 2013-04-18 CN CN201310136033.4A patent/CN104113744B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1612616A (en) * | 2003-10-27 | 2005-05-04 | 索尼公司 | Image pickup device and method |
CN101060592A (en) * | 2006-04-19 | 2007-10-24 | 中国科学院自动化研究所 | Same vision field multi-spectral video stream acquiring device and method |
CN101309360A (en) * | 2007-05-17 | 2008-11-19 | 索尼株式会社 | Video input processor, imaging signal processing circuit and method for reducing noise |
CN101309428A (en) * | 2007-05-18 | 2008-11-19 | 索尼株式会社 | Image input processing device and method |
CN102484722A (en) * | 2010-05-12 | 2012-05-30 | 松下电器产业株式会社 | Image capturing device |
Also Published As
Publication number | Publication date |
---|---|
CN104113744A (en) | 2014-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104113744B (en) | All-weather colorful video camera white balancing treatment method and device | |
CN104113743B (en) | Colour TV camera AWB processing method and processing device under low-light (level) | |
CN104661008B (en) | The treating method and apparatus that color image quality is lifted under low light conditions | |
CN109151426B (en) | White balance adjusting method and device, camera and medium | |
CN108024055B (en) | Method, apparatus, mobile terminal and the storage medium of white balance processing | |
CN1994000B (en) | Automatic white balance method and apparatus | |
CN104144353B (en) | Multizone environment light regime control method based on smart television | |
CN101282489A (en) | Light source detection apparatus and method as well as image processing method | |
CN101529889A (en) | Automatic white balance statistics collection | |
KR20130140879A (en) | Method for controlling light-emitting device in terminal equipment, apparatus thereof and terminal equipment | |
CN103227928B (en) | White balance adjusting method and device | |
CN102858072B (en) | Lighting control method and system | |
CN104954772B (en) | An Image Near Gray Pixel Selection Algorithm Applied to Automatic White Balance Algorithm | |
US11457189B2 (en) | Device for and method of correcting white balance of image | |
CN108174172A (en) | Image pickup method and device, computer readable storage medium and computer equipment | |
WO2021184362A1 (en) | Photographing device | |
CN104994361A (en) | Color imaging system for collecting standard color information of object and using method thereof | |
CN102164290A (en) | Method and device for automatically compensating white balance dark area | |
KR102170692B1 (en) | Apparatus and method for interpolating white balance | |
CN109672828A (en) | Low-light (level) lifting device and low-light (level) method for improving based on optical path white balance | |
CN204859430U (en) | Gather colored imaging system of object standard colour information | |
WO2015149711A1 (en) | Infrared control device and method, and camera | |
US20200228769A1 (en) | Lens rolloff assisted auto white balance | |
US20130266220A1 (en) | Color signal processing circuit, color signal processing method, color reproduction evaluating method, imaging apparatus, electronic apparatus and testing device | |
CN100584036C (en) | Image compensating device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180119 |