CN102724404B - All weather exposure gaining automatic regulation method and system - Google Patents
All weather exposure gaining automatic regulation method and system Download PDFInfo
- Publication number
- CN102724404B CN102724404B CN201210189160.6A CN201210189160A CN102724404B CN 102724404 B CN102724404 B CN 102724404B CN 201210189160 A CN201210189160 A CN 201210189160A CN 102724404 B CN102724404 B CN 102724404B
- Authority
- CN
- China
- Prior art keywords
- value
- stroboscopic lamp
- gray value
- exposure
- daytime
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000005286 illumination Methods 0.000 claims abstract description 24
- 230000007704 transition Effects 0.000 claims description 36
- 230000001105 regulatory effect Effects 0.000 claims description 12
- 230000002045 lasting effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 5
- 230000007613 environmental effect Effects 0.000 description 8
- 230000008901 benefit Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 210000000697 sensory organ Anatomy 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Stroboscope Apparatuses (AREA)
Abstract
The invention discloses an all weather exposure gaining automatic regulation method and an all weather exposure gaining automatic regulation system. The method comprises the following steps which are repeatedly executed: calculating an actual grey scale value of the shooting image; judging the state according to the calculated actual grey scale value and entering a corresponding mode; and calculating an exposure value and a gain value according to a corresponding user expected grey scale value set in the corresponding mode, adjusting a camera according to the calculated exposure value and gain value, and then shooting. The system comprises a grey scale value computation module, a grey scale value judgment module, a strobe lamp judgment module and an adjustment module. According to the illumination intensity under a shooting environment, the system can enter the corresponding mode, the exposure and gain parameters of the camera can be rapidly and automatically adjusted, so that the grey scale value of an image can achieve the grey scale value expected by a user, the best shooting effect is obtained, and the shooting image quality is improved.
Description
Technical field
The present invention relates to the Gain Automatic control method of a kind of round-the-clock exposure and system, specifically, relate to the method and system of a kind of round-the-clock automatic adjustment camera exposure parameter and gain parameter.
Background technology
At present, be provided with automatic exposure adjustment and automatic gain and adjust two modules in camera, they are that the exposure of the imaging sensor by regulating camera and gain parameter are controlled the image brightness of taking output.In the situation that camera parameter (exposure, digital gain, analog gain) is constant, the brightness (gray value) of the image that camera is taken can change with the intensity of illumination under shooting environmental, therefore, in the process of use camera, in order to adapt to the sense organ of human eye, the gray value of the image of shooting should remain on certain level, so, according to the intensity of illumination under shooting environmental, phase chance is to exposure and Gain Automatic corresponding adjustment, the gray value of expecting to reach user made.But, current existing camera only designed by day with night status under how to adjust exposure and gain parameter and reach the gray value of user's expectation, and when in daytime to night transition state and night to daytime when transition state, camera does not design method how to adjust exposure and gain parameter, can not reach well the gray value that user expects, the image brightness of shooting can not meet user's requirement.
Summary of the invention
The object of the present invention is to provide the Gain Automatic control method of a kind of round-the-clock exposure and system, the method and system can be according to the intensities of illumination under shooting environmental, enter exposure parameter and gain parameter that corresponding modes is adjusted camera automatically, make the gray value of image reach the gray value that user expects, obtain best shooting effect.
To achieve these goals, the present invention has adopted following technical scheme:
The Gain Automatic control method of a kind of round-the-clock exposure, is characterized in that: it comprises the steps:
Step 1: the actual grey value of calculating the image of taking;
Step 2: make the following judgment according to the actual grey value calculating in step 1:
If being less than or equal to set, this actual grey value expects to enter Night by gray value night;
If being more than or equal to set, this actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if this actual grey value is less than to set, judge now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime;
Step 3: gray value calculation exposure value and the yield value expected according to the relative users of setting in the corresponding modes entering, camera is adjusted according to this exposure value and the yield value that calculate, then take;
Step 4: return to step 1;
Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime; Expecting in this setting that gray value and this setting are expected to be provided with between gray value night daytime closes stroboscopic lamp gray value, opens stroboscopic lamp gray value, this is opened stroboscopic lamp gray value and is greater than this setting and expects gray value and be less than this pass stroboscopic lamp gray value night, and this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than this setting and expect gray value daytime;
In step 2: expect gray value and be greater than this setting to expect gray value night daytime if this actual grey value is less than this setting, do as judged:
Open stroboscopic lamp gray value and be greater than this setting and expect gray value night if this actual grey value is less than this, judge current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, open this stroboscopic lamp, to take, then skip to step 4; If now this stroboscopic lamp is in opening, this stroboscopic lamp is held open, and to take, then skips to step 4;
If this actual grey value is less than this setting, expect gray value and be greater than this pass stroboscopic lamp gray value daytime, judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, this stroboscopic lamp keeps closing, and to take, then skips to step 4; If now this stroboscopic lamp is in opening, close this stroboscopic lamp, to take, then skip to step 4;
If being less than or equal to this pass stroboscopic lamp gray value and being more than or equal to this, this actual grey value opens stroboscopic lamp gray value, now this stroboscopic lamp state of judgement: if now this stroboscopic lamp is in closed condition, enter this daytime to transition mode at night, execution step 3; If now this stroboscopic lamp is in opening, enter this night to transition mode on daytime, execution step 3.
In described step 1, the image of described shooting is at least one image of taking before the image that will take, wherein: in the time that the image of described shooting is two or more images of taking before the image that will take, the average gray value that described actual grey value is these two or more images.
Described step 4 is following steps: judge whether camera continues to carry out shooting: take if camera continues to carry out, return to described step 1; Take if camera does not continue to carry out, finish to take.
When continuously in described daytime to night when transition mode, along with dying down gradually of intensity of illumination, increase gradually exposure value and yield value, until exposure value and yield value increase to accessible maximum exposure value and maxgain value in shooting on daytime, increase exposure value and yield value by first increasing exposure value, when exposure value increases to after maximum, increase analog-gain value, when analog-gain value increases to after maximum, increase digital gain value, until increasing to maximum order, digital gain value carries out, wherein: when exposure value and yield value increase to take daytime in when accessible maximum exposure value and maxgain value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, open described stroboscopic lamp, carry out light filling by described stroboscopic lamp,
When continuously in described night to daytime when transition mode, along with the grow gradually of intensity of illumination, reduce gradually exposure value, until exposure value is reduced to accessible maximum exposure value in shooting on daytime, wherein: when exposure value be reduced to take daytime in when accessible maximum exposure value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, until the actual grey value of the image of described shooting while arriving described pass stroboscopic lamp gray value, is closed described stroboscopic lamp.
When adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value that user expects yet, if described stroboscopic lamp is not opened, carry out light filling by described stroboscopic lamp.
The Gain Automatic regulating system of a kind of round-the-clock exposure, is characterized in that: it comprises:
Gray value computing module, for calculating the actual grey value of image of shooting;
Gray value judge module, for making the following judgment according to the actual grey value calculating:
If being less than or equal to set, actual grey value expects to enter Night by gray value night;
If being more than or equal to set, actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if actual grey value is less than to set, stroboscopic lamp judge module judges now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime;
Adjusting module, gray value calculation exposure value and the yield value expected for the relative users of setting according to the corresponding modes entering, make camera adjust according to this exposure value and the yield value that calculate, then takes;
For this gray value judge module:
If this actual grey value is less than this setting, night is expected gray value and is greater than this setting to expect gray value daytime, and this gray value judge module does as judged:
Expect gray value night if this actual grey value is less than out stroboscopic lamp gray value and is greater than this setting, this stroboscopic lamp judge module judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, open this stroboscopic lamp, to take; If now this stroboscopic lamp is in opening, this stroboscopic lamp is held open, to take;
If this actual grey value is less than this setting, expect gray value and be greater than to close stroboscopic lamp gray value daytime, and this stroboscopic lamp judge module judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, this stroboscopic lamp keeps closing, to take; If now this stroboscopic lamp is in opening, close this stroboscopic lamp, to take;
If being less than or equal to this pass stroboscopic lamp gray value and being more than or equal to this, this actual grey value opens stroboscopic lamp gray value, now this stroboscopic lamp state of this stroboscopic lamp judge module judgement: if now this stroboscopic lamp is in closed condition, enter this daytime to transition mode at night, this adjusting module work; If now this stroboscopic lamp is in opening, enter this night to transition mode on daytime, this adjusting module work; Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime, expect that in this setting night is expected between gray value to be provided with this pass stroboscopic lamp gray value in gray value and this setting, this opens stroboscopic lamp gray value daytime, this is opened stroboscopic lamp gray value and is greater than this setting and expects gray value and be less than this pass stroboscopic lamp gray value night, and this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than this setting and expect gray value daytime.
The Gain Automatic regulating system of described round-the-clock exposure also comprises the lasting judge module of taking, and takes for judging whether camera continues to carry out: if camera does not continue to carry out shooting, finish to take, otherwise, continue to carry out and take.
The Gain Automatic regulating system of described round-the-clock exposure also comprises supplementary lighting module, for when adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value of user's expectation yet, if described stroboscopic lamp is not opened, carry out light filling by described stroboscopic lamp.
Advantage of the present invention is:
According to the intensity of illumination under shooting environmental, the present invention can enter corresponding modes, automatically adjust rapidly exposure parameter (referring to the time for exposure) and the gain parameter (comprising digital gain value and analog-gain value) of camera, thereby regulate the brightness (gray value) of captured image, make the gray value of image reach the gray value that user expects, obtain best shooting effect, improve the picture quality of taking.
Brief description of the drawings
Fig. 1 is the implementing procedure figure of the inventive method.
Embodiment
As shown in Figure 1, the Gain Automatic control method of the round-the-clock exposure of the present invention comprises the steps:
Step 1: the actual grey value of calculating the image of taking;
Step 2: make the following judgment according to the actual grey value calculating in step 1:
If being less than or equal to set, this actual grey value expects to enter Night by gray value night;
If being more than or equal to set, this actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if this actual grey value is less than to set, judge now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime; (it should be noted that stroboscopic lamp now unlatching, close that to be camera automatically perform according to shooting environmental now, be the function that camera self possesses.)
Step 3: gray value calculation exposure value and the yield value expected according to the relative users of setting in the corresponding modes entering, camera is adjusted according to this exposure value and the yield value that calculate, then taken that (image of now taking is said " image that will take " herein.);
Step 4: return to step 1;
Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime.
In step 1, the so-called image of taking is at least one image of taking before at the image that will take (this image refer to step 3 in the captured image of camera), wherein: in the time that the image of taking is two or more images of taking before the image that will take, the average gray value that the actual grey value of mentioning in the inventive method is these two or more images.
In the methods of the invention, expect that gray value expects also can be provided with between gray value pass stroboscopic lamp gray value night, opens stroboscopic lamp gray value with setting daytime setting, this open stroboscopic lamp gray value be greater than set night expect gray value and be less than this pass stroboscopic lamp gray value, this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than to set and expect gray value daytime, thereby, in step 2: expect gray value daytime and be greater than to set to expect gray value night if actual grey value is less than to set, can do as judged:
If actual grey value be less than this open stroboscopic lamp gray value and be greater than set night expect gray value, judge current stroboscopic lamp state: if now stroboscopic lamp is in closed condition, open stroboscopic lamp, to take, then skip to step 4; If now stroboscopic lamp is in opening, stroboscopic lamp is held open, and to take, then skips to step 4; (it should be noted that in practice, the actual grey value of image of taking when camera is less than this to be opened stroboscopic lamp gray value and is greater than and set while expecting gray value night, and usually, camera is now opening from command of execution stroboscopic lamp.)
Expect gray value and be greater than this pass stroboscopic lamp gray value daytime if actual grey value is less than to set, judge current stroboscopic lamp state: if now stroboscopic lamp is in closed condition, stroboscopic lamp keeps closing, and to take, then skips to step 4; If now stroboscopic lamp is in opening, close stroboscopic lamp, to take, then skip to step 4; (it should be noted that in practice, set when expecting gray value daytime and being greater than this pass stroboscopic lamp gray value when the actual grey value of image shot by camera is less than, usually, camera is now closed condition from command of execution stroboscopic lamp.)
Open stroboscopic lamp gray value if actual grey value is less than or equal to this pass stroboscopic lamp gray value and is more than or equal to this, judge now stroboscopic lamp state: if now stroboscopic lamp is in closed condition, enter daytime to transition mode at night, execution step 3; If now stroboscopic lamp is in opening, enter night to transition mode on daytime, execution step 3 (it should be noted that stroboscopic lamp now unlatching, close that to be camera automatically perform according to shooting environmental now, be the function that camera self possesses.)。
For the inventive method, expect gray value and set and expect night to design again and close stroboscopic lamp gray value between gray value daytime in setting, the object of opening stroboscopic lamp gray value is, open stroboscopic lamp gray value and be greater than and set night while expecting gray value when the actual grey value of image shot by camera is less than this, camera need not be adjusted exposure and gain parameter, but the gray value that can realize simply photographic images by opening the mode of stroboscopic lamp reaches the object of the gray value that now user expects, similarly, when being less than, the actual grey value of image shot by camera sets when expecting gray value daytime and being greater than this pass stroboscopic lamp gray value, camera need not be adjusted exposure and gain parameter, but the gray value that can realize simply photographic images by closing the mode of stroboscopic lamp reaches the object of the gray value that now user expects, the benefit of doing is like this processing procedure of having simplified camera, make camera stable, energy-conservation.
In actual applications, step 4 can expand to following steps: judge whether camera continues to carry out shooting: take if camera continues to carry out, return to step 1; Take if camera does not continue to carry out, finish to take.
Use continuously camera to take under situation user, when continuously in daytime to night when transition mode, along with dying down gradually of intensity of illumination, should increase gradually exposure value and yield value, until exposure value and yield value increase to accessible maximum exposure value and maxgain value in shooting on daytime, wherein: when exposure value and yield value increase to take daytime in when accessible maximum exposure value and maxgain value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, open stroboscopic lamp, carry out light filling by stroboscopic lamp.It should be noted that increase exposure value and yield value can carry out in the following order: first increase exposure value, when exposure value increases to after maximum, increase analog-gain value, when analog-gain value increases to after maximum, increase digital gain value, until digital gain value increases to maximum.
Use continuously camera to take under situation user, when continuously in night to daytime when transition mode, along with the grow gradually of intensity of illumination, should reduce gradually exposure value, until exposure value is reduced to accessible maximum exposure value in shooting on daytime, wherein: when exposure value be reduced to take daytime in when accessible maximum exposure value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, until the actual grey value of the image of described shooting while arriving described pass stroboscopic lamp gray value, is closed stroboscopic lamp.
When adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value that user expects yet, if stroboscopic lamp is not opened, can open stroboscopic lamp, carry out light filling by stroboscopic lamp.This kind of mode is applicable to carry out any situation of light filling, such as Night, daytime to night transition mode, night to daytime transition mode etc., object is to make the brightness of image reach desired value, does not possess and this kind of mode has camera at present.
By day in pattern, can carry out in the following order the adjustment of exposure value and yield value: first reduce digital gain value, when digital gain value is reduced to after minimum, reduce analog-gain value, when analog-gain value is reduced to after minimum, reduce exposure value (time for exposure), until exposure value is reduced to minimum.
The Gain Automatic control method of round-the-clock exposure based on above, the invention allows for the Gain Automatic regulating system of a kind of round-the-clock exposure, and it comprises:
Gray value computing module, for calculating the actual grey value of image of shooting;
Gray value judge module, for making the following judgment according to the actual grey value calculating:
If being less than or equal to set, actual grey value expects to enter Night by gray value night;
If being more than or equal to set, actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if actual grey value is less than to set, stroboscopic lamp judge module judges now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime;
Adjusting module, gray value calculation exposure value and the yield value expected for the relative users of setting according to the corresponding modes entering, make camera adjust according to this exposure value and the yield value that calculate, then takes;
Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime.
In practice, the Gain Automatic regulating system of the round-the-clock exposure of the present invention also can comprise the lasting judge module of taking, and takes for judging whether camera continues to carry out: if camera does not continue to carry out shooting, finish to take, otherwise, continue to carry out and take.
For gray value judge module:
Expect gray value daytime and be greater than to set to expect gray value night if actual grey value is less than to set, gray value judge module can do as judged:
Expect gray value night if actual grey value is less than out stroboscopic lamp gray value and is greater than to set, stroboscopic lamp judge module judges current stroboscopic lamp state: if now stroboscopic lamp is in closed condition, open stroboscopic lamp, to take; If now stroboscopic lamp is in opening, stroboscopic lamp is held open, to take;
Expect gray value daytime and be greater than to close stroboscopic lamp gray value if actual grey value is less than to set, stroboscopic lamp judge module judges current stroboscopic lamp state: if now stroboscopic lamp is in closed condition, stroboscopic lamp keeps closing, to take; If now stroboscopic lamp is in opening, close stroboscopic lamp, to take;
If being less than or equal to this pass stroboscopic lamp gray value and being more than or equal to this, actual grey value opens stroboscopic lamp gray value, stroboscopic lamp judge module judges now stroboscopic lamp state: if now stroboscopic lamp is in closed condition, enter daytime to transition mode at night, adjusting module work; If now stroboscopic lamp is in opening, enter night to transition mode on daytime, adjusting module work;
Wherein: expect that night is expected between gray value to be provided with this pass stroboscopic lamp gray value in gray value and setting, this opens stroboscopic lamp gray value daytime setting, this is opened stroboscopic lamp gray value and is greater than to set and expects gray value and be less than this pass stroboscopic lamp gray value night, and this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than to set and expect gray value daytime.
In practice, the Gain Automatic regulating system of the round-the-clock exposure of the present invention also can comprise supplementary lighting module, be used for when adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value of user's expectation yet, if stroboscopic lamp is not opened, open stroboscopic lamp, carry out light filling by stroboscopic lamp.
In the present invention, exposure value refers to the time for exposure, and yield value comprises analog-gain value and digital gain value.Set and expect night is expected gray value, closes stroboscopic lamp gray value, opens stroboscopic lamp gray value to be that camera self is pre-set in gray value, setting daytime, the designed setting of different cameras expects gray value daytime, set expect gray value night, close stroboscopic lamp gray value, opening stroboscopic lamp gray value can be different, but their size order is fixed: set and expect that gray value > closes stroboscopic lamp gray value > and opens stroboscopic lamp gray value > and set and expect gray value night daytime.The gray value that under each pattern, the user of respective settings expects is that user or camera itself are pre-set.
Advantage of the present invention is:
According to the intensity of illumination under shooting environmental, the present invention can enter corresponding modes, automatically adjust rapidly exposure parameter (referring to the time for exposure) and the gain parameter (comprising digital gain value and analog-gain value) of camera, thereby regulate the brightness (gray value) of captured image, make the gray value of image reach the gray value that user expects, obtain best shooting effect, improve the picture quality of taking.That is to say, in the time that illumination changes, phase chance enters corresponding modes according to current intensity of illumination, the gray value of expecting according to user pre-set in pattern calculates and adjusts exposure (as the time for exposure), gain parameter (as digital gain, analog gain) automatically, and the gradation of image value that camera is shot is maintained on the gray value of user's expectation.
The present invention has overcome the image brightness causing due to illumination variation, and great changes will take place and can not meet the defect that user's shooting effect requires, and in reality is implemented, the present invention regulates the process stabilization of exposure and gain, there will not be scintillation.
When camera is in illumination weak lower time of shooting environmental, the present invention can automatically open stroboscopic lamp and carry out light filling, has made up the defect that current camera cannot automatic light-supplementing in the weak situation of illumination.
In the time of the state of the state of camera in transition at daytime to night and transition on night to daytime, the process that the present invention adjusts exposure and gain can adapt to the situation that intensity of illumination gradually changes well, can reach the gray value that user expects, the image brightness of shooting can meet user's requirement well.
If the image of once taking does not reach the gray value that user expects well, this method of the present invention design can progressively be adjusted exposure and gain, on user once or under while taking several times, just can make the image of taking reach the gray value that user expects.
Above-mentioned is preferred embodiment of the present invention and the know-why used thereof; for a person skilled in the art; in the situation that not deviating from the spirit and scope of the present invention; any apparent change such as equivalent transformation, simple replacement based on technical solution of the present invention basis, within all belonging to protection range of the present invention.
Claims (8)
1. the Gain Automatic control method of round-the-clock exposure, is characterized in that: it comprises the steps:
Step 1: the actual grey value of calculating the image of taking;
Step 2: make the following judgment according to the actual grey value calculating in step 1:
If being less than or equal to set, this actual grey value expects to enter Night by gray value night;
If being more than or equal to set, this actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if this actual grey value is less than to set, judge now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime;
Step 3: gray value calculation exposure value and the yield value expected according to the relative users of setting in the corresponding modes entering, camera is adjusted according to this exposure value and the yield value that calculate, then take;
Step 4: return to step 1;
Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime;
Expecting in this setting that gray value and this setting are expected to be provided with between gray value night daytime closes stroboscopic lamp gray value, opens stroboscopic lamp gray value, this is opened stroboscopic lamp gray value and is greater than this setting and expects gray value and be less than this pass stroboscopic lamp gray value night, and this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than this setting and expect gray value daytime;
In step 2: expect gray value and be greater than this setting to expect gray value night daytime if this actual grey value is less than this setting, do as judged:
Open stroboscopic lamp gray value and be greater than this setting and expect gray value night if this actual grey value is less than this, judge current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, open this stroboscopic lamp, to take, then skip to step 4; If now this stroboscopic lamp is in opening, this stroboscopic lamp is held open, and to take, then skips to step 4;
If this actual grey value is less than this setting, expect gray value and be greater than this pass stroboscopic lamp gray value daytime, judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, this stroboscopic lamp keeps closing, and to take, then skips to step 4; If now this stroboscopic lamp is in opening, close this stroboscopic lamp, to take, then skip to step 4;
If being less than or equal to this pass stroboscopic lamp gray value and being more than or equal to this, this actual grey value opens stroboscopic lamp gray value, now this stroboscopic lamp state of judgement: if now this stroboscopic lamp is in closed condition, enter this daytime to transition mode at night, execution step 3; If now this stroboscopic lamp is in opening, enter this night to transition mode on daytime, execution step 3.
2. the Gain Automatic control method of round-the-clock exposure as claimed in claim 1, is characterized in that:
In described step 1, the image of described shooting is at least one image of taking before the image that will take, wherein: in the time that the image of described shooting is two or more images of taking before the image that will take, the average gray value that described actual grey value is these two or more images.
3. the Gain Automatic control method of round-the-clock exposure as claimed in claim 1, is characterized in that:
Described step 4 is following steps: judge whether camera continues to carry out shooting: take if camera continues to carry out, return to described step 1; Take if camera does not continue to carry out, finish to take.
4. the Gain Automatic control method of round-the-clock exposure as claimed in claim 1, is characterized in that:
When continuously in described daytime to night when transition mode, along with dying down gradually of intensity of illumination, increase gradually exposure value and yield value, until exposure value and yield value increase to accessible maximum exposure value and maxgain value in shooting on daytime, increase exposure value and yield value by first increasing exposure value, when exposure value increases to after maximum, increase analog-gain value, when analog-gain value increases to after maximum, increase digital gain value, until increasing to maximum order, digital gain value carries out, wherein: when exposure value and yield value increase to take daytime in when accessible maximum exposure value and maxgain value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, open described stroboscopic lamp, carry out light filling by described stroboscopic lamp,
When continuously in described night to daytime when transition mode, along with the grow gradually of intensity of illumination, reduce gradually exposure value, until exposure value is reduced to accessible maximum exposure value in shooting on daytime, wherein: when exposure value be reduced to take daytime in when accessible maximum exposure value, if the gray value of image still can not reach the gray value that user expects, keep exposure value and yield value constant, until the actual grey value of the image of described shooting while arriving described pass stroboscopic lamp gray value, is closed described stroboscopic lamp.
5. the Gain Automatic control method of round-the-clock exposure as claimed in claim 1, is characterized in that:
When adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value that user expects yet, if described stroboscopic lamp is not opened, carry out light filling by described stroboscopic lamp.
6. the Gain Automatic regulating system of round-the-clock exposure, is characterized in that: it comprises:
Gray value computing module, for calculating the actual grey value of image of shooting;
Gray value judge module, for making the following judgment according to the actual grey value calculating:
If being less than or equal to set, actual grey value expects to enter Night by gray value night;
If being more than or equal to set, actual grey value expects to enter day mode by gray value daytime;
Expect gray value daytime and be greater than to set to expect gray value night if actual grey value is less than to set, stroboscopic lamp judge module judges now stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, enter daytime to transition mode at night; If now this stroboscopic lamp is in opening, enter night to transition mode on daytime;
Adjusting module, gray value calculation exposure value and the yield value expected for the relative users of setting according to the corresponding modes entering, make camera adjust according to this exposure value and the yield value that calculate, then takes;
For this gray value judge module:
If this actual grey value is less than this setting, night is expected gray value and is greater than this setting to expect gray value daytime, and this gray value judge module does as judged:
Expect gray value night if this actual grey value is less than out stroboscopic lamp gray value and is greater than this setting, this stroboscopic lamp judge module judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, open this stroboscopic lamp, to take; If now this stroboscopic lamp is in opening, this stroboscopic lamp is held open, to take;
If this actual grey value is less than this setting, expect gray value and be greater than to close stroboscopic lamp gray value daytime, and this stroboscopic lamp judge module judges current this stroboscopic lamp state: if now this stroboscopic lamp is in closed condition, this stroboscopic lamp keeps closing, to take; If now this stroboscopic lamp is in opening, close this stroboscopic lamp, to take;
If being less than or equal to this pass stroboscopic lamp gray value and being more than or equal to this, this actual grey value opens stroboscopic lamp gray value, now this stroboscopic lamp state of this stroboscopic lamp judge module judgement: if now this stroboscopic lamp is in closed condition, enter this daytime to transition mode at night, this adjusting module work; If now this stroboscopic lamp is in opening, enter this night to transition mode on daytime, this adjusting module work;
Wherein: this setting expects that gray value is greater than this setting and expects gray value night daytime, expect that in this setting night is expected between gray value to be provided with this pass stroboscopic lamp gray value in gray value and this setting, this opens stroboscopic lamp gray value daytime, this is opened stroboscopic lamp gray value and is greater than this setting and expects gray value and be less than this pass stroboscopic lamp gray value night, and this pass stroboscopic lamp gray value is greater than this and opens stroboscopic lamp gray value and be less than this setting and expect gray value daytime.
7. the Gain Automatic regulating system of round-the-clock exposure as claimed in claim 6, is characterized in that:
The Gain Automatic regulating system of described round-the-clock exposure also comprises the lasting judge module of taking, and takes for judging whether camera continues to carry out: if camera does not continue to carry out shooting, finish to take, otherwise, continue to carry out and take.
8. the Gain Automatic regulating system of round-the-clock exposure as claimed in claim 6, is characterized in that:
The Gain Automatic regulating system of described round-the-clock exposure also comprises supplementary lighting module, for when adjusting after exposure value and yield value, due to intensity of illumination a little less than, when the gray value of image does not reach the gray value of user's expectation yet, if described stroboscopic lamp is not opened, carry out light filling by described stroboscopic lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210189160.6A CN102724404B (en) | 2012-06-08 | 2012-06-08 | All weather exposure gaining automatic regulation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210189160.6A CN102724404B (en) | 2012-06-08 | 2012-06-08 | All weather exposure gaining automatic regulation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102724404A CN102724404A (en) | 2012-10-10 |
CN102724404B true CN102724404B (en) | 2014-06-25 |
Family
ID=46950056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210189160.6A Active CN102724404B (en) | 2012-06-08 | 2012-06-08 | All weather exposure gaining automatic regulation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102724404B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103051837A (en) * | 2012-12-17 | 2013-04-17 | 广东欧珀移动通信有限公司 | A method and device for improving camera dark shooting effect |
CN103475813B (en) * | 2013-08-26 | 2018-01-16 | 上海斐讯数据通信技术有限公司 | A kind of photographic intelligence add-on system and information adding method |
CN103957363A (en) * | 2014-05-16 | 2014-07-30 | 深圳市中兴移动通信有限公司 | Flash camera shooting method and camera shooting device |
CN104253976A (en) * | 2014-09-03 | 2014-12-31 | 北京汉王智通科技有限公司 | Surveillance camera filtering system and method |
CN104202529B (en) * | 2014-09-18 | 2018-07-24 | 深圳市中智科创机器人有限公司 | A kind of camera status control method and its device |
CN105491285B (en) * | 2015-12-03 | 2019-02-15 | 浙江宇视科技有限公司 | Method and device for switching working mode of PIR camera |
CN105763814B (en) * | 2016-04-26 | 2019-03-29 | 南昌黑鲨科技有限公司 | The method and device of night scene shooting |
CN108391357B (en) * | 2018-05-03 | 2020-06-16 | 上海雷盎云智能技术有限公司 | Intelligent household lighting control method and device |
CN109785423B (en) * | 2018-12-28 | 2023-10-03 | 广州方硅信息技术有限公司 | Image light supplementing method and device and computer equipment |
WO2022160294A1 (en) * | 2021-01-29 | 2022-08-04 | 深圳市大疆创新科技有限公司 | Exposure control method and device, and computer-readable storage medium |
CN113125346A (en) * | 2021-04-19 | 2021-07-16 | 唐山学院 | Surface defect detection system classification group optimization method based on area array light source |
CN113281341A (en) * | 2021-04-19 | 2021-08-20 | 唐山学院 | Detection optimization method of double-sensor surface quality detection system of hot-dip galvanized strip steel |
CN115174820B (en) * | 2022-09-06 | 2022-11-25 | 安徽科大擎天科技有限公司 | Quick adjusting method for automatic exposure of camera |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102416A (en) * | 2007-07-25 | 2008-01-09 | 北京中星微电子有限公司 | Automatic control method and device for light supplement lamp of camera device |
CN101119439A (en) * | 2007-08-22 | 2008-02-06 | 东风汽车有限公司 | Automatic control method for clear lane image shooting by vehicle-mounted camera |
-
2012
- 2012-06-08 CN CN201210189160.6A patent/CN102724404B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101102416A (en) * | 2007-07-25 | 2008-01-09 | 北京中星微电子有限公司 | Automatic control method and device for light supplement lamp of camera device |
CN101119439A (en) * | 2007-08-22 | 2008-02-06 | 东风汽车有限公司 | Automatic control method for clear lane image shooting by vehicle-mounted camera |
Also Published As
Publication number | Publication date |
---|---|
CN102724404A (en) | 2012-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102724404B (en) | All weather exposure gaining automatic regulation method and system | |
CN106454145B (en) | A kind of automatic explosion method with scene adaptive | |
CN106713778B (en) | Exposal control method and device | |
CN110536051B (en) | Camera device, control method and storage medium thereof | |
CN105979162B (en) | A kind of the automatic exposure method of adjustment and device of expansible dynamic image | |
CN105242481B (en) | A kind of control method and device of aperture | |
CN102104785B (en) | Image pickup apparatus and controlling method thereof | |
CN104202537B (en) | A kind of light-dimming method of thermal camera | |
CN104137529B (en) | Method and apparatus for the enhanced automatic adjustment of the focus of digital photography, exposure and white balance | |
CN105635597B (en) | The automatic explosion method and system of in-vehicle camera | |
CN101359148B (en) | Method for automatic exposure regulation and control system | |
CN104184957B (en) | Automatic exposure control method based on self-adaptive predictive image average brightness and suitable for space detection imaging | |
CN101873437B (en) | Method and device for regulating exposure | |
CN106254787B (en) | Filming apparatus and image pickup method | |
TWI594631B (en) | Automatic light adjusting method and related camera | |
CN102143325B (en) | Automatic exposure device and method thereof | |
US8818184B2 (en) | Lens device, camera system, and exposure control method | |
CN103428439A (en) | Automatic exposure control method and device for imaging equipment | |
CN106412534B (en) | A kind of brightness of image adjusting method and device | |
CN103237175A (en) | Digital camera automatic exposure method based on human visual characteristics | |
CN108551553A (en) | A kind of light compensating lamp control method and device | |
CN101489050A (en) | Automatic exposure control method | |
CN103488026A (en) | Method and system for adjusting brightness of camera fill light | |
CN106851126A (en) | A kind of intelligent dimming method | |
CN103685973A (en) | Method and device for local area exposure adjustment on basis of encoder |
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 |