CN108419025A - A kind of exposure parameter method of adjustment, device and readable medium - Google Patents

A kind of exposure parameter method of adjustment, device and readable medium Download PDF

Info

Publication number
CN108419025A
CN108419025A CN201810540390.XA CN201810540390A CN108419025A CN 108419025 A CN108419025 A CN 108419025A CN 201810540390 A CN201810540390 A CN 201810540390A CN 108419025 A CN108419025 A CN 108419025A
Authority
CN
China
Prior art keywords
exposure
frame image
adjustment
current
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810540390.XA
Other languages
Chinese (zh)
Other versions
CN108419025B (en
Inventor
刘淼
孙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Tusimple Future Technology Co Ltd
Original Assignee
Beijing Tusimple Future Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Tusimple Future Technology Co Ltd filed Critical Beijing Tusimple Future Technology Co Ltd
Priority to CN201810540390.XA priority Critical patent/CN108419025B/en
Publication of CN108419025A publication Critical patent/CN108419025A/en
Application granted granted Critical
Publication of CN108419025B publication Critical patent/CN108419025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a kind of exposure parameter method of adjustment, device and readable mediums, belong to technical field of image processing, in method and device provided by the invention, the exposure evaluation value of current frame image is determined, and the exposure status of current frame image is determined according to the exposure evaluation value;Obtain the exposure status of previous frame image and the exposure parameter and adjustment direction of the exposure status adjustment based on previous frame image;And according to the exposure status of the exposure status of current frame image and previous frame image, determine that exposure parameter adjusts type;And the exposure parameter and adjustment direction of the exposure status adjustment according to exposure parameter adjustment type and based on previous frame image, current exposure parameter is adjusted.Current exposure parameter is adjusted using the above method, compared with the prior art in only adjusted for exposure parameter by the exposure status of current frame image, effectively prevent the generation of reforming phenomena, while also ensuring picture quality.

Description

A kind of exposure parameter method of adjustment, device and readable medium
Technical field
The present invention relates to a kind of technical field of image processing more particularly to exposure parameter method of adjustment, device and readable Jie Matter.
Background technology
With the raising of human living standard and modernization of industry level, imaging device (such as camera) is by more and more Applied to machine vision, quality testing and automatic Pilot in all trades and professions in daily, such as consumer Taking Photographic, industry etc. Deng.Some algorithms built in camera, so that system carries out feature extraction and identification to image automatically, such as recognition of face, industry lack Fall into detection and safety monitoring etc..At this point, picture quality is most important basis.If the original image quality of camera output is not Good (performance of such as smudgy or details is inadequate), then back-end system identification will be difficult.
To solve this problem, automatic exposure (Automatic Exposure, AE) algorithm comes into being, and AE algorithms are intended to Camera is set to automatically control exposure process in shooting process, to obtain the moderate image of brightness, to ensure the image matter of output Amount.And the adjustment of exposure parameter is an important factor for ensureing picture quality, and existing AE exposure parameters method of adjustment is basis The exposure evaluation value of current frame image directly adjusts exposure parameter, but will appear image so the bright concussion secretly changed is existing repeatedly As.
Therefore, when imaging device uses automatic exposure algorithm, it is urgently to be resolved hurrily for how preventing the appearance of reforming phenomena One of technical problem.
Invention content
A kind of exposure parameter method of adjustment of offer of the embodiment of the present invention, device and readable medium, to be adopted in imaging device When with automatic exposure algorithm, the appearance of reforming phenomena is prevented, ensures the picture quality of output.
In a first aspect, the embodiment of the present invention provides a kind of exposure parameter method of adjustment, including:
It determines the exposure evaluation value of current frame image, and determines the exposure shape of current frame image according to the exposure evaluation value State;And
Obtain the exposure status of previous frame image and the exposure parameter and tune of the exposure status adjustment based on previous frame image Perfect square to;And
According to the exposure status of the exposure status of current frame image and previous frame image, determine that exposure parameter adjusts type; And
The exposure parameter of type and the exposure status adjustment based on previous frame image is adjusted according to the exposure parameter And adjustment direction, current exposure parameter is adjusted.
It, not only can be in this way, with only exposure parameter is adjusted using the exposure status of current frame image in the prior art It effectively prevent reforming phenomena, it can also be ensured that using the picture quality of frame image obtained by the above method.
Preferably, determining the exposure status of current frame image according to the exposure evaluation value, specifically include:
If it is determined that the exposure evaluation value is less than preset lower exposure limit value, it is determined that the exposure status of current frame image For under-exposure;And
If it is determined that the exposure evaluation value is more than preset exposure upper-limit value, it is determined that the exposure status of current frame image It is over-exposed.
The exposure status of current frame image can be determined faster by exposing upper lower limit value by introducing.
Preferably, the exposure parameter includes time for exposure and exposure gain;And the exposure parameter adjusts type packet Include insufficient excessively class and excessively insufficient class, wherein the exposure status that the insufficient excessively class is used to characterize current frame image is to expose Light is excessively and the exposure status of previous frame image is under-exposure;The excessive insufficient class is used to characterize the exposure of current frame image State is that under-exposed and previous frame image exposure status is over-exposed.
Time for exposure and exposure gain are the important parameters in automatic exposure algorithm, can by adjusting the two exposure parameters To ensure obtained frame image quality.
Further, however, it is determined that the exposure parameter adjustment type gone out is insufficient excessive class, then according to the exposure parameter tune The exposure parameter and adjustment direction of whole type and the exposure status adjustment based on previous frame image, to current exposure parameter It is adjusted, specifically includes:
If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to tune up, then reduces current exposure Between light time;
If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to tune up, then judges current exposure Whether the gain of light is minimum exposure gain;If it is not, then reducing current exposure gain;If so, reducing the time for exposure Adjusting step, and turn the current time for exposure down using the adjusting step after reduction.
It, can be effective by using the above method in previous frame image exposure deficiency and over-exposed current frame image The appearance of reforming phenomena is prevented, while the exposure strategies of agreement can not influenced to the greatest extent.
Preferably, if it is determined that exposure parameter adjustment type be excessively insufficient class, then adjusted according to the exposure parameter Type and it is described based on previous frame image exposure status adjustment exposure parameter and adjustment direction, to current exposure parameter into Row adjustment, specifically includes:
If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to turn down, then increases current exposure The gain of light;
If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to turn down, then judges current exposure Whether it is maximum exposure time between light time;If it is not, then increasing the current time for exposure;If so, reducing the exposure gain Adjusting step, and increase current exposure gain using the adjusting step after reduction.
In the case that previous frame image exposure excessively and current frame image under-exposure, can be with by using the above method It is effectively prevent the appearance of reforming phenomena, while the exposure strategies of agreement can not influenced to the greatest extent.
Optionally, the exposure parameter adjustment type further includes excessive class, and the excessive class is for characterizing current frame image Exposure status with previous frame image is over-exposed;And the method, further include:
If it is determined that exposure parameter adjustment type be excessive class, then judge whether current exposure gain is minimum exposure Gain;If it is not, then reducing current exposure gain;If so, reducing the current time for exposure.
It is over-exposed in present frame and previous frame image, by using the above method, can effectively prevent shaking The appearance of phenomenon is swung, while the exposure strategies of agreement can not influenced to the greatest extent.
Optionally, the exposure parameter adjustment type further includes insufficient class, and the deficiency class is for characterizing current frame image Exposure status with previous frame image is under-exposure;And the method, further include:
If it is determined that exposure parameter adjustment type be insufficient class, then judge whether the current time for exposure is maximum exposure Time;If it is not, then increasing the current time for exposure;If so, increasing current exposure gain.
It is under-exposed in present frame and previous frame image, by using the above method, can effectively prevent shaking The appearance of phenomenon is swung, while the exposure strategies of agreement can not influenced to the greatest extent.
Second aspect, the embodiment of the present invention provide a kind of exposure parameter adjusting apparatus, including:
First determination unit, the exposure evaluation value for determining current frame image, and determined according to the exposure evaluation value The exposure status of current frame image;
Acquiring unit, the exposure status for obtaining previous frame image and the exposure status adjustment based on previous frame image Exposure parameter and adjustment direction;
Second determination unit is used for the exposure status of the exposure status and previous frame image according to current frame image, determines Exposure parameter adjusts type;
Adjustment unit, for adjusting type and the exposure status tune based on previous frame image according to the exposure parameter Whole exposure parameter and adjustment direction, is adjusted current exposure parameter.
Preferably, first determination unit, is specifically used for if it is determined that the exposure evaluation value is less than preset exposure Lower limiting value, it is determined that the exposure status of current frame image is under-exposure;And if it is determined that the exposure evaluation value is more than in advance If exposure upper-limit value, it is determined that the exposure status of current frame image be it is over-exposed.
Preferably, the exposure parameter includes time for exposure and exposure gain;And the exposure parameter adjusts type packet Include insufficient excessively class and excessively insufficient class, wherein the exposure status that the insufficient excessively class is used to characterize current frame image is to expose Light is excessively and the exposure status of previous frame image is under-exposure;The excessive insufficient class is used to characterize the exposure of current frame image State is that under-exposed and previous frame image exposure status is over-exposed.
Further, the adjustment unit, if the exposure parameter determined specifically for second determination unit adjusts Type is insufficient excessive class, then if it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to tune up, then subtracts The small current time for exposure;If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to tune up, then judges Whether current exposure gain is minimum exposure gain;If it is not, then reducing current exposure gain;If so, reducing the exposure Adjusting step between light time, and turn the current time for exposure down using the adjusting step after reduction.
Preferably, the adjustment unit, if the exposure parameter determined specifically for second determination unit adjusts class Type is excessively insufficient class, then if it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to turn down, then increases Current exposure gain;If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to turn down, then judges to work as Whether the preceding time for exposure is maximum exposure time;If it is not, then increasing the current time for exposure;If so, reducing the exposure The adjusting step of gain, and increase current exposure gain using the adjusting step after reduction.
Preferably, the exposure parameter adjustment type further includes excessive class, the excessive class is for characterizing current frame image Exposure status with previous frame image is over-exposed;And
The adjustment unit, it is excessive class to be additionally operable to the exposure parameter adjustment type that second determination unit is determined, Then judge whether current exposure gain is minimum exposure gain;If it is not, then reducing current exposure gain;If so, reducing The current time for exposure.
Optionally, the exposure parameter adjustment type further includes insufficient class, and the deficiency class is for characterizing current frame image Exposure status with previous frame image is under-exposure;And
The adjustment unit, if it is deficiency to be additionally operable to the exposure parameter adjustment type that second determination unit is determined Class then judges whether the current time for exposure is maximum exposure time;If it is not, then increasing the current time for exposure;If so, increasing Big current exposure gain.
The third aspect, the embodiment of the present invention provide a kind of computer-readable medium, are stored with computer executable instructions, institute Computer executable instructions are stated for executing exposure parameter method of adjustment provided by the present application.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by described at least one A processor executes, so that at least one processor is able to carry out exposure parameter method of adjustment provided by the present application.
Advantageous effect of the present invention:
Exposure parameter method of adjustment, device and readable medium provided in an embodiment of the present invention, determine the exposure of current frame image Light assessed value, and determine according to the exposure evaluation value exposure status of current frame image;And obtain the exposure of previous frame image Light state and based on previous frame image exposure status adjustment exposure parameter and adjustment direction;And according to the exposure of current frame image The exposure status of light state and previous frame image determines that exposure parameter adjusts type;And type is adjusted according to the exposure parameter With the exposure parameter and adjustment direction of the exposure status adjustment based on previous frame image, current exposure parameter is adjusted It is whole.By using the exposure status of previous frame image, the exposure parameter based on previous frame Image Adjusting and adjustment direction and currently The exposure status of frame image adjusts current exposure parameter, compared with the prior art in only pass through the exposure shape of current frame image State adjusts for exposure parameter, effectively prevents the generation of reforming phenomena.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and constitutes the part of the present invention, this hair Bright illustrative embodiments and their description are not constituted improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the model schematic of reforming phenomena in the prior art;
Fig. 2 is the flow diagram of exposure parameter method of adjustment provided in an embodiment of the present invention;
Fig. 3 is the stream of the exposure status provided in an embodiment of the present invention that current frame image is determined according to the exposure evaluation value Journey schematic diagram;
Fig. 4 is the flow being adjusted to current exposure parameter in the case of insufficient excessively class provided in an embodiment of the present invention Schematic diagram;
Fig. 5 is the flow being adjusted to current exposure parameter in the case of excessive insufficient class provided in an embodiment of the present invention Schematic diagram;
Fig. 6 is that the flow being adjusted to current exposure parameter in the case of excessive class provided in an embodiment of the present invention is illustrated Figure;
Fig. 7 is to illustrate to the flow that current exposure parameter is adjusted in the case of insufficient class provided in an embodiment of the present invention Figure;
Fig. 8 is the structural schematic diagram of exposure parameter adjusting apparatus provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of the computing device provided in an embodiment of the present invention for implementing exposure parameter method of adjustment.
Specific implementation mode
Exposure parameter method of adjustment, device and readable medium provided in an embodiment of the present invention, to be used in imaging device When automatic exposure algorithm, the appearance of reforming phenomena is prevented, ensures the picture quality of output.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair The feature in embodiment and embodiment in bright can be combined with each other.
To facilitate the understanding of the present invention, in technical term of the present invention:
1, the time for exposure:(Exposure Time, ET) refers in order to which light to be projected to the photosurface of sensitive photographic material On, shutter is opened to the time interval of closing.The light that time for exposure gets over progress is just more, the situation for being suitble to light condition poor; The time for exposure short situation for being then suitble to light relatively good.The time for exposure of camera refers to the time that closing is opened to from camera shutter Interval, in the case where camera other parameters are constant, the time for exposure is longer, and obtained frame image is brighter.
2, exposure gain:(Gain, G), refers generally to amplification factor, in imaging device when different exposure gains image imaging Quality is different, is illustrated so that imaging device is industrial camera as an example, the smaller noise of gain is smaller;The bigger noise of gain is more More, especially dark place is also referred to as gain in industrial camera.Gain is typically just weak in signal, but is not desired to increase the time for exposure In the case of use, this is because more than effective data-signal of gain amplification, also noise signal, therefore excellent under normal circumstances It first adjusts the time for exposure, gain is taken second place.Exposure gain in the present invention includes analogue exposure gain and digital exposure gain.
3, exposure strategies, general camera can formulate conventional exposure adjustable strategies in view of picture quality, such as:Exposure It is preferential to adjust time for exposure ET when deficiency needs to tune up exposure parameter;It is over-exposed when needing to turn exposure parameter down, it is preferential to adjust Exposure gain G.
The substantially flow of existing automatic exposure algorithm is:The exposure evaluation value for calculating current frame image, if exposure evaluation Value is then adjusted exposure parameter not in rational exposure range.Existing AE exposure parameter adjustment methods are usually base Judged in the exposure evaluation value of present frame, then exposure parameter is adjusted according to judging result, to ensure using reason The exposure parameter thought is shot.And the exposure parameter of AE, in order to meet the needs of high-speed video stream, needs in adjustment process Increase the adjusting step of exposure parameter to realize quickly adjustment exposure parameter, the image of shooting thus can be caused to occur repeatedly bright dark The phenomenon that, referred to as reforming phenomena.
In order to be best understood from exposure parameter method of adjustment provided by the invention, in this reference chart 1 first in the prior art The model of reforming phenomena is introduced:Exposure status defined in the prior art is:1) exposure is normal, also referred to as " normal state ", i.e., In the ideal range, ideal range is the exposure evaluation value of frame image:[lower limiting value, upper limit value];2) under-exposed, also referred to as " no Sufficient state ", the i.e. exposure evaluation value of frame image are less than the lower limiting value of ideal range;3) over-exposed, also referred to as " excessive state ", i.e. frame figure The exposure evaluation value of picture is higher than the upper limit value of ideal range.
Concussion model shown in FIG. 1 analyzes the reason of reforming phenomena occurs first:Assuming that current frame image is in " insufficient State ", characterization current frame image are excessively dark, it can be determined that the exposure evaluation value for going out current frame image is less than lower limiting value, shows currently to adopt Exposure parameter is unreasonable, and preferentially exposure parameter values (time for exposure ET and exposure are tuned up according to the exposure strategies of agreement needs Gain G), adjustment process is as follows:
If the current time for exposure is less than maximum exposure time, i.e. ET < ETmaxAnd current exposure gain is minimum Exposure gain, i.e. G=GminIf increasing the current time for exposure at this time, the exposure status of next frame image can enter Fig. 1 institutes " the excessive state " shown, then illustrate the adjusting step ET of time for exposure ETstepIt is excessive.After entering " excessive state ", according to agreement Exposure strategies need to reduce current exposure parameter values for next frame image quality under ensureing, i.e., it is preferential to reduce exposure and increase Beneficial G, but since exposure gain G at this time is Gmin, so when need to turn time for exposure ET down, as a result again cause under it is next Frame image enters " insufficient state ", and so cycle will appear reforming phenomena.
If the current time for exposure is maximum exposure time, i.e. ET=ETmaxAnd current exposure gain be less than most make public The gain of light, i.e. G < GmaxIf increasing exposure gain at this time, next frame image can be caused to enter " excessive state " shown in FIG. 1, shown Exposure gain G adjusting steps GstepIt is excessive.After next frame image enters " excessive state ", according to the exposure strategies of agreement, It for the picture quality of the lower next frame image ensured, needs to reduce exposure parameter, i.e., preferentially reduces exposure gain G, but Due to the adjusting step G of exposure gain GstepExcessive, the lower next frame image caused again goes into " insufficient state ", so Cycle will appear reforming phenomena.
In order to solve the problems, such as that the exposure parameter method of adjustment used in the prior art is also easy to produce reforming phenomena, the present invention is real It applies example and gives solution, exposure parameter method of adjustment provided by the invention is applied in the automatic algorithms of imaging device, It is illustrated so that imaging device is camera as an example, camera is under auto exposure mode, it may be determined that the exposure of current frame image is commented Valuation, and determine according to the exposure evaluation value exposure status of current frame image;And obtain the exposure shape of previous frame image State and based on previous frame image exposure status adjustment exposure parameter and adjustment direction;And according to the exposure shape of current frame image The exposure status of state and previous frame image determines that exposure parameter adjusts type;And type and institute are adjusted according to the exposure parameter The exposure parameter and adjustment direction for stating the exposure status adjustment based on previous frame image, are adjusted current exposure parameter, So as to shoot next frame image using the exposure parameter after adjustment, it is therefore prevented that the generation of reforming phenomena, while ensure that acquisition The picture quality of next frame image.
It should be noted that exposure parameter method of adjustment provided by the invention is also applied to other with shooting function Equipment in, such as be applied in mobile terminal, the mobile terminal can be mobile phone, tablet, laptop etc..
As shown in Fig. 2, for exposure parameter method of adjustment provided in an embodiment of the present invention flow diagram, may include with Lower step:
S11, the exposure evaluation value for determining current frame image, and determine according to the exposure evaluation value exposure of current frame image Light state.
It specifically, can be based on the side such as brightness of image mean value, the distribution situation of image brightness histogram and image object entropy Method determines the exposure evaluation value of each frame image, such as the luminance mean value of current frame image is determined as to the exposure of current frame image Light assessed value.
Preferably, the exposure shape of current frame image can be determined according to flow shown in Fig. 3 according to the exposure evaluation value State includes the following steps:
S21, judge whether exposure evaluation value is less than preset lower exposure limit value;If so, thening follow the steps S23;Otherwise it holds Row step S22.
S22, judge whether exposure evaluation value is more than preset exposure upper-limit value;If so, thening follow the steps S24;Otherwise it holds Row step S25.
S23, determine that the exposure status of current frame image is under-exposure.
S24, determine that the exposure status of current frame image is over-exposed.
S25, determine that the exposure status of current frame image is that exposure is normal.
A normally corresponding assessed value range is exposed in step S21~S25, in the present invention, and expose normally show it is defeated It is preferable to go out picture quality, which is made of lower exposure limit value and exposure upper-limit value.If it is determined that the exposure of present frame Assessed value is less than preset lower exposure limit value, then shows current frame image under-exposure, current frame image can be caused excessively dark, influence Picture quality;If it is determined that the exposure evaluation value of present frame is more than preset upper limit value, then show that current frame image is over-exposed, Current frame image can be caused excessively bright, equally influence picture quality.If it is determined that the exposure evaluation value of present frame is in assessed value range It is interior, then show that current frame image quality is preferable.And it is over-exposed and it is under-exposed all influence picture quality, therefore it is next in order to improve The quality of frame image needs to adjust current exposure parameter.
It should be noted that in the present invention preset exposure upper-limit value and lower exposure limit value can according to actual conditions and Fixed, the present invention is to the two values without limiting.
The exposure parameter of S12, the exposure status for obtaining previous frame image and the exposure status adjustment based on previous frame image And adjustment direction.
Specifically, the exposure status of previous frame image can also be determined according to flow shown in Fig. 3, according to Fig. 3 institutes After the flow shown determines the exposure status of previous frame image according to the exposure evaluation value of previous frame image, previous frame image is recorded Exposure status.When determining the exposure status of previous frame image, in order to ensure that next frame image that is to say current frame image Picture quality, exposure parameter can be equally adjusted using method provided by the invention, adjustment can be recorded based on this Exposure parameter and adjustment direction etc..The exposure status of previous frame image and the exposure based on previous frame image can be got in this way The exposure parameter and adjustment direction of state adjustment.
S13, the exposure status according to the exposure status and previous frame image of current frame image determine that exposure parameter adjusts class Type.
Preferably, the exposure parameter adjustment type in the present invention includes insufficient excessively class and excessively insufficient class, wherein described For characterizing, the exposure status of current frame image is over-exposed to insufficient excessively class and the exposure status of previous frame image is exposure It is insufficient;The exposure status that the excessive insufficient class is used to characterize current frame image is under-exposed and previous frame image exposure shape State is over-exposed.
S14, the exposure that type and the exposure status adjustment based on previous frame image are adjusted according to the exposure parameter Parameter and adjustment direction are adjusted current exposure parameter.
Specifically, when exposure parameter adjusts type difference, adjustable strategies that current exposure parameter values are adjusted Also be different, it is described in detail below it:
If it is insufficient excessive class that exposure parameter, which adjusts type, i.e., current frame image is " excessive state ", and previous frame image is " no Sufficient state " can also be denoted as " insufficient excessive state ", since current frame image is over-exposed, need to reduce exposure according to agreement exposure strategies Optical parameter, but the generation of reforming phenomena in order to prevent, the present invention can analyze the reason of being changed into " excessive state " from " insufficient state ", Then current exposure parameter is adjusted according to analysis result, can specifically executes flow shown in Fig. 4 to current exposure Optical parameter is adjusted, and is included the following steps:
S31, judge based on previous frame image exposure status adjustment exposure parameter whether be exposure gain or exposure when Between;If it is determined that the exposure parameter of the adjustment is exposure gain, S36 is thened follow the steps;If it is determined that the exposure of the adjustment Parameter is the time for exposure, thens follow the steps S32.
Specifically, due to when using automatic exposure algorithm, before shooting each frame image, all can to exposure parameter into Row adjustment, therefore also can be according to the exposure of the exposure status and upper previous frame image of previous frame image before obtaining current frame image State etc. adjusts to obtain the exposure parameter after previous frame image, namely the exposure of the adjustment of the exposure status based on previous frame image Optical parameter, thus in order to adjust shooting current frame image after exposure parameter, it can be determined that acquisition based on previous frame image Exposure status adjustment exposure parameter whether be exposure gain or be the time for exposure.
If S32, the adjustment direction of the time for exposure adjusted are to tune up, judge whether current exposure gain is minimum exposure The gain of light thens follow the steps S33 if not;If executing step S34.
It determines that the exposure parameter of the adjustment of the exposure status based on previous frame image is the time for exposure in step S31, and adjusts When perfect square is to tune up, show due to obtain previous frame image after because tuning up exposure using the adjusting step of larger time for exposure Time and cause the current frame image obtained over-exposed phenomenon occur.Since current frame image is over-exposed, according to agreement Exposure strategies should preferentially reduce exposure gain, but need to judge whether current exposure gain is G before thismin, because only It is not G to have in current exposure gainmin, can just turn current exposure gain G down.
S33, reduce current exposure gain.
This step is executed, it is G to show current exposure gain notmin, at this time according to the exposure strategies of agreement preferentially according to working as The adjusting step of preceding exposure gain turns current exposure gain down, and the exposure strategies that realizing does not influence to arrange utmostly are set Principle is counted, because the exposure strategies of modification agreement can increase the complexity of automatic exposure algorithm, it might therefore state can be caused mixed Disorderly and automatic exposure effect is unstable.
S34, the adjusting step for reducing the time for exposure.
This step is executed, shows that current exposure gain has reached Gmin, it can not adjust still further below, the time for exposure should be adjusted, But the time for exposure is turned down according to the adjusting step of current time for exposure in order to prevent and lead to occur reforming phenomena, the present invention carries Go out first to reduce the adjusting step ET of time for exposurestep, step S35 is then executed again.
S35, the current time for exposure is turned down using the adjusting step after reduction.
Specifically, it turns the current time for exposure down using the adjusting step of the time for exposure after reduction, can ensure in this way The exposure evaluation value of next frame image obtained when shooting next frame image using the time for exposure after adjustment is closer to assessed value Range is no longer directly entered " insufficient state ", to effectively prevent the generation of reforming phenomena.
If the adjustment direction of S36, the exposure gain adjusted is to tune up, reduce the current time for exposure.
In this step, if being determined in step S31, the exposure parameter based on previous frame Image Adjusting is exposure gain and tune When perfect square is to tune up, then it can analyze due to the adjusting step because utilizing larger exposure gain after acquisition previous frame image It tunes up exposure gain and the current frame image obtained is caused over-exposed phenomenon occur, if excellent according to the exposure strategies of agreement at this time It first turns current exposure gain down, is then likely to result in after shooting next frame image using the exposure gain after turning down, it is next There is under-exposed situation in frame image, namely will appear reforming phenomena.In order to avoid the generation of this problem, the present invention proposes Turn the current time for exposure down according to the adjusting step of current time for exposure in the case, so, it is ensured that profit The exposure evaluation value of the next frame image shot with the time for exposure after adjustment closer to assessed value range, no longer directly into Enter " insufficient state ", to which while effectively evading concussion, the picture quality of obtained next frame image is also greatly improved.
Can effectively it prevent by using flow shown in Fig. 4 for insufficient excessively class in exposure parameter adjustment type The only appearance of reforming phenomena, while the exposure strategies of agreement can not be influenced to the greatest extent.
Preferably, if exposure parameter adjustment type is excessively insufficient class, i.e. current frame image is in " insufficient state ", previous frame Image is in " excessive state ", " excessively deficiency state " can be denoted as, due to current frame image under-exposure, if according to the exposure of agreement Strategy should tune up exposure parameter, but the generation of reforming phenomena in order to prevent, and the present invention equally analyzes generation from " from previous frame image In excessive state " the reason of arriving " current frame image be in insufficient state ", be caused by adjusting which exposure parameter, then according to point Analysis result is adjusted current exposure parameter, it is possible thereby to the next frame figure that the exposure parameter after utility adjustment obtains Normally as exposure, to avoid the generation of reforming phenomena.Specifically can according to flow shown in fig. 5 to current exposure parameter into Row adjustment, includes the following steps:
S41, judge whether the exposure parameter of the exposure status adjustment based on previous frame image is that time for exposure or exposure increase Benefit;If it is determined that the exposure parameter of the adjustment is the time for exposure, S46 is thened follow the steps;If it is determined that the exposure of the adjustment Parameter is exposure gain, thens follow the steps S42.
Specifically, each shooting in order to ensure the picture quality of the frame image shot when camera uses automatic exposure Exposure parameter can be all automatically adjusted before frame image, therefore, by recording the exposure parameter adjusted each time and adjustment Direction.It, can be by judging the exposure of the exposure status adjustment based on previous frame image in this way, in order to avoid the appearance of reforming phenomena Optical parameter is adjusted current exposure parameter, and is not merely carried out to exposure parameter according to the exposure status of current frame image Adjustment, can effectively prevent the appearance of reforming phenomena.
If the adjustment direction of S42, the exposure gain adjusted is to turn down, judge whether the current time for exposure is most to make public Between light time;S43 is thened follow the steps if not;If so then execute step S44.
When step S41 determines that the exposure parameter of adjustment is exposure gain and adjustment direction is to turn down, show due to obtaining Lead to the present frame figure obtained because turning exposure gain down using the adjusting step of larger exposure gain after obtaining previous frame image As there is under-exposed phenomenon, due to current frame image under-exposure, according to the exposure strategies of agreement, when should preferentially tune up exposure Between, but need to judge whether the current time for exposure is ET before thismax, because only that being less than ET in the time for exposuremaxWhen, It can continue to tune up time for exposure ET.
S43, increase the current time for exposure.
This step is executed, shows that the current time for exposure is not up to ETmax, preferentially pressed according to the exposure strategies of agreement at this time Current time for exposure ET is tuned up according to the adjusting step of current time for exposure, equally realizing does not influence agreement utmostly Exposure strategies design principle, because the exposure strategies of modification agreement can increase the complexity of automatic exposure algorithm, it might therefore meeting Cause state confusion and automatic exposure effect unstable.
S44, the adjusting step for reducing the exposure gain.
This step is executed, shows that the current time for exposure has reached ETmax, the time for exposure can not be tuned up again, should adjust exposure Gain, but tune up exposure gain according to the adjusting step of current exposure gain in order to prevent and lead to occur reforming phenomena, this Invention proposes first to reduce the adjusting step G of exposure gainstep, step S45 is then executed again.
S45, increase current exposure gain using the adjusting step after reduction.
Specifically, increase current exposure gain using the adjusting step of the exposure gain after reduction, so that i.e. Keep the exposure gain after increase especially big, the next frame image shot hereby based on the exposure gain after adjustment Exposure evaluation value is no longer directly entered " excessive state " closer to assessed value range, so as to effectively prevent the hair of reforming phenomena It is raw.
If S46, the adjustment direction of the time for exposure adjusted are to turn down, increase current exposure gain.
Specifically, if step S41 determines that the exposure parameter based on previous frame Image Adjusting is time for exposure and adjustment side When to turn down, then it can analyze to obtain the adjusting step tune due to because utilizing the larger time for exposure after acquisition previous frame image The small time for exposure and cause the current frame image obtained under-exposed phenomenon occur, if preferential according to the exposure strategies of agreement at this time The current time for exposure is tuned up, then is likely to result in using after the time for exposure shooting next frame image after tuning up, obtains There is over-exposed situation in next frame image, namely will appear reforming phenomena.In order to avoid the generation of this problem, the present invention It is proposed increases current exposure gain, so, Ke Yibao according to the adjusting step of current exposure gain in the case Card using adjustment after exposure gain shooting next frame image exposure evaluation value closer to assessed value range, no longer directly into Enter " excessive state ", to which while effectively evading concussion, obtained next frame image also can be apparent.
Can effectively it prevent by using flow shown in fig. 5 for excessively insufficient class in exposure parameter adjustment type The only appearance of reforming phenomena, while the exposure strategies of agreement can not be influenced to the greatest extent.
Preferably, the exposure parameter adjustment type further includes excessive class, and the excessive class characterization is:Current frame image Exposure status with previous frame image is over-exposed.
If it is determined that exposure parameter adjustment type is excessive class, i.e., current frame image and previous frame image are " excessively State " due to being in " excessive state ", therefore can turn downwards exposure parameter down according to the exposure strategies of agreement, specifically can be according to Fig. 6 Shown in flow current exposure parameter is adjusted, include the following steps:
S51, judge whether current exposure gain is minimum exposure gain;S52 is thened follow the steps if not;If executing step Rapid S53.
In this step, due to present frame and previous frame image exposure state be it is over-exposed, then at this time only need to be according to about Fixed exposure strategies adjustment, i.e., preferentially turn exposure gain down, but need first to judge whether current exposure gain is Gmin, Because only that not being G in current exposure gainmin, can just turn current exposure gain G down.
S52, reduce current exposure gain.
This step is executed, it is G to show current exposure gain notmin, then can be walked according to the adjustment of current exposure gain It is long to reduce current exposure gain G, it is thus achieved that not influencing the exposure strategies design principle of agreement utmostly.
S53, reduce the current time for exposure.
This step is executed, shows that current exposure gain reaches Gmin, at this time can be according to the adjustment of current time for exposure Step-length reduces the current time for exposure, thus can also realize the next frame image shot using the time for exposure after adjustment Exposure status is improved, and the generation of reforming phenomena is effectively prevented.
It is that " excessive state " can be effective by using flow shown in fig. 6 in present frame and previous frame image The appearance of reforming phenomena is prevented, while the exposure strategies of agreement can not influenced to the greatest extent.
Preferably, if exposure parameter adjustment type further includes insufficient class, the deficiency class characterization is:Present frame figure The exposure status of picture and previous frame image is under-exposure.
If it is determined that exposure parameter adjustment type is insufficient class, i.e. current frame image and previous frame image is in " insufficient In the case of state ", then current exposure parameter can be adjusted according to flow shown in Fig. 7, included the following steps:
S61, judge whether the current time for exposure is maximum exposure time;If it is not, thening follow the steps S62;If then holding Row step S63.
It, then at this time only need to be according to about since present frame and previous frame image exposure state are under-exposure in this step Fixed exposure strategies adjustment, i.e., preferentially tune up the time for exposure, but need first to judge whether the current time for exposure is Emax, Because only that not reaching E in the current time for exposuremax, can just tune up current time for exposure ET.
S62, increase the current time for exposure.
This step is executed, shows that the current time for exposure does not reach Emax, then can be according to according to the exposure strategies of agreement The adjusting step of current time for exposure increases the current time for exposure, it is thus achieved that not influencing the exposure of agreement utmostly Tactful design principle.
S63, increase current exposure gain.
This step is executed, shows that the current time for exposure has reached Emax, then at this time can be by increasing according to current exposure The adjusting step of benefit increases current exposure gain to avoid the occurrence of reforming phenomena, and the exposure after being adjusted with utility increases The next frame image exposure state that benefit shooting obtains is improved, while effectively preventing the generation of reforming phenomena.
It is that " insufficient state " can be effective by using flow shown in Fig. 7 in present frame and previous frame image The appearance of reforming phenomena is prevented, while the exposure strategies of agreement can not influenced to the greatest extent.
Preferably, the exposure parameter adjustment type further includes normal class, normal class characterization is:Current frame image and upper The exposure status of one frame image is that exposure is normal.If it is determined that exposure parameter adjustment type is normal class, then not to current Exposure parameter is adjusted.
Exposure parameter method of adjustment provided by the invention determines the exposure evaluation value of current frame image, and according to the exposure Light assessed value determines the exposure status of current frame image;And it obtains the exposure status of previous frame image and is based on previous frame image Exposure status adjustment exposure parameter and adjustment direction;And according to the exposure of the exposure status of current frame image and previous frame image Light state determines that exposure parameter adjusts type;And type and described based on previous frame image is adjusted according to the exposure parameter The exposure parameter and adjustment direction of exposure status adjustment, are adjusted current exposure parameter.By using previous frame image Exposure status, adjusted based on the exposure status of the exposure parameter of previous frame Image Adjusting and adjustment direction and current frame image Current exposure parameter, compared with the prior art in only adjusted for exposure parameter by the exposure status of current frame image, Effectively prevent the generation of reforming phenomena.
Based on same inventive concept, a kind of exposure parameter adjusting apparatus is additionally provided in the embodiment of the present invention, due to above-mentioned The principle that device solves the problems, such as is similar to exposure parameter method of adjustment, therefore the implementation of above-mentioned apparatus may refer to the reality of method It applies, overlaps will not be repeated.
As shown in figure 8, for the structural schematic diagram of exposure parameter adjusting apparatus provided in an embodiment of the present invention, including:
First determination unit 71, the exposure evaluation value for determining current frame image, and it is true according to the exposure evaluation value The exposure status of settled prior image frame;
Acquiring unit 72, the exposure status for obtaining previous frame image and the exposure status adjustment based on previous frame image Exposure parameter and adjustment direction;
Second determination unit 73 is used for the exposure status of the exposure status and previous frame image according to current frame image, really Determine exposure parameter adjustment type;
Adjustment unit 74, for adjusting type and the exposure status based on previous frame image according to the exposure parameter The exposure parameter and adjustment direction of adjustment, are adjusted current exposure parameter.
Preferably, first determination unit 71, is specifically used for if it is determined that the exposure evaluation value is less than preset exposure Light lower limiting value, it is determined that the exposure status of current frame image is under-exposure;And if it is determined that the exposure evaluation value is more than Preset exposure upper-limit value, it is determined that the exposure status of current frame image is over-exposed.
Preferably, the exposure parameter includes time for exposure and exposure gain;And the exposure parameter adjusts type packet Include insufficient excessively class and excessively insufficient class, wherein the exposure status that the insufficient excessively class is used to characterize current frame image is to expose Light is excessively and the exposure status of previous frame image is under-exposure;The excessive insufficient class is used to characterize the exposure of current frame image State is that under-exposed and previous frame image exposure status is over-exposed.
Preferably, the adjustment unit 74, if the exposure parameter tune determined specifically for second determination unit 73 Whole type is insufficient excessive class, then if it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to tune up, then Reduce the current time for exposure;If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to tune up, then sentences Whether the current exposure gain that breaks is minimum exposure gain;If it is not, then reducing current exposure gain;If so, described in reducing The adjusting step of time for exposure, and turn the current time for exposure down using the adjusting step after reduction.
Preferably, the adjustment unit 74, if the exposure parameter tune determined specifically for second determination unit 73 Whole type is excessively insufficient class, then if it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to turn down, then Increase current exposure gain;If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to turn down, then sentences Whether the disconnected current time for exposure is maximum exposure time;If it is not, then increasing the current time for exposure;If so, described in reducing The adjusting step of exposure gain, and increase current exposure gain using the adjusting step after reduction.
Optionally, the exposure parameter adjustment type further includes excessive class, and the excessive class is for characterizing current frame image Exposure status with previous frame image is over-exposed;And
The adjustment unit 74 was if being additionally operable to the exposure parameter adjustment type that second determination unit 73 determines Class is spent, then judges whether current exposure gain is minimum exposure gain;If it is not, then reducing current exposure gain;If so, Reduce the current time for exposure.
Optionally, the exposure parameter adjustment type further includes insufficient class, and the deficiency class is for characterizing current frame image Exposure status with previous frame image is under-exposure;And
The adjustment unit 74, if it is not to be additionally operable to the exposure parameter adjustment type that second determination unit 73 is determined Sufficient class then judges whether the current time for exposure is maximum exposure time;If it is not, then increasing the current time for exposure;If so, Increase current exposure gain.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist Implement the function of each module (or unit) can be realized in same or multiple softwares or hardware when the present invention.
After describing exposure parameter method of adjustment, device and the readable medium of exemplary embodiment of the invention, connect Get off, introduces the computing device of another exemplary embodiment according to the present invention.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, it is single can to include at least at least one processing for computing device according to the present invention Member and at least one storage unit.Wherein, the storage unit has program stored therein code, when said program code is described When processing unit executes so that the processing unit execute this specification foregoing description according to the various exemplary implementations of the present invention Step in the exposure parameter method of adjustment of mode.For example, the processing unit can execute step S11 as shown in Figure 2~ Exposure parameter method of adjustment in S14.
The computing device 81 of this embodiment according to the present invention is described referring to Fig. 9.The calculating dress that Fig. 9 is shown It is only an example to set 81, should not bring any restrictions to the function and use scope of the embodiment of the present invention.
As shown in figure 9, computing device 81 is showed in the form of universal computing device.The component of computing device 81 may include But it is not limited to:Above-mentioned at least one processing unit 811, above-mentioned at least one storage unit 812, connection different system component (packet Include storage unit 812 and processing unit 111) bus 813.
Bus 813 indicates one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, processor or the local bus using the arbitrary bus structures in a variety of bus structures.
Storage unit 812 may include the readable medium of form of volatile memory, such as random access memory (RAM) 8121 and/or cache memory 8122, it can further include read-only memory (ROM) 8123.
Storage unit 812 can also include program/utility with one group of (at least one) program module 8124 8125, such program module 8124 includes but not limited to:Operating system, one or more application program, other program moulds Block and program data may include the realization of network environment in each or certain combination in these examples.
Computing device 81 can also be communicated with one or more external equipments 814 (such as keyboard, sensing equipment etc.), may be used also Enable a user to the equipment interacted with computing device 81 communication with one or more, and/or with enable the computing device 81 Any equipment communication communicated with one or more of the other computing device.This communication can pass through input/output (I/O) Interface 815 carries out.Also, computing device 81 can also pass through network adapter 816 and one or more network (such as local Net (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, network adapter 816 is by total Line 813 is communicated with other modules for computing device 81.It will be appreciated that though being not shown in figure, computing device can be combined 81 use other hardware and/or software module, including but not limited to:Microcode, device driver, redundant processing unit, outside Disk drive array, RAID system, tape drive and data backup storage system etc..
In some possible embodiments, the various aspects of exposure parameter method of adjustment provided by the invention can also be real It is now a kind of form of program product comprising program code, it is described when described program product is run on a computing device Program code be used to make the computer equipment execute this specification foregoing description according to the various exemplary embodiment party of the present invention Step in the exposure parameter method of adjustment of formula, for example, the computer equipment can execute step S11 as shown in Figure 2~ Exposure parameter method of adjustment in S14.
The arbitrary combination of one or more readable mediums may be used in described program product.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, red The system of outside line or semiconductor, device or device, or the arbitrary above combination.The more specific example of readable storage medium storing program for executing (non exhaustive list) includes:Electrical connection, portable disc with one or more conducting wires, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc Read memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Portable compact disc may be used in the program product for exposure parameter method of adjustment of embodiments of the present invention Read-only memory (CD-ROM) and include program code, and can run on the computing device.However, the program product of the present invention Without being limited thereto, in this document, readable storage medium storing program for executing, which can be any, includes or the tangible medium of storage program, which can be with It is commanded the either device use or in connection of execution system, device.
Readable signal medium may include in a base band or as the data-signal that a carrier wave part is propagated, wherein carrying Readable program code.Diversified forms may be used in the data-signal of this propagation, including --- but being not limited to --- electromagnetism letter Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can Read medium, which can send, propagate either transmission for being used by instruction execution system, device or device or Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to --- Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It executes on computing device, partly execute on a user device, being executed as an independent software package, partly in user's calculating Upper side point is executed or is executed in remote computing device or server completely on a remote computing.It is being related to far In the situation of journey computing device, remote computing device can pass through the network of any kind --- including LAN (LAN) or extensively Domain net (WAN)-be connected to user calculating equipment, or, it may be connected to external computing device (such as utilize Internet service Provider is connected by internet).
It should be noted that although being referred to several units or subelement of device in above-detailed, this stroke It point is only exemplary not enforceable.In fact, according to the embodiment of the present invention, it is above-described two or more The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can It is embodied by multiple units with being further divided into.
In addition, although the operation of the method for the present invention is described with particular order in the accompanying drawings, this do not require that or Hint must execute these operations according to the particular order, or have to carry out shown in whole operation could realize it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (16)

1. a kind of exposure parameter method of adjustment, which is characterized in that including:
It determines the exposure evaluation value of current frame image, and determines the exposure status of current frame image according to the exposure evaluation value; And
Obtain exposure parameter and the adjustment side of the exposure status of previous frame image and the exposure status adjustment based on previous frame image To;And
According to the exposure status of the exposure status of current frame image and previous frame image, determine that exposure parameter adjusts type;And
The exposure parameter and tune of type and the exposure status adjustment based on previous frame image are adjusted according to the exposure parameter Perfect square is to being adjusted current exposure parameter.
2. the method as described in claim 1, which is characterized in that determine the exposure of current frame image according to the exposure evaluation value State specifically includes:
If it is determined that the exposure evaluation value is less than preset lower exposure limit value, it is determined that the exposure status of current frame image is to expose Light is insufficient;And
If it is determined that the exposure evaluation value is more than preset exposure upper-limit value, it is determined that the exposure status of current frame image is to expose Light is excessive.
3. method as claimed in claim 2, which is characterized in that the exposure parameter includes time for exposure and exposure gain;With And the exposure parameter adjustment type includes insufficient excessively class and excessively insufficient class, wherein the insufficient excessively class is for characterizing The exposure status of current frame image is over-exposed and the exposure status of previous frame image is under-exposed;The excessive insufficient class Exposure status for characterizing current frame image is that under-exposed and previous frame image exposure status is over-exposed.
4. method as claimed in claim 3, which is characterized in that if it is determined that exposure parameter adjustment type be it is insufficient excessively Class then adjusts the exposure parameter and tune of type and the exposure status adjustment based on previous frame image according to the exposure parameter Perfect square is to being adjusted current exposure parameter, specifically include:
If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to tune up, then when reducing current exposure Between;
If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to tune up, then judges that current exposure increases Whether benefit is minimum exposure gain;If it is not, then reducing current exposure gain;If so, reducing the adjustment of the time for exposure Step-length, and turn the current time for exposure down using the adjusting step after reduction.
5. method as claimed in claim 3, which is characterized in that if it is determined that exposure parameter adjustment type be excessively insufficient Class then adjusts the exposure parameter and tune of type and the exposure status adjustment based on previous frame image according to the exposure parameter Perfect square is to being adjusted current exposure parameter, specifically include:
If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to turn down, then increases current exposure and increase Benefit;
If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to turn down, then when judging current exposure Between whether be maximum exposure time;If it is not, then increasing the current time for exposure;If so, reducing the adjustment of the exposure gain Step-length, and increase current exposure gain using the adjusting step after reduction.
6. method as claimed in claim 3, which is characterized in that the exposure parameter adjustment type further includes excessive class, described Excessive class is over-exposed for characterizing current frame image and the exposure status of previous frame image;And the method, also wrap It includes:
If it is determined that exposure parameter adjustment type be excessive class, then judge current exposure gain whether be minimum exposure increase Benefit;If it is not, then reducing current exposure gain;If so, reducing the current time for exposure.
7. method as claimed in claim 3, which is characterized in that the exposure parameter adjustment type further includes insufficient class, described Insufficient class is under-exposure for characterizing current frame image and the exposure status of previous frame image;And the method, also wrap It includes:
If it is determined that exposure parameter adjustment type be insufficient class, then when judging whether the current time for exposure is maximum exposure Between;If it is not, then increasing the current time for exposure;If so, increasing current exposure gain.
8. a kind of exposure parameter adjusting apparatus, which is characterized in that including:
First determination unit, the exposure evaluation value for determining current frame image, and determined currently according to the exposure evaluation value The exposure status of frame image;
The exposure of acquiring unit, the exposure status for obtaining previous frame image and the exposure status adjustment based on previous frame image Parameter and adjustment direction;
Second determination unit is used for the exposure status of the exposure status and previous frame image according to current frame image, determines exposure Parameter adjustment type;
Adjustment unit, for what is adjusted according to exposure parameter adjustment type and the exposure status based on previous frame image Exposure parameter and adjustment direction are adjusted current exposure parameter.
9. device as claimed in claim 8, which is characterized in that
First determination unit is specifically used for if it is determined that the exposure evaluation value is less than preset lower exposure limit value, then really The exposure status of settled prior image frame is under-exposure;And if it is determined that the exposure evaluation value is more than preset exposure upper-limit Value, it is determined that the exposure status of current frame image is over-exposed.
10. device as claimed in claim 9, which is characterized in that the exposure parameter includes time for exposure and exposure gain;With And the exposure parameter adjustment type includes insufficient excessively class and excessively insufficient class, wherein the insufficient excessively class is for characterizing The exposure status of current frame image is over-exposed and the exposure status of previous frame image is under-exposed;The excessive insufficient class Exposure status for characterizing current frame image is that under-exposed and previous frame image exposure status is over-exposed.
11. device as claimed in claim 10, which is characterized in that
The adjustment unit, if the exposure parameter adjustment type determined specifically for second determination unit is insufficient excessive Class, then if it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to tune up, then when reducing current exposure Between;If it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to tune up, then judges current exposure gain Whether it is minimum exposure gain;If it is not, then reducing current exposure gain;If so, reducing the adjustment step of the time for exposure It is long, and turn the current time for exposure down using the adjusting step after reduction.
12. device as claimed in claim 10, which is characterized in that
The adjustment unit, if the exposure parameter adjustment type determined specifically for second determination unit is excessively insufficient Class, then if it is determined that the exposure parameter of the adjustment is the time for exposure, and adjustment direction is to turn down, then increases current exposure and increase Benefit;If it is determined that the exposure parameter of the adjustment is exposure gain, and adjustment direction is to turn down, then judges the current time for exposure Whether it is maximum exposure time;If it is not, then increasing the current time for exposure;If so, reducing the adjustment step of the exposure gain It is long, and increase current exposure gain using the adjusting step after reduction.
13. device as claimed in claim 10, which is characterized in that the exposure parameter adjustment type further includes excessive class, institute It is over-exposed that excessive class, which is stated, for characterizing current frame image and the exposure status of previous frame image;And
The adjustment unit, if it is excessive class to be additionally operable to the exposure parameter adjustment type that second determination unit is determined, Judge whether current exposure gain is minimum exposure gain;If it is not, then reducing current exposure gain;Work as if so, reducing The preceding time for exposure.
14. device as claimed in claim 10, which is characterized in that the exposure parameter adjustment type further includes insufficient class, institute It is under-exposure that insufficient class, which is stated, for characterizing current frame image and the exposure status of previous frame image;And
The adjustment unit, if it is insufficient class to be additionally operable to the exposure parameter adjustment type that second determination unit is determined, Judge whether the current time for exposure is maximum exposure time;If it is not, then increasing the current time for exposure;Work as if so, increasing Preceding exposure gain.
15. a kind of computer-readable medium, is stored with computer executable instructions, which is characterized in that the computer is executable Instruction is for executing the method as described in claim 1 to 7 any claim.
16. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one processor, and described instruction is by least one place It manages device to execute, so that at least one processor is able to carry out the method as described in claim 1 to 7 any claim.
CN201810540390.XA 2018-05-30 2018-05-30 Exposure parameter adjusting method and device and readable medium Active CN108419025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810540390.XA CN108419025B (en) 2018-05-30 2018-05-30 Exposure parameter adjusting method and device and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810540390.XA CN108419025B (en) 2018-05-30 2018-05-30 Exposure parameter adjusting method and device and readable medium

Publications (2)

Publication Number Publication Date
CN108419025A true CN108419025A (en) 2018-08-17
CN108419025B CN108419025B (en) 2020-01-07

Family

ID=63140930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810540390.XA Active CN108419025B (en) 2018-05-30 2018-05-30 Exposure parameter adjusting method and device and readable medium

Country Status (1)

Country Link
CN (1) CN108419025B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900782A (en) * 2018-08-22 2018-11-27 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN110708473A (en) * 2019-11-14 2020-01-17 深圳市道通智能航空技术有限公司 High dynamic range image exposure control method, aerial camera and unmanned aerial vehicle
CN111093039A (en) * 2018-10-24 2020-05-01 北京图森智途科技有限公司 Exposure evaluation value calculation method, exposure parameter adjustment method and imaging equipment
CN111355895A (en) * 2018-12-05 2020-06-30 北京图森智途科技有限公司 Image exposure and gain adjustment method, imaging device and vehicle
CN112655195A (en) * 2018-09-07 2021-04-13 杜比实验室特许公司 Entropy variance based automatic exposure of image sensors
CN113259600A (en) * 2021-05-11 2021-08-13 北京地平线机器人技术研发有限公司 Exposure parameter configuration method and device, electronic equipment and medium
CN113329188A (en) * 2021-05-07 2021-08-31 浙江大华技术股份有限公司 Exposure control method and device, electronic equipment and storage medium
CN114390211A (en) * 2020-10-20 2022-04-22 北京小米移动软件有限公司 Exposure convergence method, device, electronic device and storage medium
US11412154B2 (en) 2018-09-07 2022-08-09 Dolby Laboratories Licensing Corporation Auto exposure of spatially-multiplexed-exposure high-dynamic-range image sensor metric and adjustment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972385A (en) * 2006-12-07 2007-05-30 北京中星微电子有限公司 A method of image processing and camera device
CN101247480A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
CN103391404A (en) * 2012-05-08 2013-11-13 展讯通信(上海)有限公司 Automatic exposure method, device, camera device and mobile terminal
CN105939451A (en) * 2016-06-23 2016-09-14 安翰光电技术(武汉)有限公司 Image exposure processing system and method for capsule endoscope system
CN105979162A (en) * 2016-07-21 2016-09-28 凌云光技术集团有限责任公司 Automatic exposure adjustment method and device for extensible dynamic range images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972385A (en) * 2006-12-07 2007-05-30 北京中星微电子有限公司 A method of image processing and camera device
CN101247480A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
CN103391404A (en) * 2012-05-08 2013-11-13 展讯通信(上海)有限公司 Automatic exposure method, device, camera device and mobile terminal
CN105939451A (en) * 2016-06-23 2016-09-14 安翰光电技术(武汉)有限公司 Image exposure processing system and method for capsule endoscope system
CN105979162A (en) * 2016-07-21 2016-09-28 凌云光技术集团有限责任公司 Automatic exposure adjustment method and device for extensible dynamic range images

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900782A (en) * 2018-08-22 2018-11-27 Oppo广东移动通信有限公司 Exposal control method, device and electronic equipment
CN108900782B (en) * 2018-08-22 2020-01-24 Oppo广东移动通信有限公司 Exposure control method, exposure control device and electronic equipment
CN112655195A (en) * 2018-09-07 2021-04-13 杜比实验室特许公司 Entropy variance based automatic exposure of image sensors
US11412154B2 (en) 2018-09-07 2022-08-09 Dolby Laboratories Licensing Corporation Auto exposure of spatially-multiplexed-exposure high-dynamic-range image sensor metric and adjustment
CN112655195B (en) * 2018-09-07 2022-05-31 杜比实验室特许公司 Automatic exposure method, computer program product and imaging system
US11258957B2 (en) 2018-09-07 2022-02-22 Dolby Laboratories Licensing Corporation Auto exposure of image sensors based upon entropy variance
CN111093039A (en) * 2018-10-24 2020-05-01 北京图森智途科技有限公司 Exposure evaluation value calculation method, exposure parameter adjustment method and imaging equipment
CN111093039B (en) * 2018-10-24 2021-07-16 北京图森智途科技有限公司 Exposure evaluation value calculation method, exposure parameter adjustment method and imaging equipment
CN111355895A (en) * 2018-12-05 2020-06-30 北京图森智途科技有限公司 Image exposure and gain adjustment method, imaging device and vehicle
CN110708473A (en) * 2019-11-14 2020-01-17 深圳市道通智能航空技术有限公司 High dynamic range image exposure control method, aerial camera and unmanned aerial vehicle
WO2021093578A1 (en) * 2019-11-14 2021-05-20 深圳市道通智能航空技术股份有限公司 High dynamic range image exposure control method, aerial camera, and unmanned aerial vehicle
CN110708473B (en) * 2019-11-14 2022-04-15 深圳市道通智能航空技术股份有限公司 High dynamic range image exposure control method, aerial camera and unmanned aerial vehicle
CN114390211A (en) * 2020-10-20 2022-04-22 北京小米移动软件有限公司 Exposure convergence method, device, electronic device and storage medium
CN114390211B (en) * 2020-10-20 2024-03-22 北京小米移动软件有限公司 Exposure convergence method, device, electronic equipment and storage medium
CN113329188A (en) * 2021-05-07 2021-08-31 浙江大华技术股份有限公司 Exposure control method and device, electronic equipment and storage medium
CN113329188B (en) * 2021-05-07 2022-11-22 浙江大华技术股份有限公司 Exposure control method and device, electronic equipment and storage medium
CN113259600B (en) * 2021-05-11 2022-08-05 北京地平线机器人技术研发有限公司 Exposure parameter configuration method and device, electronic equipment and medium
CN113259600A (en) * 2021-05-11 2021-08-13 北京地平线机器人技术研发有限公司 Exposure parameter configuration method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN108419025B (en) 2020-01-07

Similar Documents

Publication Publication Date Title
CN108419025A (en) A kind of exposure parameter method of adjustment, device and readable medium
CN108769542A (en) A kind of exposure parameter determines method, apparatus and readable medium
AU2016200002B2 (en) High dynamic range transition
EP3554070B1 (en) Photograph-capture method, apparatus and storage medium
CN103826066B (en) Automatic exposure adjusting method and system
CN109272459A (en) Image processing method, device, storage medium and electronic equipment
US8941775B2 (en) Systems, methods, and devices for flash exposure control using preflash statistics
CN104394392B (en) A kind of white balance adjusting method, device and terminal
CN110751608B (en) Night scene high dynamic range image fusion method and device and electronic equipment
TW201707436A (en) Machine learning of real-time image capture parameters
CN108702452A (en) A kind of image capturing method and device
WO2019089120A1 (en) Digital image auto exposure adjustment
CN104954699B (en) A kind of acquisition parameters method to set up and user terminal
CN101013250A (en) Exposure control apparatus and image pickup apparatus
CN104853111A (en) Shooting method and terminal
CN109741288A (en) Image processing method, device, storage medium and electronic equipment
WO2022121893A1 (en) Image processing method and apparatus, and computer device and storage medium
CN110213486A (en) Image capturing method, terminal and computer readable storage medium
CN104754219A (en) Terminal
CN110618852B (en) View processing method, view processing device and terminal equipment
CN112351197B (en) Shooting parameter adjusting method and device, storage medium and electronic equipment
CN109003272A (en) Image processing method, apparatus and system
CN109672829B (en) Image brightness adjusting method and device, storage medium and terminal
CN103905707A (en) Method and device for controlling image pickup device
US10939018B2 (en) Image processing apparatus, image processing method, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant