CN101304489B - Automatic exposure method and apparatus - Google Patents

Automatic exposure method and apparatus Download PDF

Info

Publication number
CN101304489B
CN101304489B CN2008101153282A CN200810115328A CN101304489B CN 101304489 B CN101304489 B CN 101304489B CN 2008101153282 A CN2008101153282 A CN 2008101153282A CN 200810115328 A CN200810115328 A CN 200810115328A CN 101304489 B CN101304489 B CN 101304489B
Authority
CN
China
Prior art keywords
exposure
target
value
average brightness
moving target
Prior art date
Application number
CN2008101153282A
Other languages
Chinese (zh)
Other versions
CN101304489A (en
Inventor
王俊艳
黄英
Original Assignee
北京中星微电子有限公司
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 北京中星微电子有限公司 filed Critical 北京中星微电子有限公司
Priority to CN2008101153282A priority Critical patent/CN101304489B/en
Publication of CN101304489A publication Critical patent/CN101304489A/en
Application granted granted Critical
Publication of CN101304489B publication Critical patent/CN101304489B/en

Links

Abstract

The invention discloses an automatic exposure method and a device thereof. When detecting that a moving object occurs in an image, the camera of the invention can adjust the exposure control fundamental parameters according to brightness information of the region where the moving object locates and expose the whole image according to the adjusted exposure control fundamental parameters, thus ensuring suitable brightness of the moving object region in the image, increasing the contrast and signal-to-noise ratio of the moving object region, avoiding over-darkness or over-exposure of the moving object region; simultaneously, ensuring acceptable brightness of the whole image region. Particularly, in conditions of over-weak or over-bright light, the moving object region in the image obtained by the automatic exposure method of the invention has suitable brightness, thus increasing the contrast and signal-to-noise ratio of the moving region and ensuring latter processes, such as movement tracking and moving object identification.

Description

A kind of automatic explosion method and device

Technical field

The present invention relates to the image acquisition technology, refer to a kind of automatic explosion method and device especially.

Background technology

At different application scenarioss, require camera to have different functions.To being used for the camera of motion detection, scene monitoring etc., need be to the moving target (such as the people of motion, mobile object, the vehicle of motion etc.) that is called as prospect, and exposure-processed is carried out in the background area that remains unchanged.

At present, camera adopts at the exposure setting of full figure and carries out the automatic exposure processing in application scenarioss such as motion detection, scene monitoring.Because the difference of ambient light, existing exposure setting at full figure can make full figure have suitable mean flow rate, but, if moving target is arranged in dark space or the clear zone of figure, when especially photographed scene exists window or intense light source or night etc., according to the prior camera automatic explosion method, the brightness of moving target may be very low also may be very high, like this, can reduce the contrast and the signal to noise ratio of moving target, increase difficulty for application such as follow-up video analysis, video frequency searching, moving target identification.

We know, in monitoring is used, what people were concerned about most is the definition of moving target, and photographed scene exists window or situations such as intense light source or night to be easy to take place, adopt existing method of carrying out automatic exposure at the exposure setting of full figure, will certainly be improper owing to exposure to moving target, make the moving target of being concerned about most produce inappropriate brightness, thereby the contrast and the signal to noise ratio of motion target area have been reduced, like this, application such as subsequent video analysis, moving target identification have been had a strong impact on.

Summary of the invention

In view of this, main purpose of the present invention is to provide a kind of automatic explosion method, can guarantee that moving target has suitable brightness, improves the contrast and the signal to noise ratio of motion target area.

Another object of the present invention is to provide a kind of automatic exposure device, can guarantee that moving target has suitable brightness, improve the contrast and the signal to noise ratio of motion target area.

For achieving the above object, technical scheme of the present invention specifically is achieved in that

A kind of automatic explosion method is provided with exposure control basic parameter, and set exposure control basic parameter comprises: current luminance gain G 1, current time for exposure T 1With luminance threshold Y ThThis method is further comprising the steps of:

Whether there is moving target in the detected image;

When in detecting image, having moving target, the target average brightness standard value Y of moving target region is set Target, calculate the current average brightness value Y of moving target region 1Target average brightness standard value Y according to described moving target region TargetWith luminance threshold Y ThDetermine the target brightness value scope; Current average brightness value Y according to described moving target region 1Whether fall in this target brightness value scope, determine whether to need to regulate exposure control basic parameter; When needs are regulated exposure control basic parameter, according to the current average brightness value Y of described moving target region 1, target average brightness standard value Y TargetWith luminance threshold Y ThCalculate the time for exposure T that needs 2And as time for exposure T 2In the time of in the time for exposure of transducer scope, get time for exposure T 2For the new time for exposure to replace current time for exposure T 1, and utilize the exposure control basic parameter that comprises the new time for exposure that full figure is exposed.

The method of the moving target in the described detected image is: described image is carried out rim detection, and remove noise, obtain string diagram, utilize string diagram to carry out moving object detection and tracking.

Before obtaining string diagram, described image is carried out mean filter or medium filtering or gaussian filtering handle, to remove noise;

And/or after obtaining string diagram, to described edge lines image some Filtering Processing of loosing, to remove noise.

The described target average brightness standard value Y that the moving target region is set TargetMethod be: be redefined for a constant.

The described target average brightness standard value Y that the moving target region is set TargetMethod be:

A1., the corresponding relation of color and luminance standard value is set;

B1. add up the colouring information of all pixels in the described detected moving target region,, obtain the luminance standard value of different colours correspondence according to the corresponding relation of described color and luminance standard value;

C1. the luminance standard value of different colours and the number of pixels in the moving target region are weighted summation, obtain the target average brightness standard value of moving target region.

The described target average brightness standard value Y that the moving target region is set TargetMethod be:

A2., corresponding relation with the luminance standard value is set between chromatic zones;

B2. add up the colouring information of all pixels in the described detected moving target region, according between described chromatic zones with the corresponding relation of luminance standard value, obtain the interval corresponding luminance standard value of different colours;

C2. the luminance standard value in different colours interval and the number of pixels in the moving target region are weighted summation, obtain the target average brightness standard value of moving target region.

In the method, as the time for exposure of needs T 2In the time of not in the time for exposure of transducer scope, according to current average brightness value Y 1, target average brightness standard value Y Target, obtain required luminance gain value G 2, with the luminance gain value G of former setting 1Be adjusted into required luminance gain value G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter and handle image, wherein according to formula Calculate required luminance gain value G 2, wherein M is for the brightness range maximum of setting, with the luminance gain value G of former setting 1Be adjusted into G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter.

In the method, according to formula Calculate the time for exposure T that needs 2, wherein The brightness range maximum of M for being provided with, G TargetBe the object brightness yield value.

Described definite target brightness value scope is for determining object brightness maximum Y MaxWith object brightness minimum value Y Min, Y wherein Max=Y Target+ Y Th, Y Min=Y Target-Y Th

When described detected moving target is new moving target, recomputate the target average brightness standard value, otherwise the target average brightness standard value is constant.

This method also comprises:

The target average brightness standard value in full figure zone is set, calculates the current average brightness value in full figure zone;

After to be principle to the target average brightness standard value of the target average brightness standard value in full figure zone and moving target region be weighted so that the moving target region has appropriate brightness, as full figure being carried out the parameter that described automatic exposure is regulated, carry out described full figure being exposed.

This method also comprises:

When in detecting image, not having moving target, the target average brightness standard value in full figure zone is set, calculate the current average brightness value in full figure zone, according to the target average brightness standard value in the full figure zone that is provided with and the current average brightness value in the full figure zone that calculates, calculate and regulate exposure control basic parameter, and exposure-processed is carried out in the full figure zone.

A kind of automatic exposure device, this device comprises:

Module is set, is used to store the exposure control basic parameter that sets in advance;

The moving object detection module, be used to receive image, whether have moving target in the detected image, and when in detecting image, having moving target, obtain the moving target region, and send the notice of regulating automatic exposure according to moving target to the automatic exposure parameter calculating module; And

The automatic exposure parameter calculating module comprises receiving element, monochrome information acquiring unit and processing unit;

Described receiving element is used to receive notice and the image of regulating automatic exposure according to moving target;

Described monochrome information acquiring unit is used to be provided with the target average brightness standard value Y of moving target region Target, calculate the current average brightness value Y of moving target region 1Set exposure control basic parameter comprises: current luminance gain G 1, current time for exposure T 1With luminance threshold Y Th

Described processing unit is used for the target average brightness standard value Y according to described moving target region TargetWith luminance threshold Y ThDetermine the target brightness value scope, according to the current average brightness value Y of described moving target region 1Whether fall in this target brightness value scope, determine whether to need to regulate exposure control basic parameter, when needs are regulated the exposure of exposure control basic parameter, according to the current average brightness value Y of described moving target region 1, target average brightness standard value Y TargetWith luminance threshold Y ThCalculate the time for exposure T that needs 2, as time for exposure T 2In the time of in the time for exposure of transducer scope, get time for exposure T 2For the new time for exposure to replace current time for exposure T 1, and utilize the exposure control basic parameter that comprises the new time for exposure that full figure is exposed.

Described processing unit is further used for: as the time for exposure of needs T 2In the time of not in the time for exposure of transducer scope, according to current average brightness value Y 1, target average brightness standard value Y Target, obtain required luminance gain value G 2, with the luminance gain value G of former setting 1Be adjusted into required luminance gain value G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter and handle image, wherein according to formula Calculate required luminance gain value G 2, wherein M is for the brightness range maximum of setting, with the luminance gain value G of former setting 1Be adjusted into G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter.

Described moving object detection module also is used for detecting image when not having moving target, sends the notice of the monochrome information calculation exposure control basic parameter that utilizes the full figure zone to the automatic exposure parameter calculating module;

Described automatic exposure parameter calculating module, also be used to receive the notice of the monochrome information adjustment exposure control basic parameter that utilizes the full figure zone, the target average brightness standard value in full figure zone is set, calculate the current average brightness value in full figure zone, according to the target average brightness standard value in the full figure zone that is provided with and the current average brightness value in the full figure zone that calculates, calculate and regulate the exposure control basic parameter that is provided with in the module, and exposure-processed is carried out in the full figure zone.

As seen from the above technical solution, among the present invention, when there is moving target in camera in detecting image, monochrome information such as current mean flow rate and the parameters such as object brightness that set in advance according to the moving target region, calculate and regulate exposure control basic parameter, and utilize adjusted exposure control basic parameter that full figure is carried out exposure-processed.The inventive method has guaranteed that the motion target area in the image has suitable brightness, has improved the contrast and the signal to noise ratio of motion target area, has prevented that motion target area from crossing dark or overexposure, also makes the full figure zone have acceptable brightness simultaneously.Especially, under the very weak or bright excessively situation of light, motion target area has suitable brightness in the image that automatic explosion method of the present invention obtains, and has improved the contrast and the signal to noise ratio of moving region, has ensured the processing such as motion tracking, moving target identification in later stage.

The inventive method also can fully utilize the information of moving region and full figure and carry out the automatic exposure adjusting, like this, has improved the brightness of moving region as far as possible when making the full figure zone have acceptable brightness.

Description of drawings

Fig. 1 is the flow chart that camera of the present invention is realized the method for automatic exposure;

Fig. 2 is the flow chart that the present invention regulates exposure control basic parameter;

Fig. 3 is the composition structural representation of automatic exposure device of the present invention.

Embodiment

The inventive method comprises: exposure control basic parameter is set, when in detecting image, having moving target, according to the monochrome information of moving target region, regulate exposure control basic parameter, and utilize adjusted exposure control basic parameter that full figure is carried out exposure-processed.

For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.

Fig. 1 is the flow chart that camera of the present invention is realized the method for automatic exposure, and as shown in Figure 1, the inventive method may further comprise the steps:

Step 100: exposure control basic parameter is set.

Exposure control basic parameter comprises: luminance threshold Y Th, luminance gain value G Target, the target average brightness standard value equivalence in time for exposure T, full figure zone.

Wherein, luminance threshold Y ThValue determine by experience, if be not very high to the brightness quality requirement, luminance threshold Y ThValue can be more greatly; If to the requirement height of brightness quality, luminance threshold Y ThValue can be littler, makes the target brightness value range littler.

The target average brightness standard value in full figure zone is generally a constant, when initial, is provided with, and often be 128.

Step 101: whether have moving target in the detected image,, enter step 1021, if there is no, enter step 1022 if exist.

Since exposure parameter when changing the brightness meeting of full figure have greatly changed, traditional utilize gray-scale map to carry out methods such as background modeling, frame difference can not to work.And brightness is when changing within the specific limits, and the variation of image edge information is very little, and therefore, the method that the present invention detects moving target adopts the detection method based on the edge string diagram.Specific implementation roughly may further comprise the steps:

Image to be detected is carried out rim detection, obtain the present frame string diagram.Utilize the string diagram of present frame string diagram and former frame to carry out difference processing, and method such as foreground detection obtains the moving target position, carry out at last obtaining moving target after the moving Object Segmentation.Wherein, the rim detection specific implementation can adopt operators such as existing Sobel, Roberts, Canny to realize; Difference processing, foreground detection and moving Object Segmentation etc. all can adopt existing maturation method to realize, introduce no longer one by one here.Here, what emphasize is that employing detects moving target based on the edge string diagram and promptly utilizes string diagram to carry out moving object detection and tracking.

In order to reduce The noise, can before extracting string diagram, carry out processing such as mean filter, medium filtering, gaussian filtering to image to be detected; And/or after obtaining string diagram, processing such as some filtering look like to loose to the edge string diagram.Wherein, above-mentioned various filtering belong to prior art, and specific implementation repeats no more here.

Step 1021: the target average brightness standard value Y that the moving target region is set Target

The suitable mean flow rate of the moving target of different colours is different, and therefore, the present invention at first carries out color analysis to the moving target that obtains, and according to analysis result the target average brightness standard value is set.

The automatic exposure adjustment be the brightness of image, can't change the colouring information of image.And the brightness difference that different colors is fit to, such as, to compare with black, the brightness of white is higher, and the brightness of black is lower.Therefore, this step is by analyzing moving target, and it is as follows according to analysis result the specific implementation method of target average brightness to be set:

The corresponding relation of color and brightness value is set; Being provided with of this corresponding relation can rule of thumb be provided with, such as one group of image to the different brightness of same color, select only brightness by the observer, i.e. the target average brightness standard value of this color correspondence, thus set up the color in the color space and the table of comparisons of brightness.

All color of pixel information in the detected moving target in the statistic procedure 101, corresponding relation according to color that sets in advance and brightness value, obtain the brightness value of different colours correspondence, the brightness value and the number of pixels in the motion target area of different colours are weighted the back summation, obtain target average brightness standard value Y TargetThe specific implementation formula is as follows:

Wherein, suppose to have n kind color, N is the sum of all pixels of moving target, P iFor color is C iThe number of pixel, Y iBe color C iCorresponding object brightness standard value, C iBe a kind of color in the color space.

Further,, color space can be divided into a few interval, each interval corresponding same appropriate brightness value in order to reduce amount of calculation.Such as: the value of establishing three color components of red, green, blue of a pixel is respectively R, G and B, and R/B and G/B can represent the colouring information of this point.R/B and the G/B pixel in certain scope thinks to have same object brightness standard value by its color similarity.In addition, so that reduce operand, when only detecting new moving target, just recomputate the target average brightness standard value, and during the tracking to same moving target, the target average brightness standard value is constant.

Need to prove target average brightness standard value Y TargetSetting except can also being redefined for a constant according to setting according to colouring information in the step 1021.

Step 1031: the current average brightness value Y that calculates the moving target region 1

This step is promptly calculated the mean flow rate of the moving region of present frame.Specific implementation can realize by methods such as brightness average or all pixels of weighted average, no longer describes in detail here.

Further, for fear of the sudden change of brightness, can utilize the average brightness value of former frame to be weighted average average brightness value as present frame.

Step 1041: according to the target average brightness standard value and the current average brightness value of the moving target region that obtains, calculate and regulate exposure control basic parameter, and full figure is carried out exposure-processed.Process ends.

Fig. 2 is the flow chart that the present invention regulates exposure control basic parameter, as shown in Figure 2, roughly comprises:

Step S21. determines the target brightness value scope.Promptly determine object brightness maximum Y MaxWith object brightness minimum value Y Min:

Y max=Y target+Y th

Y min=Y target-Y th

Wherein, luminance threshold Y ThValue determine by experience, if be not very high to brightness requirement, luminance threshold Y ThValue can be more greatly; If to the requirement height of brightness, luminance threshold Y ThValue can be littler, makes the target brightness value range littler.

Step S22. judges current average brightness value Y 1Whether in the target brightness value scope, if enter step S28; Otherwise, enter step S23.

Step S23. is according to current average brightness value Y 1, object brightness standard value Y TargetWith luminance threshold Y Th, obtain the time for exposure T that needs 2

This step specific implementation comprises:

Read time for exposure T 1, according to current average brightness value Y 1, object brightness standard value Y TargetWith luminance threshold Y Th, calculate the time for exposure T that needs according to following formula 2,

T 2 = G 1 T 1 f ( Y 1 ) G t arg et

In the following formula, Wherein, M is the brightness range maximum that sets in advance.

Step S24: judge the time for exposure T that needs 2Whether in the time for exposure of transducer scope, if, enter step S25 otherwise, enter step S26.

The time for exposure scope of transducer is known.

Step S25: get the time for exposure T that needs 2For the optimum time for exposure, to replace current time for exposure T 1, and utilize the exposure control basic parameter that includes the new time for exposure to expose process ends.

Step S26: according to current average brightness value Y 1, object brightness standard value Y Target, obtain required luminance gain value G 2

This step specific implementation comprises:

At first, read current luminance gain G 1, according to formula Calculate required luminance gain value G 2, wherein, M is the brightness range maximum that sets in advance.

Step S27: with the luminance gain value G of former setting 1Be adjusted into G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter and handle image.Process ends.

Step S28: keep current exposure control basic parameter, according to current exposure control basic parameter exposure and processing image.Process ends.

Step 1022: the current average brightness value that calculates the full figure zone.

This step is promptly calculated the mean flow rate in the full figure zone of present frame.Specific implementation can realize by methods such as brightness average or all pixels of weighted average, no longer describes in detail here.

Further, for fear of the sudden change of brightness, can utilize the average brightness value of former frame and average brightness value that present frame calculates to be weighted on average average brightness value as present frame.

Step 1032: according to the target average brightness standard value in default full figure zone and the current average brightness value that calculates, calculate and regulate exposure control basic parameter, and full figure is carried out exposure-processed.

The realization of this step belongs to prior art, repeats no more here.

Need to prove that the method for regulating exposure control basic parameter is:

The target average brightness standard value and the range of luminance values in motion target area and full figure zone are set respectively; Perhaps motion target area and full figure the zone shared one group of target component;

Utilize the information calculations exposure parameter of moving region, after perhaps two current average brightness values in the motion target area that obtains and full figure zone and target average brightness standard value being weighted, adjust the automatic exposure parameter as current average brightness value and object brightness standard value.

From the inventive method shown in Figure 1 as seen, camera carries out automatic exposure to image and handles according to the monochrome information of motion target area in the image or the monochrome information of full figure.Guaranteed that the motion target area in the image has suitable brightness, improved the contrast and the signal to noise ratio of motion target area, prevented that motion target area from crossing dark or overexposure, also made the full figure zone have acceptable brightness simultaneously.Especially, under the very weak or bright excessively situation of light, motion target area has suitable brightness in the image that automatic explosion method of the present invention obtains, and has improved the contrast and the signal to noise ratio of moving region, has ensured the processing such as motion tracking, moving target identification in later stage.

Under the situation that has moving target, also can calculate the target average brightness value in motion target area and full figure zone simultaneously respectively, then, so that motion target area has suitable brightness is after principle is weighted these two target average brightness values, as full figure being carried out the parameter that automatic exposure is regulated.

When in detecting image, not having moving target, calculate the current average brightness value of full figure, and according to the object brightness standard value and the brightness range in the full figure zone that is provided with, the calculation exposure time, (specific implementation was consistent with Fig. 2 with the luminance gain value, here no longer repeat), and utilize the exposure control basic parameter that calculates to carry out exposure-processed.

Fig. 3 is the composition structural representation of automatic exposure device of the present invention, and as shown in Figure 3, this device comprises: module, moving object detection module and automatic exposure parameter calculating module are set, wherein,

Module is set, is used to store the exposure control basic parameter that sets in advance;

The moving object detection module is used to receive image, and carries out moving object detection, when having moving target in detecting image, obtains motion target area, and sends the notice of regulating automatic exposure according to moving target to the automatic exposure parameter calculating module;

The automatic exposure parameter calculating module is used to receive notice and the image of regulating automatic exposure according to moving target, calculates the average luminance information of moving target region; Calculate and regulate the exposure control basic parameter that is provided with in the module according to the monochrome information that obtains, and full figure is carried out exposure-processed.

Described automatic exposure module specifically comprises with lower unit:

Receiving element is used to receive moving target and regulates notice and image;

The monochrome information acquiring unit is used for according to the image that receives the target average brightness standard value of moving target region being set, the current average brightness value of calculating moving target region;

Processing unit is used for target average brightness standard value and current average brightness value according to the moving target region that obtains, obtains when prior exposure control basic parameter, and full figure is carried out exposure-processed.

Further, the moving object detection module also is used for detecting image when not having moving target, sends the notice of utilizing full figure to regulate the information calculations exposure parameter to the automatic exposure parameter calculating module; Corresponding, the automatic exposure parameter calculating module, also be used to receive the notice of utilizing full figure information to adjust exposure parameter, the target average brightness standard value in full figure zone is set, the exposure control basic parameter that is provided with in the module is calculated and regulated to current average brightness value and target average brightness standard value according to the full figure zone that calculates, and carry out exposure-processed.

In addition, after receiving moving target adjusting notice, the automatic exposure parameter calculating module can also be, be used to be provided with the target average brightness value in full figure zone, after to be principle to the target average brightness value in the target average brightness value of moving target region and full figure zone be weighted so that motion target area has suitable brightness, as full figure being carried out the parameter that automatic exposure is regulated.At this moment, described automatic exposure parameter calculating module comprises: be used to be provided with first of motion target area target average brightness value the unit is set; Be used to be provided with the full figure zone the target average brightness value second the unit is set; After being used for two target average brightness standard values in the motion target area that obtains and full figure zone and current average brightness value be weighted, the calculation exposure Control Parameter, and as second processing unit (not shown among Fig. 4) of adjusted automatic exposure parameter.

The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (15)

1. an automatic explosion method is characterized in that, exposure control basic parameter is set, and set exposure control basic parameter comprises: current luminance gain G 1, current time for exposure T 1With luminance threshold Y ThThis method is further comprising the steps of:
Whether there is moving target in the detected image;
When in detecting image, having moving target, the target average brightness standard value Y of moving target region is set Target, calculate the current average brightness value Y of moving target region 1
Target average brightness standard value Y according to described moving target region TargetWith luminance threshold Y ThDetermine the target brightness value scope;
Current average brightness value Y according to described moving target region 1Whether fall in this target brightness value scope, determine whether to need to regulate exposure control basic parameter;
When needs are regulated exposure control basic parameter, according to the current average brightness value Y of described moving target region 1, target average brightness standard value Y TargetWith luminance threshold Y ThCalculate the time for exposure T that needs 2And
As time for exposure T 2In the time of in the time for exposure of transducer scope, get time for exposure T 2For the new time for exposure to replace current time for exposure T 1, and utilize the exposure control basic parameter that comprises the new time for exposure that full figure is exposed.
2. automatic explosion method according to claim 1 is characterized in that, the method for the moving target in the described detected image is: described image is carried out rim detection, and remove noise, obtain string diagram, utilize string diagram to carry out moving object detection and tracking.
3. automatic explosion method according to claim 2 is characterized in that, described obtain string diagram before, described image is carried out mean filter or medium filtering or gaussian filtering is handled, to remove noise;
And/or after obtaining string diagram, to described edge lines image some Filtering Processing of loosing, to remove noise.
4. automatic explosion method according to claim 1 is characterized in that, the described target average brightness standard value Y that the moving target region is set TargetMethod be: be redefined for a constant.
5. automatic explosion method according to claim 1 is characterized in that, the described target average brightness standard value Y that the moving target region is set TargetMethod be:
A1., the corresponding relation of color and luminance standard value is set;
B1. add up the colouring information of all pixels in the described detected moving target region,, obtain the luminance standard value of different colours correspondence according to the corresponding relation of described color and luminance standard value;
C1. the luminance standard value of different colours and the number of pixels in the moving target region are weighted summation, obtain the target average brightness standard value of moving target region.
6. method according to claim 1 is characterized in that, the described target average brightness standard value Y that the moving target region is set TargetMethod be:
A2., corresponding relation with the luminance standard value is set between chromatic zones;
B2. add up the colouring information of all pixels in the described detected moving target region, according between described chromatic zones with the corresponding relation of luminance standard value, obtain the interval corresponding luminance standard value of different colours;
C2. the luminance standard value in different colours interval and the number of pixels in the moving target region are weighted summation, obtain the target average brightness standard value of moving target region.
7. automatic explosion method according to claim 1 is characterized in that, as the time for exposure of needs T 2In the time of not in the time for exposure of transducer scope, according to current average brightness value Y 1, target average brightness standard value Y Target, obtain required luminance gain value G 2, with the luminance gain value G of former setting 1Be adjusted into required luminance gain value G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter and handle image, wherein according to formula Calculate required luminance gain value G 2, wherein M is for the brightness range maximum of setting, with the luminance gain value G of former setting 1Be adjusted into G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter.
8. automatic explosion method according to claim 1 is characterized in that, according to formula Calculate the time for exposure T that needs 2, wherein The brightness range maximum of M for being provided with, G TargetBe the object brightness yield value.
9. automatic explosion method according to claim 1 is characterized in that, described definite target brightness value scope is for determining object brightness maximum Y MaxWith object brightness minimum value Y Min, Y wherein Max=Y Target+ Y Th, Y Min=Y Target-Y Th
10. automatic explosion method according to claim 1 is characterized in that, when described detected moving target is new moving target, recomputate the target average brightness standard value, otherwise the target average brightness standard value is constant.
11. automatic explosion method according to claim 1 is characterized in that, also comprises:
The target average brightness standard value in full figure zone is set, calculates the current average brightness value in full figure zone;
After to be principle to the target average brightness standard value of the target average brightness standard value in full figure zone and moving target region be weighted so that the moving target region has appropriate brightness, as full figure being carried out the parameter that described automatic exposure is regulated, carry out described full figure being exposed.
12. automatic explosion method according to claim 1 is characterized in that, this method also comprises:
When in detecting image, not having moving target, the target average brightness standard value in full figure zone is set, calculate the current average brightness value in full figure zone, according to the target average brightness standard value in the full figure zone that is provided with and the current average brightness value in the full figure zone that calculates, calculate and regulate exposure control basic parameter, and exposure-processed is carried out in the full figure zone.
13. an automatic exposure device is characterized in that, this device comprises:
Module is set, is used to store the exposure control basic parameter that sets in advance;
The moving object detection module, be used to receive image, whether have moving target in the detected image, and when in detecting image, having moving target, obtain the moving target region, and send the notice of regulating automatic exposure according to moving target to the automatic exposure parameter calculating module; And
The automatic exposure parameter calculating module comprises receiving element, monochrome information acquiring unit and processing unit;
Described receiving element is used to receive notice and the image of regulating automatic exposure according to moving target;
Described monochrome information acquiring unit is used to be provided with the target average brightness standard value Y of moving target region Target, calculate the current average brightness value Y of moving target region 1Set exposure control basic parameter comprises: current luminance gain G 1, current time for exposure T 1With luminance threshold Y Th
Described processing unit is used for the target average brightness standard value Y according to described moving target region TargetWith luminance threshold Y ThDetermine the target brightness value scope, according to the current average brightness value Y of described moving target region 1Whether fall in this target brightness value scope, determine whether to need to regulate exposure control basic parameter, when needs are regulated the exposure of exposure control basic parameter, according to the current average brightness value Y of described moving target region 1, target average brightness standard value Y TargetWith luminance threshold Y ThCalculate the time for exposure T that needs 2, as time for exposure T 2In the time of in the time for exposure of transducer scope, get time for exposure T 2For the new time for exposure to replace current time for exposure T 1, and utilize the exposure control basic parameter that comprises the new time for exposure that full figure is exposed.
14. automatic exposure device according to claim 13 is characterized in that, described processing unit is further used for: as the time for exposure of needs T 2In the time of not in the time for exposure of transducer scope, according to current average brightness value Y 1, target average brightness standard value Y Target, obtain required luminance gain value G 2, with the luminance gain value G of former setting 1Be adjusted into required luminance gain value G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter and handle image, wherein according to formula Calculate required luminance gain value G 2, wherein M is for the brightness range maximum of setting, with the luminance gain value G of former setting 1Be adjusted into G 2Value, and utilize and to comprise new luminance gain value G 2The exposure of exposure control basic parameter.
15. automatic exposure device according to claim 13 is characterized in that,
Described moving object detection module also is used for detecting image when not having moving target, sends the notice of the monochrome information calculation exposure control basic parameter that utilizes the full figure zone to the automatic exposure parameter calculating module;
Described automatic exposure parameter calculating module, also be used to receive the notice of the monochrome information adjustment exposure control basic parameter that utilizes the full figure zone, the target average brightness standard value in full figure zone is set, calculate the current average brightness value in full figure zone, according to the target average brightness standard value in the full figure zone that is provided with and the current average brightness value in the full figure zone that calculates, calculate and regulate the exposure control basic parameter that is provided with in the module, and exposure-processed is carried out in the full figure zone.
CN2008101153282A 2008-06-20 2008-06-20 Automatic exposure method and apparatus CN101304489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101153282A CN101304489B (en) 2008-06-20 2008-06-20 Automatic exposure method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101153282A CN101304489B (en) 2008-06-20 2008-06-20 Automatic exposure method and apparatus

Publications (2)

Publication Number Publication Date
CN101304489A CN101304489A (en) 2008-11-12
CN101304489B true CN101304489B (en) 2010-12-08

Family

ID=40114172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101153282A CN101304489B (en) 2008-06-20 2008-06-20 Automatic exposure method and apparatus

Country Status (1)

Country Link
CN (1) CN101304489B (en)

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101534453B (en) * 2008-12-12 2011-07-27 昆山锐芯微电子有限公司 Method for controlling automatic exposure, image processor and optical imaging device
CN102006431B (en) * 2010-12-30 2012-08-22 无锡银泰微电子有限公司 Method for selecting image data source in optical instrument
CN102291538A (en) * 2011-08-17 2011-12-21 浙江博视电子科技股份有限公司 Automatic exposure method and control device of camera
KR101937708B1 (en) * 2012-07-09 2019-04-11 삼성전자 주식회사 Control System For Camera and Portable Device including the same, and control Method thereof
CN103841334B (en) * 2012-11-27 2017-04-12 原相科技股份有限公司 Exposure adjusting device, image homogenizing device and image homogenizing method
CN105208293B (en) * 2014-06-16 2020-03-27 杭州海康威视数字技术股份有限公司 Automatic exposure control method and device for digital camera
CN105323496B (en) * 2015-02-13 2019-01-11 维沃移动通信有限公司 Automatic explosion method, camera arrangement and mobile terminal
CN104994274A (en) * 2015-06-16 2015-10-21 惠州Tcl移动通信有限公司 Rapid photographing method based on mobile terminal and mobile terminal
CN104954700B (en) * 2015-06-17 2018-09-14 浙江宇视科技有限公司 A kind of overexposure control method and device
CN105225254B (en) * 2015-09-25 2017-12-05 凌云光技术集团有限责任公司 A kind of exposure method and system of automatic tracing localized target
CN105611188B (en) * 2015-12-23 2019-06-04 北京奇虎科技有限公司 Camera occlusion detection method and device based on automatic exposure
CN105812618B (en) * 2016-03-17 2019-09-17 浙江大华技术股份有限公司 A kind of method for testing motion and motion detection apparatus
JP2018022935A (en) * 2016-08-01 2018-02-08 ソニー株式会社 Imaging apparatus and control method therefor
EP3579545A1 (en) 2016-08-17 2019-12-11 Google LLC Camera setting adjustment based on predicted environmental factors and tracking systems employing the same
CN106454145B (en) * 2016-09-28 2019-05-31 湖南优象科技有限公司 A kind of automatic explosion method with scene adaptive
CN106308743B (en) * 2016-10-20 2018-06-15 天津大学 The eye-ground photography control circuit of the triangular wave illumination of predetermined level is raised in a kind of application
CN107147823A (en) * 2017-05-31 2017-09-08 广东欧珀移动通信有限公司 Exposure method, device, computer-readable recording medium and mobile terminal
CN107343156B (en) 2017-07-10 2020-03-13 Oppo广东移动通信有限公司 Adjusting method and device for automatic exposure control of face area
CN107463051B (en) * 2017-08-25 2020-04-24 维沃移动通信有限公司 Exposure method and device
CN108063899A (en) * 2017-12-12 2018-05-22 天津天地基业科技有限公司 A kind of exposure method for multiple target moving object
CN108234895B (en) * 2018-01-16 2020-06-09 昆山晔芯电子科技有限公司 Automatic exposure adjusting method and system for segmented exposure imaging
CN109040579A (en) * 2018-07-05 2018-12-18 平安科技(深圳)有限公司 A kind of filming control method, terminal and computer-readable medium
CN108847201B (en) * 2018-07-10 2020-06-05 京东方科技集团股份有限公司 Brightness processing method and device, computer equipment and readable storage medium
CN108989696A (en) * 2018-07-11 2018-12-11 江苏安威士智能安防有限公司 Automatic explosion method based on temperature figure
CN109308687A (en) * 2018-09-06 2019-02-05 百度在线网络技术(北京)有限公司 Method and apparatus for adjusting brightness of image
CN109688322A (en) * 2018-11-26 2019-04-26 维沃移动通信(杭州)有限公司 A kind of method, device and mobile terminal generating high dynamic range images
CN109922275A (en) * 2019-03-28 2019-06-21 苏州科达科技股份有限公司 Self-adapting regulation method, device and a kind of capture apparatus of exposure parameter
CN111626958A (en) * 2020-05-27 2020-09-04 重庆紫光华山智安科技有限公司 Exposure adjusting method, exposure adjusting device, computer-readable storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1159006A (en) * 1994-12-30 1997-09-10 索尼公司 Video camera exposure control system and method thereof
US6690424B1 (en) * 1997-03-19 2004-02-10 Sony Corporation Exposure control apparatus for controlling the exposure of an image pickup plane in a camera

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1159006A (en) * 1994-12-30 1997-09-10 索尼公司 Video camera exposure control system and method thereof
US6690424B1 (en) * 1997-03-19 2004-02-10 Sony Corporation Exposure control apparatus for controlling the exposure of an image pickup plane in a camera

Also Published As

Publication number Publication date
CN101304489A (en) 2008-11-12

Similar Documents

Publication Publication Date Title
CN104717432B (en) Handle method, image processing equipment and the digital camera of one group of input picture
EP2987135B1 (en) Reference image selection for motion ghost filtering
US8996072B2 (en) Method and apparatus for controlling light emitting elements in terminal device and terminal device
CN1926851B (en) Method and apparatus for optimizing capture device settings through depth information
EP2645705B1 (en) Image capturing apparatus and control method thereof
US7551797B2 (en) White balance adjustment
TWI389559B (en) Foreground image separation method
EP0932114B1 (en) A method of and apparatus for detecting a face-like region
KR101243335B1 (en) Image processing apparatus, method, program and image pickup apparatus
CN102457675B (en) Image shooting anti-shaking manner for handheld camera equipment
JP4482037B2 (en) Digital imaging exposure
US7394930B2 (en) Automatic white balancing of colour gain values
KR101257942B1 (en) Pre-processing method and apparatus in Wide Dynamic Range image processing
EP2200329B1 (en) Method and apparatus for automatic object detection through illuminant compensation in video signals
CN1856117B (en) Image display device, image signal processing circuit and chroma control method
US9117139B2 (en) Video processing apparatus and video processing method
JP4240023B2 (en) Imaging apparatus, imaging method and imaging program, and image processing apparatus, image processing method and image processing program
CN103488987B (en) Video-based method and device for detecting traffic lights
TWI259326B (en) Method and apparatus for automatic white balance
CN101247480B (en) Automatic exposure method based on objective area in image
CN103888681B (en) A kind of automatic explosion method and device
US7158687B2 (en) Image combination device
CN101242476B (en) Automatic correction method of image color and digital camera system
US9426438B2 (en) Image processing apparatus, image processing method, and electronic apparatus to detect and correct false color in high dynamic range imaging
KR101431601B1 (en) Face tracking in a camera processor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant