CN104113744A - All-weather colour camera white balance processing method and device - Google Patents

All-weather colour camera white balance processing method and device Download PDF

Info

Publication number
CN104113744A
CN104113744A CN201310136033.4A CN201310136033A CN104113744A CN 104113744 A CN104113744 A CN 104113744A CN 201310136033 A CN201310136033 A CN 201310136033A CN 104113744 A CN104113744 A CN 104113744A
Authority
CN
China
Prior art keywords
image
processing
infrared
information
current
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
CN201310136033.4A
Other languages
Chinese (zh)
Other versions
CN104113744B (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.)
Shenzhen ZTE Netview Technology Co Ltd
Original Assignee
Shenzhen ZTE Netview Technology Co Ltd
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 Shenzhen ZTE Netview Technology Co Ltd filed Critical Shenzhen ZTE Netview Technology Co Ltd
Priority to CN201310136033.4A priority Critical patent/CN104113744B/en
Publication of CN104113744A publication Critical patent/CN104113744A/en
Application granted granted Critical
Publication of CN104113744B publication Critical patent/CN104113744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an all-weather colour camera white balance processing method and device. The method comprises the following steps: the mapping relationship table of exposure parameters of images, the image brightness and the environment illumination is obtained through training; an image to be processed is acquired and the image brightness of the current image to be processed and corresponding exposure parameters are acquired, and the current environment illumination information is acquired according to the exposure parameters, the image brightness and the mapping relationship table; the infrared influence removing process is performed on the image to be processed according to the current environment illumination information and the current infrared light intensity information that detected on a real-time basis; and the white balance correction is performed on the processed image obtained through the infrared influence removing process. By adopting the method and device of the invention, the distortion problem caused by the reason that correction cannot be performed effectively due to the influences of infrared light in the automatic white balance process can be avoided, and at the same time, the brightness problem in the low illumination condition can be solved to make a color image having the advantage of high quality still can be obtained in the low illumination condition.

Description

