CN113596342A - Automatic exposure method, exposure apparatus, camera and computer readable storage medium - Google Patents

Automatic exposure method, exposure apparatus, camera and computer readable storage medium Download PDF

Info

Publication number
CN113596342A
CN113596342A CN202110729403.XA CN202110729403A CN113596342A CN 113596342 A CN113596342 A CN 113596342A CN 202110729403 A CN202110729403 A CN 202110729403A CN 113596342 A CN113596342 A CN 113596342A
Authority
CN
China
Prior art keywords
exposure
target
current
brightness
calculating
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.)
Pending
Application number
CN202110729403.XA
Other languages
Chinese (zh)
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.)
Insta360 Innovation Technology Co Ltd
Original Assignee
Insta360 Innovation 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 Insta360 Innovation Technology Co Ltd filed Critical Insta360 Innovation Technology Co Ltd
Priority to CN202110729403.XA priority Critical patent/CN113596342A/en
Publication of CN113596342A publication Critical patent/CN113596342A/en
Priority to PCT/CN2022/100183 priority patent/WO2023273962A1/en
Pending legal-status Critical Current

Links

Images

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/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • 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
    • 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/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise

Landscapes

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

Abstract

The invention discloses an automatic exposure method, which comprises the following steps: s1: acquiring current frame image data shot by a shooting device according to current exposure parameters and calculating the brightness Ya of the current frame; s2: calculating a target exposure EVb according to the brightness Ya of the current frame, the current exposure EVa and the target brightness Yb; s3: selecting a corresponding exposure parameter table according to the motion state of the shooting device; s4: determining a target exposure parameter according to the target exposure EVb and the selected exposure parameter table; s5: updating the exposure parameters of the shooting device to the target exposure parameters and returning to the step S1; the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table. The invention solves the problems that the shooting device shoots in a motion state to cause motion blur of the picture and shoots in a static state to cause serious picture noise.

Description

Automatic exposure method, exposure apparatus, camera and computer readable storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an automatic exposure method, an exposure apparatus, a camera, and a computer-readable storage medium.
Background
The purpose of automatic exposure is to enable the identification of brightness levels in different lighting conditions and different scenes and to adjust the exposure parameters in real time so that the captured video or image appears to the human eye as bright as appropriate. To achieve this goal, the lens aperture, sensor exposure time, sensor analog gain and digital gain are adjusted. This process of adjustment is called auto exposure (AutoExposure).
In the existing technical scheme, in an indoor or low-light environment, the shutter time is often set to be longer for improving the picture brightness and reducing noise, but when a moving video is recorded, the too long shutter time can cause serious motion blur, trailing and other phenomena.
In order to solve the above problems, chinese patent publication No. CN110290316A discloses a method for adjusting the upper limit of the shutter of a camera, which determines the motion state of the camera by receiving gyroscope data or according to the feature point movement of a stationary object in multiple frames of adjacent images; and adjusting the upper limit of the shutter of the camera in real time according to the motion state of the camera. By preferentially using a shorter shutter and a higher ISO during motion, it is ensured that no picture blur occurs due to a longer exposure time; when the shutter is still, the longer shutter and the lower ISO are preferentially used, so that the noise caused by the high ISO is reduced, and the image quality is improved.
However, the above scheme can only distinguish two states of still and moving, but cannot distinguish the specific type of moving, and under the condition of different degrees of movement severity, the shutter and ISO of the camera are adjusted in the same way, so that the shot picture in some moving scenes is not ideal.
Therefore, there is a need for an improvement of the existing automatic exposure method.
Disclosure of Invention
The invention aims to provide an automatic exposure method, an exposure device, a camera and a computer readable storage medium, aiming at solving at least part of defects of the existing automatic exposure method.
In a first aspect, a preferred embodiment of the present invention provides an automatic exposure method, including: s1: acquiring current frame image data shot by a shooting device according to current exposure parameters and calculating the brightness Ya of the current frame; s2: calculating a target exposure EVb according to the brightness Ya of the current frame, the current exposure EVa and the target brightness Yb; s3: selecting a corresponding exposure parameter table according to the motion state of the shooting device; s4: determining a target exposure parameter according to the target exposure EVb and the selected exposure parameter table; s5: updating the exposure parameters of the shooting device to the target exposure parameters and returning to the step S1; the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table.
In a specific aspect of the present embodiment, the current exposure amount EVa in step S1 can be calculated by the following formula: EVa = SHTa AGCa/APTa^2Wherein SHTa, AGCa and APTa are the current shutter, gain and aperture of the shooting device in sequence.
In the optimization scheme of this embodiment, the step S1 includes the following sub-steps: s101: acquiring current frame image data shot by a shooting device according to current exposure parameters; s102: dividing the current frame image data into a plurality of blocks and setting a weight value for each block; s103: and calculating the brightness of the current frame according to the average brightness value of each block and the corresponding weight value.
In a specific aspect of this embodiment, the step S2 includes the following sub-steps: s201: judging whether the brightness Ya of the current frame and the target brightness Yb are within an error range, if so, returning to the step S1, otherwise, entering the step S202; s202: the target exposure amount EVb is calculated from the current exposure amount EVa, the target luminance Yb, and the luminance Ya of the current frame.
In a specific aspect of this embodiment, the step S3 includes the following sub-steps: s301: obtaining a difference Df between two adjacent angles read by the gyroscope; s302: if the values of N consecutive Df are all at the set threshold DtiTo Dti+1If so, judging the shooting device to be in the ith motion state; s303: an ith exposure parameter table corresponding to the ith motion state is selected.
In a specific aspect of this embodiment, the step S4 includes the following sub-steps: s401: calculating an exposure index Nb from the target exposure amount EVb; s402: determining target exposure parameters according to the exposure indexes and corresponding data in the exposure parameter table; the exposure parameter table takes an exposure index as a coordinate and comprises an exposure index value and a corresponding exposure parameter value, and the exposure parameter comprises an aperture value, a shutter value and a gain value.
Further, the step S402 specifically includes: and finding two indexes closest to the exposure index Nb and two groups of corresponding exposure parameters in the exposure parameter table according to the exposure index Nb, and calculating the target exposure parameters by adopting an interpolation method.
In a second aspect, an embodiment of the present invention further provides an automatic exposure apparatus, including: the acquisition module acquires image data of a frame shot by the shooting device according to the current exposure parameters and calculates the brightness Ya of the current frame; the calculation module is used for calculating a target exposure EVb according to the current exposure EVa, the brightness Ya of the current frame and the target brightness Yb; the selection module is used for selecting a corresponding exposure parameter table according to the motion state of the shooting device; the determining module is used for determining target exposure parameters according to the target exposure EVb and the selected exposure parameter table; the updating module is used for updating the exposure parameters of the shooting device into the exposure parameters of the next frame; the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table.
In a third aspect, an embodiment of the present invention further provides a camera, which includes a processor and a memory, where the memory stores a computer program, and the computer program is used for implementing the automatic exposure method described in any one of the above when the processor executes the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the automatic exposure method described in any one of the above.
Compared with the prior art, the technical scheme of the invention updates the exposure parameters of the shooting device in real time by combining the target exposure and the motion state of the shooting device, thereby improving the problems that the shooting device shoots in the motion state to cause motion blur of the picture and shoots in the static state to cause serious picture noise.
Drawings
Fig. 1 is a flowchart of an automatic exposure method in embodiment 1 of the present invention.
Fig. 2 is a flowchart illustrating the sub-steps of step S1 in embodiment 1 of the present invention.
Fig. 3 is a flowchart illustrating the sub-steps of step S2 in embodiment 1 of the present invention.
Fig. 4 is a flowchart illustrating the sub-steps of step S3 in embodiment 1 of the present invention.
Fig. 5 is a flowchart illustrating the sub-steps of step S4 in embodiment 1 of the present invention.
Fig. 6 is a luminance lookup table Y _ LUT in embodiment 1 of the present invention.
Fig. 7 is a table of still state exposure parameters in embodiment 1 of the present invention.
Fig. 8 is a table of exposure parameters in the walking state in embodiment 1 of the present invention.
Fig. 9 is a running state exposure parameter table in embodiment 1 of the present invention.
Fig. 10 is a block diagram of an automatic exposure apparatus in embodiment 2 of the present invention.
Fig. 11 is a block diagram of a camera in embodiment 3 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It should be noted that the reference numbers "S1", "S2" in the specification, claims and drawings of the present disclosure are used for representing the content of a certain step, and are not used for describing a specific sequence or order. It should be understood that the reference numerals so used are interchangeable under appropriate circumstances unless the subsequent step is dependent on the implementation of the previous step.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example 1
As shown in fig. 1, a flowchart of the automatic exposure method in the present embodiment includes the following steps.
S1: and acquiring the current frame image data shot by the shooting device according to the current exposure parameters and calculating the brightness Ya of the current frame.
In this embodiment, the imaging device may be an electronic apparatus having an imaging function, such as a motion camera, a mobile phone, or a video camera. After the image data of the current frame is acquired, the luminance values of the pixels of the current frame may be counted, and then the average value of the luminance values of the pixels is used as the luminance Ya of the current frame.
In a specific aspect of the present embodiment, step S1 includes the following substeps.
S101: and acquiring the current frame image data shot by the shooting device according to the current exposure parameters.
The current frame image data is video frame image data captured with the current exposure parameters (shutter SHTa, gain AGCa, and aperture APTa) of the imaging device. It should be noted that, when the shooting device is turned on, the current exposure parameter of the shooting device is a preset value, and the preset value is related to the shooting scene of the shooting device, for example, the shooting scene of the motion camera is mostly outdoor, and the environment is bright, so the exposure amount of the motion camera is relatively small due to the preset exposure parameter.
S102: an image of a current frame is divided into a plurality of blocks and a weight value is set for each block.
In the embodiment, the image of the current frame may be divided into n image blocks with the same size, and different weights ω i may be set according to the positions of the image blocks in the image, and since the focus of the user during shooting is generally located at the center of the image or near the ground, the image blocks located at the center and below the image may be set with higher weights. In other alternatives of this step, the image of the current frame may be divided into a plurality of blocks according to the shooting content of the image, for example, an object in the image of the current frame is identified by an AI (artificial intelligence algorithm), and then a higher weight value is set for the block where the object is located.
S103: and calculating the brightness of the current frame according to the average brightness value of each block and the corresponding weight value.
In the specific scheme of this embodiment, since each block has the same size, and therefore the number of pixels included in each block is the same, the luminance value of each pixel of each block may be counted first, then the average luminance value Li of each block is obtained, and then the average luminance value Li of each block is multiplied by the corresponding weight value ω i of each block, so that the luminance Ya of the current frame may be obtained, and the calculation formula is as follows: ya =
Figure DEST_PATH_IMAGE002
Wherein, in the step (A),
Figure DEST_PATH_IMAGE004
=1。
s2: the target exposure amount EVb is calculated from the luminance Ya of the current frame, the current exposure amount EVa, and the target luminance Yb.
In the present embodiment, step S2 includes sub-steps S201 and S202.
S201: and judging whether the brightness Ya of the current frame and the target brightness Yb are within the error range, if so, returning to the step S1, and if not, entering the step S202.
The current exposure EVa is calculated as: EVa = SHTa AGCa/APTa^2Wherein SHTa, AGCa and APTa are the current shutter, gain and aperture of the shooting device in sequence.
The target brightness Yb is obtained by calculating an exposure index Na from the current exposure EVa and then combining with a brightness lookup table, and specifically comprises the following steps: an exposure index Na is calculated from the current exposure amount EVa, and is limited to the maximum value of the exposure index (15 in the present embodiment), and the calculation formula of the exposure index Na is: na =16+ log2 evaa, after calculating an exposure index Na, finding a value identical to Na in a luminance lookup table Y _ LUT, then finding a corresponding luminance value, if Na is located between two index coordinates Na1 and Na2, finding target luminance values Yb1 and Yb2 corresponding to two index coordinates Na1 and Na2, and then calculating a target luminance value Yb by an interpolation method, specifically: yb = Yb1+ (Yb2-Yb1) (Na-Na1)/(Na2-Na 1). The brightness lookup table Y _ LUT is a lookup table with the exposure index as a coordinate, and includes an exposure index value and a corresponding target brightness value, where the target brightness is a brightness of a captured image desired by a photographer, that is, a brightness that is consistent with a brightness observed by human eyes, the target brightness in the brightness lookup table Y _ LUT is an empirical value and is related to a capturing scene of the capturing device, for example, the target brightness value is larger in an outdoor scene and smaller in a night scene, and a brightness lookup table Y _ LUT in this example is shown in fig. 6.
After the target luminance Yb is obtained, it is compared with the luminance Ya of the current frame to determine whether the two values are within an error range (e.g., by calculating a ratio or difference range). If the brightness Ya of the current frame and the target brightness Yb are within the error range, the exposure parameters of the shooting device do not need to be adjusted, and then the step S1 is returned to; if the luminance Ya of the current frame and the target luminance Yb are outside the error range, the process proceeds to step S202.
S202: the target exposure amount EVb is calculated from the current exposure amount EVa, the target luminance Yb, and the luminance Ya of the current frame. In the present embodiment, the calculation formula of the target exposure amount EVb is: EVb = EVa Yb/Ya.
S3: and selecting a corresponding exposure parameter table according to the motion state of the shooting device.
In this step, the motion state of the camera can be determined by reading gyroscope data on the camera, and in other schemes, the motion state of the camera can be determined by comparing the displacement between feature points of adjacent video frames. In this embodiment, the moving state of the imaging device is set to a still state, a walking state, and a running state, and the following description will take an example in which the gyroscope data on the imaging device is read to determine the moving state of the imaging device.
S301: and acquiring a difference Df between the angles read by the gyroscope twice.
Specifically, the angle data of the gyroscope is read once every a period of time (e.g., 20 ms), and then subtracted from the angle data read last, and then the absolute value of the subtracted value is taken as the difference Df.
S302: if the values of N consecutive Df are all at the set threshold DtiTo Dti+1In between, the shooting deviceIt is determined as the ith motion state.
The exercise state in this embodiment includes 3 states including a stationary state, a walking state, and a running state, and correspondingly includes Dt1To Dt4A total of 4 thresholds are set, assuming Dt1<Dt2<Dt3<Dt4It can be known that Dt1=0,Dt4Tending to infinity. Therefore, when the values of N consecutive Df are all less than or equal to Dt2Judging that the shooting device is in a static state; when the values of N consecutive Df are all larger than Dt2And is less than or equal to Dt3Judging that the shooting device is in a walking state; when the values of N consecutive Df are all larger than Dt3And then, judging that the shooting device is in a running state.
Specifically, after obtaining the difference Df each time, it is determined whether the difference Df is less than or equal to the set variation threshold Dt2If yes, increase the count value C1Otherwise, count value C1Clearing; then, it is determined whether the difference Df is greater than Dt2And is less than or equal to Dt3If yes, increase the count value C2Otherwise, count value C2Clearing; then, whether the difference Df is larger than the set change threshold Dt is judged3If yes, increase the count value C3Otherwise, count value C3And (6) clearing. Judging the count value C1Whether or not it is greater than the set count threshold Ct1If yes, judging the state of the shooting device as a static state; judging the count value C2Whether or not it is greater than the set count threshold Ct2If yes, judging the state of the shooting device as a walking state; judging the count value C3Whether or not it is greater than the set count threshold Ct3If yes, the state of the shooting device is judged as the running state.
In another embodiment of this step, the count values in the unit time may be counted, and the corresponding motion state with the largest count value may be used as the current motion state of the imaging device.
S303: an ith exposure parameter table corresponding to the ith motion state is selected.
According to the motion state determined in step S302, the exposure parameter table EXP _ LUT corresponding to the motion state is selected. The exposure parameter table EXP _ LUT takes the exposure index as a coordinate, and includes an exposure index value and a corresponding exposure parameter value, and the exposure parameter includes an aperture value, a shutter value, and a gain value. The exposure parameter tables for the 3 motion states in this embodiment are shown in fig. 7 to 9.
S4: the target exposure parameter is determined based on the target exposure amount EVb and the selected exposure parameter table.
S401: the exposure index Nb is calculated from the target exposure amount EVb.
In the present embodiment, first, an exposure index Nb is calculated from the target exposure amount EVb, and the exposure index Nb is limited to the maximum value of the exposure index (currently set to 15), where the calculation formula of the exposure index Nb is: nb =16+ log2 EVb.
S402: and determining target exposure parameters according to the exposure indexes and the corresponding data in the exposure parameter table.
After the exposure index Nb is calculated, finding a value which is the same as Na in an exposure parameter table EXP _ LUT, and then finding a corresponding brightness value; if the exposure index Nb is located between the two index coordinates Nb1, Nb2 of the exposure parameter table EXP _ LUT, the shutter values SHT1, SHT2, gain values AGC1, AGC2, aperture values APT1, APT2 corresponding to the two index coordinates Nb1, Nb2 are found, and then the respective exposure parameter values are calculated by interpolation.
Specifically, the target shutter value EXP _ SHT is calculated by the formula:
EXP_SHT=SHT1+(SHT2-SHT1)*(Nb-Nb1)/(Nb2-Nb1)。
specifically, the calculation formula of the target gain value EXP _ AGC is:
EXP_AGC=AGC1+(AGC2-AGC1)*(Nb-Nb1)/(Nb2-Nb1)。
specifically, the target aperture value EXP _ APT is calculated by the formula:
EXP_APT=APT1+(APT2-APT1)*(Nb-Nb1)/(Nb2-Nb1)。
s5: the exposure parameter of the photographing device is updated to the target exposure parameter and returns to step S1.
The target exposure parameters determined in step S4 are set to the photographing device, and then the process returns to step S1, and steps S1 to S5 are repeated until the photographing device completes photographing of the entire video.
Example 2
As shown in fig. 10, the present embodiment discloses an automatic exposure apparatus including: the acquisition module acquires image data of a frame shot by the shooting device according to the current exposure parameters and calculates the brightness Ya of the current frame; the calculation module is used for calculating a target exposure EVb according to the current exposure EVa, the brightness Ya of the current frame and the target brightness Yb; the selection module is used for selecting a corresponding exposure parameter table according to the motion state of the shooting device; the determining module is used for determining target exposure parameters according to the target exposure EVb and the selected exposure parameter table; the updating module is used for updating the exposure parameters of the shooting device into the exposure parameters of the next frame; the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table.
The acquisition process and the calculation formula of each parameter in this embodiment can refer to the related description in embodiment 1.
Example 3
As shown in fig. 11, the present embodiment discloses a camera, which includes a processor and a memory, wherein the memory stores a computer program, and the computer program is used for implementing the automatic exposure method in embodiment 1 when the processor executes the computer program.
As known to those skilled in the art, the camera in this embodiment further includes necessary components such as a lens and an ISP.
Example 4
This embodiment discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the automatic exposure method in embodiment 1 above.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing associated hardware, and the storage medium may be a computer-readable storage medium, such as a ferroelectric Memory (FRAM), a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Erasable Programmable Read Only Memory (EEPROM), a flash Memory, a magnetic surface Memory, an optical disc, or a Compact disc Read Only Memory (CD-ROM), etc.; or may be various devices including one or any combination of the above memories.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An automatic exposure method, comprising:
s1: acquiring current frame image data shot by a shooting device according to current exposure parameters and calculating the brightness Ya of the current frame;
s2: calculating a target exposure EVb according to the brightness Ya of the current frame, the current exposure EVa and the target brightness Yb;
s3: selecting a corresponding exposure parameter table according to the motion state of the shooting device;
s4: determining a target exposure parameter according to the target exposure EVb and the selected exposure parameter table;
s5: updating the exposure parameters of the shooting device to the target exposure parameters and returning to the step S1;
the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table.
2. The automatic exposure method according to claim 1, wherein the calculation formula of the current exposure amount EVa in the step S1 is: EVa = SHTa AGCa/APTa^2Wherein SHTa, AGCa,The APTa is the current shutter, gain and aperture of the shooting device in sequence.
3. The automatic exposure method according to claim 1, wherein the step S1 includes the sub-steps of:
s101: acquiring current frame image data shot by a shooting device according to current exposure parameters;
s102: dividing the current frame image data into a plurality of blocks and setting a weight value for each block;
s103: and calculating the brightness of the current frame according to the average brightness value of each block and the corresponding weight value.
4. The automatic exposure method according to claim 1, wherein the step S2 includes:
s201: judging whether the brightness Ya of the current frame and the target brightness Yb are within an error range, if so, returning to the step S1, otherwise, entering the step S202;
s202: the target exposure amount EVb is calculated from the current exposure amount EVa, the target luminance Yb, and the luminance Ya of the current frame.
5. The automatic exposure method according to claim 1, wherein the step S3 includes the sub-steps of:
s301: obtaining a difference Df between two adjacent angles read by the gyroscope;
s302: if the values of N consecutive Df are all at the set threshold DtiTo Dti+1If so, judging the shooting device to be in the ith motion state;
s303: an ith exposure parameter table corresponding to the ith motion state is selected.
6. The automatic exposure method according to claim 1, wherein the step S4 includes the sub-steps of:
s401: calculating an exposure index Nb from the target exposure amount EVb;
s402: determining target exposure parameters according to the exposure indexes and corresponding data in the exposure parameter table;
the exposure parameter table takes an exposure index as a coordinate and comprises an exposure index value and a corresponding exposure parameter value, and the exposure parameter comprises an aperture value, a shutter value and a gain value.
7. The automatic exposure method according to claim 6, wherein the step S402 is specifically: and finding two indexes closest to the exposure index Nb and two groups of corresponding exposure parameters in the exposure parameter table according to the exposure index Nb, and calculating the target exposure parameters by adopting an interpolation method.
8. An automatic exposure apparatus, comprising:
the acquisition module acquires the current frame image data shot by the shooting device according to the current exposure parameters and calculates the brightness Ya of the current frame;
the calculation module is used for calculating a target exposure EVb according to the brightness Ya of the current frame, the current exposure EVa and the target brightness Yb;
the selection module is used for selecting a corresponding exposure parameter table according to the motion state of the shooting device;
the determining module is used for determining target exposure parameters according to the target exposure EVb and the selected exposure parameter table;
the updating module is used for updating the exposure parameters of the shooting device into the exposure parameters of the next frame;
the current exposure EVa is obtained by calculating the current exposure parameter of the camera, and the target brightness Yb is obtained by calculating the exposure index Na from the current exposure EVa and then combining with a brightness lookup table.
9. A camera comprising a processor and a memory, the memory having stored thereon a computer program for, when executed by the processor, implementing the automatic exposure method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the automatic exposure method according to any one of claims 1 to 7.
CN202110729403.XA 2021-06-29 2021-06-29 Automatic exposure method, exposure apparatus, camera and computer readable storage medium Pending CN113596342A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110729403.XA CN113596342A (en) 2021-06-29 2021-06-29 Automatic exposure method, exposure apparatus, camera and computer readable storage medium
PCT/CN2022/100183 WO2023273962A1 (en) 2021-06-29 2022-06-21 Automatic exposure method, automatic exposure apparatus, camera and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110729403.XA CN113596342A (en) 2021-06-29 2021-06-29 Automatic exposure method, exposure apparatus, camera and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113596342A true CN113596342A (en) 2021-11-02

Family

ID=78245088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110729403.XA Pending CN113596342A (en) 2021-06-29 2021-06-29 Automatic exposure method, exposure apparatus, camera and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113596342A (en)
WO (1) WO2023273962A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115474006A (en) * 2022-02-22 2022-12-13 重庆紫光华山智安科技有限公司 Image capturing method and system, electronic device and readable storage medium
WO2023273962A1 (en) * 2021-06-29 2023-01-05 影石创新科技股份有限公司 Automatic exposure method, automatic exposure apparatus, camera and computer-readable storage medium
CN116744118A (en) * 2022-09-16 2023-09-12 荣耀终端有限公司 Method and device for determining shooting parameters

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060170816A1 (en) * 2005-01-28 2006-08-03 Silverstein D A Method and system for automatically adjusting exposure parameters of an imaging device
JP5629456B2 (en) * 2009-12-15 2014-11-19 キヤノン株式会社 Imaging apparatus and control method thereof
CN104320593B (en) * 2014-11-19 2016-02-24 湖南国科微电子股份有限公司 A kind of digital camera automatic exposure control method
CN108833802B (en) * 2018-09-18 2020-07-31 Oppo广东移动通信有限公司 Exposure control method and device and electronic equipment
CN109587407A (en) * 2018-12-14 2019-04-05 广州华多网络科技有限公司 Exposure amount adjustment method, device and the computer equipment of image taking
WO2020168519A1 (en) * 2019-02-21 2020-08-27 深圳市大疆创新科技有限公司 Camera parameter adjusting method, camera device, and movable platform
CN110099222B (en) * 2019-05-17 2021-05-07 睿魔智能科技(深圳)有限公司 Exposure adjusting method and device for shooting equipment, storage medium and equipment
CN113596342A (en) * 2021-06-29 2021-11-02 影石创新科技股份有限公司 Automatic exposure method, exposure apparatus, camera and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023273962A1 (en) * 2021-06-29 2023-01-05 影石创新科技股份有限公司 Automatic exposure method, automatic exposure apparatus, camera and computer-readable storage medium
CN115474006A (en) * 2022-02-22 2022-12-13 重庆紫光华山智安科技有限公司 Image capturing method and system, electronic device and readable storage medium
CN115474006B (en) * 2022-02-22 2023-10-24 重庆紫光华山智安科技有限公司 Image capturing method, system, electronic device and readable storage medium
CN116744118A (en) * 2022-09-16 2023-09-12 荣耀终端有限公司 Method and device for determining shooting parameters