All-weather colorful video camera white balancing treatment method and device
Technical field
The present invention relates to technical field of image processing, in particular to a kind of all-weather colorful video camera white balancing treatment method and device.
Background technology
Conventionally, the video camera apparatus such as Digital Video and digital camera generally comprises: optical lens, imageing sensor, picture processing chip, image transmission module and image display.
As everyone knows, the object of color of the same race can present different colors under the irradiation of Different Light, and for example, the object of grey can present yellow under incandescent lamp irradiates, and under cold light source irradiates, can present cyan etc.Because human eye has based on the automatic regulation function for color under this type of environment, therefore under different light sources, human eye can reduce the essential color of object.But, under this type of environment, after optical lens and imageing sensor processing, the color of output and the result of eye-observation are variant, for example show by a specific experiment, under fluorescent lamp irradiates, the image of grey object output after optical lens and imageing sensor processing presents obvious green.Therefore, must process the color of this output image, it be presented and the coming to the same thing or close grey of eye-observation under different light sources, the main implementation method that adopts white balance correction at present.
In the existing method that realizes white balance correction, between optical lens and imageing sensor, can add a two filter IR_CUT.Particularly, in the middle of practical application, after the light intensity induction installation outside optical lens detects the power variation of light, IR-CUT automatic switchover filter, thereby make output image reach optimum efficiency: in the time that IR_CUT is switched to infrared fileter, filter out infrared band, final output image is shown as colour; In the time that IR_CUT is switched to full impregnated spectral filter, final output image is black and white.
But, conventionally no matter the actual imageing sensor using (is CMOS(Complementary Metal Oxide Semiconductor, complementary metal oxide semiconductors (CMOS)) or CCD(Charge-coupled is Device, charge coupled cell)) all can sense all visible light wave ranges and part infrared band.In the time that IR_CUT switches to full impregnated spectral filter, the red receiver of imageing sensor also obtains infrared band in obtaining red light wave band, thereby can cause the red light wave band in output image can be larger than normal value, make output image entirety partially red, now adopt existing white balance algorithm cannot proofread and correct these output images.In the time that IR_CUT switches to infrared fileter, although effective filtering infrared light wave band also can reduce light-inletting quantity simultaneously, reduce image brightness, thereby cause exposure parameter in picture processing chip to improve, and then increased noise, particularly shine in environment low, the noise of image can sharply increase.
In addition, two filter IR_CUT also have following two larger defects in use:
(1) be no matter normal when switching or extremely switching, because IR_CUT needs mechanically to switch back and forth, after the mechanical wear of long period, damage than being easier to;
(2) in the middle of practical application, the current handoff algorithms for IR_CUT is relatively not too reliable, for example, can cause IR_CUT switching back and forth at the Critical Light switching according under situation, causes thus the damage probability of IR_CUT further to improve.
Summary of the invention
Realize in order to solve the two filter IR_CUT of existing employing that output map kine bias that the method for white balance correction occurs is red causes being difficult to carry out white balance correction and the low problem according to causing the noise of output image to increase under environment, the object of the embodiment of the present invention is to provide a kind of all-weather colorful video camera white balancing treatment method and device, and an all-weather colorful video camera that does not comprise IR_CUT, its can be effectively to output image carry out white balance correction, to obtain the coloured image that color is gorgeous, picture noise is less.
In order to reach the object of the embodiment of the present invention, the present invention realizes by the following technical solutions:
A kind of all-weather colorful video camera white balancing treatment method, comprising:
Obtain the mapping relations table between exposure parameter, image brightness and the ambient light illumination of image by training;
Obtain pending image, and obtain the image brightness of this current pending image and the corresponding exposure parameter with this, obtain current ambient light illumination information according to described exposure parameter, image brightness and mapping relations table;
According to current ambient light illumination information and the current infrared light strength information detecting in real time, pending image is gone to the infrared processing that affects;
On infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
Preferably, comprise by the step of training the mapping relations table between exposure parameter, image brightness and the ambient light illumination to obtain image:
Irradiate material obtaining image with different light source, obtain the exposure parameter information of near ambient light illumination information optical lens, image and the monochrome information of the image that obtains simultaneously;
Set up accordingly the mapping relations table between exposure parameter, image brightness and the ambient light illumination of image and preserve.
Preferably, go the infrared step that affects processing to comprise according to current ambient light illumination information and the current infrared light strength information detecting in real time on pending image:
The ambient light illumination information that foundation is current and the current infrared light strength information detecting in real time calculate the ratio of infrared band in ambient light illumination;
According to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
Preferably, on infraredly affecting the step that processing image that processing obtains carries out white balance correction and comprise through going:
Carry out piecemeal to processing image;
Pick out image block that color approaches grey as candidate's ash piece;
Calculate the color-values of the grey piece of pending image according to candidate's ash piece;
The color-values of the grey piece of the pending image of foundation obtains correction parameter of white balance;
According to the correction parameter of white balance that obtains on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
A kind of all-weather colorful video camera white balance processing equipment, comprising:
The first data acquisition unit, the image luminance information of irradiating the image of material and obtaining this image for gathering Different Light; Obtain ambient light illumination information current in the time taking this image and the exposure parameter information of picture processing chip;
Training unit, for obtain image luminance information and corresponding ambient light illumination information and the exposure parameter information of picture processing chip with it from the first data acquisition unit, and training obtains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image accordingly;
The second data acquisition unit, for the pending image of Real-time Obtaining guarded region, and obtains image luminance information and the current infrared light strength information of this pending image, also obtains current exposure parameter information from picture processing chip simultaneously; Go to the infrared unit that affects, for obtain exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit, and inquire about accordingly described mapping relations table and obtain current ambient light illumination information; And further according to current ambient light illumination information and the infrared light strength information obtaining from the second data acquisition unit, pending image is gone to the infrared processing that affects;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
Preferably, described training unit comprises:
Processing unit, for irradiating in Different Light under the environment of material, trains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three who obtains image;
Storage unit, for the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of memory image.
Preferably, described in, go to the infrared unit that affects to comprise:
Receiving element, for obtaining exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit; And for obtaining current infrared light strength information; And be further used for obtaining the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image from training unit;
Reject the infrared processing unit that affects, be used for inquiring about described mapping relations table according to the exposure parameter corresponding with described pending image and image brightness and obtain current ambient light illumination information, and according to current ambient light illumination information and current infrared light strength information, pending image is gone to the infrared processing that affects.
Preferably, the infrared processing unit that affects of described rejecting goes the infrared step that affects processing to comprise according to current ambient light illumination information and current infrared light strength information on pending image:
Calculate the ratio of infrared band in ambient light illumination according to current ambient light illumination information and current infrared light strength information;
According to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
Preferably, described white balance correction unit comprises:
Image block unit, for carrying out piecemeal to processing image;
Extract candidate ash module unit, for picking out image block that color approaches grey as candidate's ash piece;
Ash piece determining unit, for calculating the color-values of the grey piece of pending image according to candidate's ash piece;
Correction parameter of white balance determining unit, obtains correction parameter of white balance for the color-values of the grey piece according to pending image;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
A kind of all-weather colorful video camera, comprises optical lens, imageing sensor, picture processing chip, image transmission module and image display, and it also comprises all-weather colorful video camera white balance processing equipment as above, and described device comprises:
The first data acquisition unit, the image luminance information of irradiating the image of material and obtaining this image for gathering Different Light; Obtain ambient light illumination information current in the time taking this image and the exposure parameter information of picture processing chip;
Training unit, for obtain image luminance information and corresponding ambient light illumination information and the exposure parameter information of picture processing chip with it from the first data acquisition unit, and training obtains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image accordingly;
The second data acquisition unit, for the pending image of Real-time Obtaining guarded region, and obtains image luminance information and the current infrared light strength information of this pending image, also obtains current exposure parameter information from picture processing chip simultaneously; Go to the infrared unit that affects, for obtain exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit, and inquire about accordingly described mapping relations table and obtain current ambient light illumination information; And further according to current ambient light illumination information and the infrared light strength information obtaining from the second data acquisition unit, pending image is gone to the infrared processing that affects;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
The technique scheme that adopts the embodiment of the present invention to provide, its video camera can be avoided cannot effectively proofreading and correct owing to being subject to the impact of infrared light the problem of dtmf distortion DTMF causing in Automatic white balance process, solved the low brightness problem according to situation simultaneously, make still can obtain the good coloured image of quality low according under situation, also do not affect white balance correction work under the higher situation of illumination, user experiences better simultaneously.
In addition, the video camera that the embodiment of the present invention provides is owing to no longer comprising these parts of IR_CUT, for the existing video camera that adopts IR_CUT, to a certain extent in can obtaining more excellent image quality, reduce the holistic cost of video camera, owing to need not being subject to the impaired impact of IR_CUT, improved the availability of video camera simultaneously.
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;
A kind of all-weather colorful video camera white balancing treatment method schematic flow sheet that Fig. 2 provides for the present invention's one specific embodiment;
A kind of all-weather colorful video camera white balance processing equipment structural representation that Fig. 3 provides for the embodiment of the present invention.
Realization, functional characteristics and the excellent effect of the object of the invention, be described further below in conjunction with specific embodiment and accompanying drawing.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in further detail, can be implemented so that those skilled in the art can better understand the present invention also, but illustrated embodiment is not as a limitation of the invention.
The main thought of the embodiment of the present invention is:
First obtain the mapping relations between exposure parameter, image brightness and the ambient light illumination of image by training;
Then obtain pending image, exposure parameter and infrared light intensity, calculate ambient light illumination according to the mapping relations between image brightness and the ambient light illumination three of exposure parameter, image;
According to the ratio of ambient light illumination and infrared light, pending image is rejected to infrared light impact again, generate the image without infrared light impact;
Finally the image without infrared impact is carried out to white balance correction.
More specifically, as shown in Figure 1, a kind of all-weather colorful video camera white balancing treatment method that the embodiment of the present invention provides, comprises the steps:
S10, obtain the mapping relations table between exposure parameter, image brightness and the ambient light illumination of image by training;
S20, obtain pending image, and obtain the image brightness of this current pending image and the corresponding exposure parameter with this, obtain current ambient light illumination information according to described exposure parameter, image brightness and mapping relations table;
S30, according to current ambient light illumination information and the current infrared light strength information detecting in real time, pending image is gone to the infrared processing that affects;
S40, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
In training, when obtaining the mapping relations table between exposure parameter, image brightness and ambient light illumination, real time environment illumination when photographic subjects material can be obtained accurately by testing equipments such as illuminance meters each time.
But in the middle of practical application, owing to being subject to the impact of volume and cost, (conventionally the measuring equipment such as illuminance meter has larger volume and comparatively expensive price, the video surveillance point that is arranged in One's name is legion is obviously outdated), illuminance meters etc. obviously can not use in order to the testing equipment of accurate measurement current environment illumination, conventionally, also can be by adopting easily as the measuring equipments such as photo resistance carry out measurement environment illumination, but the data precision that this type of measuring equipment is measured is lower
Thereby aspect of the embodiment of the present invention, the method of training by employing, preserve the mapping relations between image brightness, exposure parameter and ambient light illumination and form mapping relations table, so that in follow-up image processing process by table look-up mode obtain current environment illuminance information, compare and adopt the measuring equipment measurement environment illumination data such as photo resistance to there is higher accuracy.
Particularly, in described step S10, comprise by the step of training the mapping relations table between exposure parameter, image brightness and the ambient light illumination to obtain image:
S101, irradiate material obtaining image with different light source, the image luminance information of the exposure parameter information when obtaining near ambient light illumination information, picture processing chip optical lens simultaneously and processing this picture and the image obtaining;
Mapping relations table between S102, the exposure parameter of setting up accordingly image, image brightness and ambient light illumination is also preserved.
Particularly, according to the embodiment of the present invention aspect, in described step S30, go the infrared step that affects processing to comprise according to current ambient light illumination information and infrared light strength information on pending image:
S301, current ambient light illumination information and the infrared light strength information of foundation calculate the ratio of infrared band in ambient light illumination;
S302, according to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
Particularly, according to the embodiment of the present invention aspect, in described step S40, on infraredly affecting the step that processing image that processing obtains carries out white balance correction and comprise through going:
S401, to process image carry out piecemeal;
S402, pick out image block that color approaches grey as candidate's ash piece;
S403, calculate the color-values of the grey piece of pending image according to candidate ash piece;
The color-values of the grey piece of S404, the pending image of foundation obtains correction parameter of white balance;
S405, according to the correction parameter of white balance that obtains on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
The performing step of the present invention's one specific embodiment comprises:
Step 1: the color image that the light source of collection varying strength produces while irradiating material, obtain near the ambient light illumination of optical lens and brightness and the exposure parameter of color image, obtain the mapping relations between exposure parameter, image brightness and ambient light illumination three.
In embodiments of the present invention, light source can be that single light source can be also hybrid light source, and the intensity of light source can be continuously adjustable, and General Requirements illumination is from 0.001lux to 50000lux, and concrete implementation step as shown in Figure 2.
Exposure parameter mainly comprises the gain of time for exposure, aperture size and image processor.
The image brightness of image can be calculated acquisition according to the color image obtaining, and the method for calculating is varied, for example, can adopt following computing formula, supposes that the band strength of pending image three channel is respectively R, G, and B, the brightness of image is:
I=(R+G+B)/3。
Suppose that exposure parameter comprises the gain G ain of time for exposure T, aperture size F, image processor, and in the time that ambient light illumination is L, the mapping relations between T, F, Gain, I and L are set up in training, and this mapping relations are preserved into mapping relations table, so that in the middle of follow-up application, from this mapping relations table, can find corresponding L by T, F, Gain and I fast.
Step 2: obtain the image without infrared light impact.
First obtain the color image (R with infrared impact 1, G 1, B 1), also obtain current exposure parameter T simultaneously 1, F 1, Gain 1, by the infrared photosensitive infrared light intensity W that obtains 1.Owing to having removed IR_CUT in the embodiment of the present invention, in device, there is no infrared fileter, the image obtaining can be subject to the impact of infrared light.Particularly affected by infrared light larger low according in environment, therefore, color image that noise low beautiful in order to obtain, the impact that needs to remove infrared light.Calculate the brightness I of image 1, can calculate according to the method for the computed image brightness described in step 1; According to T 1, F 1, Gain 1, I 1mapping relations table between inquiry T, F, Gain, I and L obtains current ambient light illumination L 1; And further calculate the ratio cc=W of infrared band in ambient light illumination 1/ L 1, the then impact on each channel data rejecting infrared light.According to a preferred embodiment of the present invention, the method for rejecting infrared light impact is:
Suppose really to belong to the R ' of red wave band 1, there is following equation:
W 1=αI 1=α(R 1+G 1+B 1)/3;
Infrared light intensity and real red wave band have formed the red wave band of pending image, that is:
W 1+R′ 1=R 1
R 1-R ' 1=α (R 1+ G 1+ B 1)/3, are further really belonged to the pixel value of red wave band:
R′ 1=R 1-α(R 1+G 1+B 1)/3;
In order to keep the brightness of image constant, need to be multiplied by a coefficient to the each component of triple channel, coefficient has following calculating:
β=((R 1+G 1+B 1)/3)/((R′ 1+G 1+B 1)/3);
Further obtain:
β=((R 1+G 1+B 1))/((R 1+G 1+B 1-α(R 1+G 1+B 1)/3))=3(3-α);
Finally obtain new image (R " 1, G " 1, B " 1):
B″ 1=βB 1=3B 1/(3-α),
G″ 1=βG 1=3G 1/(3-α),
R″ 1=βR 1=3/(3-α)(R 1-α(R 1+G 1+B 1)/3)=R 1-α/(3-α)(G 1+B 1)。
Step 3: determine the candidate's ash piece that affects image without infrared.
First will be divided into limited the rectangular block that size shape is equal without the infrared image that affects, then in all rectangular blocks, pick out color and approach grey as candidate's ash piece.In the middle of practical application, the decision method that color approaches grey piece includes but not limited to adopt following several method to realize:
(1) the three-channel color-values of supposing rectangular block is R, G, and B, converts it in YCbCr colour system, and the rectangular block that meets following condition is grey piece:
|Cb|<Cb min,|Cr|<Cr min,Y min<Y<Y max
(2) the three-channel color-values of supposing rectangular block is R, G, and B, the rectangular block that meets following condition is grey piece:
(R+ε)/(G+)<T 1,(G+ε)/(B+ε)<T 2,(B+ε)/(R+ε)<T 3
Wherein, in above formula, ε is minimum, T 1, T 2, T 3for being greater than 1 threshold value.
Step 4: the color character of determining pending image ash piece according to candidate's ash piece.
Suppose that the candidate's ash piece extracting has N, the RGB average value of i grey piece is R i, G i, B i, the rgb value of last required grey piece is respectively R, G, B.In the middle of practical application, calculate R, G, the method for B includes but not limited to following several method:
Method one: adopt average weighted mode to calculate: G = 1 N Σ i = 1 N G i R = 1 N Σ i = 1 N R i B = 1 N Σ i = 1 N B i
Method two: to R 1..., R narrange and obtain according to order from small to large , in the time that N is even number , in the time that N is odd number ; Process G with identical method 1..., G n, B 1..., B nobtain G and B.
Method three: adopt following computing formula to calculate: G = Π i = 1 N G i N B = Π i = 1 N B i N R = Π i = 1 N R i N
Step 205: determine correction parameter of white balance and wrap balance correction.
After determining R, G, the B of pending image ash piece, what in fact (R, G, B) characterized is the characteristic of light source, can change the correction parameter of white balance that light source is corresponding according to its calculating, be respectively: RGain, GGain and BGain, and utilize RGain, GGain and BGain to carry out white balance correction to pending image.RGain, GGain and BGain determine according to following formula;
RGain=R/MinRGB,GGain=G/MinRGB,BGain=B/MinRGB,
Wherein, MinRGB represents the minimum value in (R, G, B).RGain, GGain and BGain can regulate the color-values of each pixel in image, concrete control method is to regulate R component according to RGain parameter, regulate G component according to GGain parameter, regulate B component according to BGain parameter, obtain distortionless correcting image, certain pixel of establishing before correction is (r1, g1, b1) proofread and correct after this pixel be r2=r1*RGain, g2=g1*GGain, b2=b1*BGain.
So far, white balance correction processing finishes.
As shown in Figure 3, the embodiment of the present invention also provides a kind of all-weather colorful video camera white balance processing equipment, comprising:
The first data acquisition unit, the image luminance information of irradiating the image of material and obtaining this image for gathering Different Light; Obtain ambient light illumination information current in the time taking this image and the exposure parameter information of picture processing chip;
Training unit, for obtain image luminance information and corresponding ambient light illumination information and the exposure parameter information of picture processing chip with it from the first data acquisition unit, and training obtains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image accordingly;
The second data acquisition unit, for the pending image of Real-time Obtaining guarded region, and obtains image luminance information and the current infrared light strength information of this pending image, also obtains current exposure parameter information from picture processing chip simultaneously; Go to the infrared unit that affects, for obtain exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit, and inquire about accordingly described mapping relations table and obtain current ambient light illumination information; And further according to current ambient light illumination information and the infrared light strength information obtaining from the second data acquisition unit, pending image is gone to the infrared processing that affects;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
Preferably, described training unit comprises:
Processing unit, for irradiating in Different Light under the environment of material, trains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three who obtains image;
Storage unit, for the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of memory image.
Preferably, described in, go to the infrared unit that affects to comprise:
Receiving element, for obtaining exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit; And for obtaining current infrared light strength information; And be further used for obtaining the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image from training unit;
Reject the infrared processing unit that affects, be used for inquiring about described mapping relations table according to the exposure parameter corresponding with described pending image and image brightness and obtain current ambient light illumination information, and according to current ambient light illumination information and current infrared light strength information, pending image is gone to the infrared processing that affects.
Preferably, the infrared processing unit that affects of described rejecting goes the infrared step that affects processing to comprise according to current ambient light illumination information and infrared light strength information on pending image:
Calculate the ratio of infrared band in ambient light illumination according to current ambient light illumination information and infrared light strength information;
According to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
Preferably, described white balance correction unit comprises:
Image block unit, for carrying out piecemeal to processing image, is divided into limited the rectangular block that size shape is identical by the processing image without infrared impact;
Extract candidate ash module unit, for picking out image block that color approaches grey as candidate's ash piece;
Ash piece determining unit, for calculating the color-values of the grey piece of pending image according to candidate's ash piece; Color-values according to candidate's ash piece is determined the color-values that affects image ash piece without infrared
Correction parameter of white balance determining unit, obtains correction parameter of white balance for the color-values of the grey piece according to pending image;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
Correspondingly, continue with reference to figure 3, the embodiment of the present invention also provides a kind of all-weather colorful video camera, comprise optical lens, imageing sensor, picture processing chip, image transmission module and image display, it also comprises all-weather colorful video camera white balance processing equipment as above, and described device comprises:
The first data acquisition unit, the image luminance information of irradiating the image of material and obtaining this image for gathering Different Light; Obtain ambient light illumination information current in the time taking this image and the exposure parameter information of picture processing chip;
Training unit, for obtain image luminance information and corresponding ambient light illumination information and the exposure parameter information of picture processing chip with it from the first data acquisition unit, and training obtains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image accordingly;
The second data acquisition unit, for the pending image of Real-time Obtaining guarded region, and obtains image luminance information and the current infrared light strength information of this pending image, also obtains current exposure parameter information from picture processing chip simultaneously; Go to the infrared unit that affects, for obtain exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit, and inquire about accordingly described mapping relations table and obtain current ambient light illumination information; And further according to current ambient light illumination information and the infrared light strength information obtaining from the second data acquisition unit, pending image is gone to the infrared processing that affects;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
Detailed description for above-mentioned all-weather colorful video camera white balance processing equipment can be with reference to mentioned above, this do not done repetition here and carefully state.
The foregoing is only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. an all-weather colorful video camera white balancing treatment method, is characterized in that, comprising:
Obtain the mapping relations table between exposure parameter, image brightness and the ambient light illumination of image by training;
Obtain pending image, and obtain the image brightness of this current pending image and the corresponding exposure parameter with this, obtain current ambient light illumination information according to described exposure parameter, image brightness and mapping relations table;
According to current ambient light illumination information and the current infrared light strength information detecting in real time, pending image is gone to the infrared processing that affects;
On infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
2. all-weather colorful video camera white balancing treatment method as claimed in claim 1, is characterized in that, comprises by the step of training the mapping relations table between exposure parameter, image brightness and the ambient light illumination to obtain image:
Irradiate material obtaining image with different light source, obtain the exposure parameter information of near ambient light illumination information optical lens, image and the image luminance information of the image that obtains simultaneously;
Set up accordingly the mapping relations table between exposure parameter, image brightness and the ambient light illumination of image and preserve.
3. all-weather colorful video camera white balancing treatment method as claimed in claim 1, is characterized in that, goes the infrared step that affects processing to comprise according to current ambient light illumination information and the current infrared light strength information detecting in real time on pending image:
The ambient light illumination information that foundation is current and the current infrared light strength information detecting in real time calculate the ratio of infrared band in ambient light illumination;
According to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
4. all-weather colorful video camera white balancing treatment method as claimed in claim 1, is characterized in that, on infraredly affecting the step that processing image that processing obtains carries out white balance correction and comprise through going:
Carry out piecemeal to processing image;
Pick out image block that color approaches grey as candidate's ash piece;
Calculate the color-values of the grey piece of pending image according to candidate's ash piece;
The color-values of the grey piece of the pending image of foundation obtains correction parameter of white balance;
According to the correction parameter of white balance that obtains on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
5. an all-weather colorful video camera white balance processing equipment, is characterized in that, comprising:
The first data acquisition unit, the image luminance information of irradiating the image of material and obtaining this image for gathering Different Light; Obtain ambient light illumination information current in the time taking this image and the exposure parameter information of picture processing chip;
Training unit, for obtain image luminance information and corresponding ambient light illumination information and the exposure parameter information of picture processing chip with it from the first data acquisition unit, and training obtains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image accordingly;
The second data acquisition unit, for the pending image of Real-time Obtaining guarded region, and obtains image luminance information and the current infrared light strength information of this pending image, also obtains current exposure parameter information from picture processing chip simultaneously; Go to the infrared unit that affects, for obtain exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit, and inquire about accordingly described mapping relations table and obtain current ambient light illumination information; And further according to current ambient light illumination information and the infrared light strength information obtaining from the second data acquisition unit, pending image is gone to the infrared processing that affects;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
6. all-weather colorful video camera white balance processing equipment as claimed in claim 5, is characterized in that, described training unit comprises:
Processing unit, for irradiating in Different Light under the environment of material, trains the mapping relations table between exposure parameter, image brightness and the ambient light illumination three who obtains image;
Storage unit, for the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of memory image.
7. all-weather colorful video camera white balance processing equipment as claimed in claim 5, is characterized in that, described in go to the infrared unit that affects to comprise:
Receiving element, for obtaining exposure parameter and the image luminance information corresponding with current pending image from the second data acquisition unit; And for obtaining current infrared light strength information; And be further used for obtaining the mapping relations table between exposure parameter, image brightness and the ambient light illumination three of image from training unit;
Reject the infrared processing unit that affects, be used for inquiring about described mapping relations table according to the exposure parameter corresponding with described pending image and image brightness and obtain current ambient light illumination information, and according to current ambient light illumination information and current infrared light strength information, pending image is gone to the infrared processing that affects.
8. all-weather colorful video camera white balance processing equipment as claimed in claim 7, it is characterized in that, the infrared processing unit that affects of described rejecting goes the infrared step that affects processing to comprise according to current ambient light illumination information and current infrared light strength information on pending image:
Calculate the ratio of infrared band in ambient light illumination according to current ambient light illumination information and current infrared light strength information;
According to this ratio, each channel data of pending image is gone to the infrared processing that affects, to reject the impact of infrared light.
9. all-weather colorful video camera white balance processing equipment as claimed in claim 5, is characterized in that, described white balance correction unit comprises:
Image block unit, for carrying out piecemeal to processing image;
Extract candidate ash module unit, for picking out image block that color approaches grey as candidate's ash piece;
Ash piece determining unit, for calculating the color-values of the grey piece of pending image according to candidate's ash piece;
Correction parameter of white balance determining unit, obtains correction parameter of white balance for the color-values of the grey piece according to pending image;
White balance correction unit, on infraredly affecting the processing image that processing obtains and carry out white balance correction through going.
10. an all-weather colorful video camera, comprise optical lens, imageing sensor, picture processing chip, image transmission module and image display, it is characterized in that, also comprise the all-weather colorful video camera white balance processing equipment as described in claim as arbitrary in claim 5-9.
CN201310136033.4A 2013-04-18 2013-04-18 All-weather colorful video camera white balancing treatment method and device Active CN104113744B (en)

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 true CN104113744A (en) 2014-10-22
CN104113744B CN104113744B (en) 2018-01-19

Family

ID=51710363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310136033.4A Active 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104776351A (en) * 2015-03-24 2015-07-15 苏州佳世达电通有限公司 Display device and light source correction method for display device
WO2016041144A1 (en) * 2014-09-16 2016-03-24 华为技术有限公司 Image processing method and device
CN106250868A (en) * 2016-08-15 2016-12-21 致生联发信息技术股份有限公司 A kind of slip electricity getting device form video monitoring system
WO2017128988A1 (en) * 2016-01-29 2017-08-03 Sengled Co., Ltd. Method for measuring ambient brightness value and photographing device
WO2018058873A1 (en) * 2016-09-29 2018-04-05 宇龙计算机通信科技(深圳)有限公司 Photographing method and device
CN108024106A (en) * 2016-11-04 2018-05-11 上海富瀚微电子股份有限公司 Support the color correction device and method of RGBIR and RGBW forms
CN108600725A (en) * 2018-05-10 2018-09-28 杭州雄迈集成电路技术有限公司 A kind of white balance correction device and method based on RGB-IR image datas
WO2019001163A1 (en) * 2017-06-28 2019-01-03 杭州海康威视数字技术股份有限公司 White balance adjustment method and apparatus, camera and medium
CN110704264A (en) * 2019-09-30 2020-01-17 歌尔股份有限公司 Method and device for generating comparison table of black field brightness, projector and storage medium
CN110769164A (en) * 2019-11-21 2020-02-07 天津九安医疗电子股份有限公司 Method for automatically adjusting lighting level of target scene and intelligent lighting control system
CN111083385A (en) * 2019-12-10 2020-04-28 珠海亿智电子科技有限公司 Binocular or multi-view camera exposure method, system and storage medium
CN112243117A (en) * 2019-07-17 2021-01-19 杭州海康威视数字技术股份有限公司 Image processing apparatus, method and camera
CN113556477A (en) * 2021-09-23 2021-10-26 南昌龙旗信息技术有限公司 Environment brightness determination method, device, medium, product and camera
WO2022198396A1 (en) * 2021-03-22 2022-09-29 深圳市大疆创新科技有限公司 Exposure control method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
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 noises in imaging signals
US20100321523A1 (en) * 2006-08-24 2010-12-23 Igor Subbotin Method, apparatus, and system for selecting pixels for automatic white balance processing
CN102484722A (en) * 2010-05-12 2012-05-30 松下电器产业株式会社 Image capturing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US20100321523A1 (en) * 2006-08-24 2010-12-23 Igor Subbotin Method, apparatus, and system for selecting pixels for automatic white balance processing
CN101309360A (en) * 2007-05-17 2008-11-19 索尼株式会社 Video input processor, imaging signal-processing circuit, and method for reducing noises in imaging signals
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

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10560644B2 (en) 2014-09-16 2020-02-11 Huawei Technologies Co., Ltd. Image processing method and apparatus
WO2016041144A1 (en) * 2014-09-16 2016-03-24 华为技术有限公司 Image processing method and device
CN104776351A (en) * 2015-03-24 2015-07-15 苏州佳世达电通有限公司 Display device and light source correction method for display device
WO2017128988A1 (en) * 2016-01-29 2017-08-03 Sengled Co., Ltd. Method for measuring ambient brightness value and photographing device
US10477115B2 (en) 2016-01-29 2019-11-12 Sengled Co., Ltd. Method for measuring ambient brightness value and photographing device
CN106250868A (en) * 2016-08-15 2016-12-21 致生联发信息技术股份有限公司 A kind of slip electricity getting device form video monitoring system
WO2018058873A1 (en) * 2016-09-29 2018-04-05 宇龙计算机通信科技(深圳)有限公司 Photographing method and device
CN108024106A (en) * 2016-11-04 2018-05-11 上海富瀚微电子股份有限公司 Support the color correction device and method of RGBIR and RGBW forms
WO2019001163A1 (en) * 2017-06-28 2019-01-03 杭州海康威视数字技术股份有限公司 White balance adjustment method and apparatus, camera and medium
CN109151426A (en) * 2017-06-28 2019-01-04 杭州海康威视数字技术股份有限公司 A kind of white balance adjustment method, device, camera and medium
US11323677B2 (en) 2017-06-28 2022-05-03 Hangzhou Hikvision Digital Technology Co., Ltd. White balance adjustment method and apparatus, camera and medium
CN108600725A (en) * 2018-05-10 2018-09-28 杭州雄迈集成电路技术有限公司 A kind of white balance correction device and method based on RGB-IR image datas
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
CN112243117A (en) * 2019-07-17 2021-01-19 杭州海康威视数字技术股份有限公司 Image processing apparatus, method and camera
CN110704264A (en) * 2019-09-30 2020-01-17 歌尔股份有限公司 Method and device for generating comparison table of black field brightness, projector and storage medium
CN110704264B (en) * 2019-09-30 2024-02-09 歌尔光学科技有限公司 Black field brightness comparison table generation method and device, projector and storage medium
CN111741230A (en) * 2019-11-21 2020-10-02 天津九安医疗电子股份有限公司 Camera head
WO2021098191A1 (en) * 2019-11-21 2021-05-27 天津九安医疗电子股份有限公司 Method for automatically adjusting illumination level of target scene, and intelligent illumination control system
CN110769164A (en) * 2019-11-21 2020-02-07 天津九安医疗电子股份有限公司 Method for automatically adjusting lighting level of target scene and intelligent lighting control system
CN111083385B (en) * 2019-12-10 2021-04-02 珠海亿智电子科技有限公司 Binocular or multi-view camera exposure method, system and storage medium
CN111083385A (en) * 2019-12-10 2020-04-28 珠海亿智电子科技有限公司 Binocular or multi-view camera exposure method, system and storage medium
WO2022198396A1 (en) * 2021-03-22 2022-09-29 深圳市大疆创新科技有限公司 Exposure control method and apparatus
CN113556477A (en) * 2021-09-23 2021-10-26 南昌龙旗信息技术有限公司 Environment brightness determination method, device, medium, product and camera
CN113556477B (en) * 2021-09-23 2021-12-14 南昌龙旗信息技术有限公司 Ambient brightness determination method and device, medium and camera

Also Published As

Publication number Publication date
CN104113744B (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN104113744A (en) All-weather colour camera white balance processing method and device
CN104113743B (en) Colour TV camera AWB processing method and processing device under low-light (level)
JP5786254B2 (en) Method and apparatus for controlling light emitting devices in a terminal device, and terminal device
EP3648459B1 (en) White balance adjustment method and apparatus, camera and medium
CN108024055B (en) Method, apparatus, mobile terminal and the storage medium of white balance processing
US7949185B2 (en) Method of performing robust auto white balance
US8803994B2 (en) Adaptive spatial sampling using an imaging assembly having a tunable spectral response
DE102019106252A1 (en) Method and system for light source estimation for image processing
KR101360543B1 (en) Automatic backlight detection
CN108174172B (en) Image pickup method and device, computer readable storage medium and computer equipment
CN104661008A (en) Processing method and device for improving colorful image quality under condition of low-light level
TWI532385B (en) White balance method and apparatus thereof
CN101933321A (en) Image sensor apparatus and method for scene illuminant estimation
CN112118388B (en) Image processing method, image processing device, computer equipment and storage medium
CN104954772A (en) Image adjacent-grey pixel selection algorithm applied to automatic white balance algorithm
US20200228770A1 (en) Lens rolloff assisted auto white balance
US9013605B2 (en) Apparatus and method for processing intensity of image in digital camera
US11457189B2 (en) Device for and method of correcting white balance of image
CN112217962B (en) Camera and image generation method
KR20200145670A (en) Device and method for correcting white balance of image
US20200228769A1 (en) Lens rolloff assisted auto white balance
Shimei et al. A study on modulation and diversity methods based on uniform color space for digital signage and image sensor-based VLC
CN107948619B (en) Image processing method, device, computer readable storage medium and mobile terminal
US20130266220A1 (en) Color signal processing circuit, color signal processing method, color reproduction evaluating method, imaging apparatus, electronic apparatus and testing device
WO2022032666A1 (en) Image processing method and related apparatus

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