Also Published As

Publication number Publication date
WO2023273962A1 (en) 2023-01-05

Similar Documents

Publication Publication Date Title
CN113596342A (en) Automatic exposure method, exposure apparatus, camera and computer readable storage medium
US9554059B1 (en) Exposure control system and associated exposure control method
US9288392B2 (en) Image capturing device capable of blending images and image processing method for blending images thereof
US9407831B2 (en) Intelligent auto-exposure bracketing
JP4665780B2 (en) Face importance degree determination apparatus, method, and imaging apparatus
JP4867365B2 (en) Imaging control apparatus, imaging apparatus, and imaging control method
US8493464B2 (en) Resolution adjusting method
JP6224362B2 (en) Imaging device
US10298853B2 (en) Image processing apparatus, method of controlling image processing apparatus, and imaging apparatus
CN107509044B (en) Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN107533756B (en) Image processing device, imaging device, image processing method, and storage medium storing image processing program for image processing device
CN110475067B (en) Image processing method and device, electronic equipment and computer readable storage medium
US8493501B2 (en) Scene-aware automatic-exposure control
JP2009177472A (en) Image processing method, image processor and imaging device
US7375758B2 (en) Electronic camera
US20140286593A1 (en) Image processing device, image procesisng method, program, and imaging device
CN113114946B (en) Video processing method and device, electronic equipment and storage medium
WO2020107289A1 (en) Photographing method and apparatus, and unmanned aerial vehicle
CN108206914B (en) Focusing method and device, and terminal
KR20180086646A (en) Adaptive exposure control apparatus for a camera
JP5849515B2 (en) Exposure calculation device and camera
US20210176398A1 (en) Control method and device for electronic device, electronic device, and storage medium
CN114125317A (en) Exposure control method, device, equipment and storage medium
JP2002369074A (en) Exposure controller for optical equipment and its program and its method
TW201634999A (en) Auto focus method and apparatus using the same method

Legal Events

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