CN111970463A - Aperture correction method and apparatus, storage medium, and electronic apparatus - Google Patents

Aperture correction method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN111970463A
CN111970463A CN202010859826.9A CN202010859826A CN111970463A CN 111970463 A CN111970463 A CN 111970463A CN 202010859826 A CN202010859826 A CN 202010859826A CN 111970463 A CN111970463 A CN 111970463A
Authority
CN
China
Prior art keywords
target
stroke
aperture
target aperture
maximum step
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
CN202010859826.9A
Other languages
Chinese (zh)
Other versions
CN111970463B (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.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010859826.9A priority Critical patent/CN111970463B/en
Publication of CN111970463A publication Critical patent/CN111970463A/en
Application granted granted Critical
Publication of CN111970463B publication Critical patent/CN111970463B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/75Circuitry for compensating brightness variation in the scene by influencing optical camera components

Abstract

The invention provides a method and a device for correcting an aperture, a storage medium and an electronic device, wherein the method comprises the following steps: starting from the initial position of the target aperture, positively adjusting the logic stroke of the target aperture at intervals of preset time according to preset stroke sampling intervals; stopping forward adjustment when the brightness values of the images acquired by the target aperture from the second target logic stroke to the third target logic stroke are equal, and reversely adjusting the logic stroke of the target aperture from the third target logic stroke according to a preset stroke sampling interval at intervals of a preset time length until the initial position is adjusted; and correcting the target aperture according to the first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and the second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction. The invention solves the technical problem of low aperture correction precision caused by incapability of realizing automatic aperture correction.

Description

Aperture correction method and apparatus, storage medium, and electronic apparatus
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an apparatus for correcting an aperture, a storage medium, and an electronic apparatus.
Background
An aperture is a device used to control the amount of light that passes through a lens into the photosensitive surface of a camera. Generally, in order to adapt to different monitoring ranges or differences of illumination conditions, a camera needs to support replacement of different magnifications or different aperture values; however, differences in aperture values at different magnifications often result in different curves and step size ranges for the apertures.
At present, professional personnel are needed to correct the aperture of the camera, and the professional personnel are needed to have strong expertise, otherwise, large errors can be generated. And a general user cannot perform correction by himself, which brings great inconvenience to the user.
Therefore, an effective solution is not available at present for the technical problem of low precision of aperture correction caused by the inability to automatically correct the aperture in the related art.
Disclosure of Invention
The embodiment of the invention provides a method and a device for correcting an aperture, a storage medium and an electronic device, which are used for at least solving the problem of low accuracy of aperture correction caused by incapability of realizing automatic correction of the aperture in the related art.
According to an embodiment of the present invention, there is provided a method of correcting an aperture, including: the method comprises the steps that the logical stroke of a target aperture is adjusted in a forward direction at intervals of preset time according to preset stroke sampling intervals from the initial position of the target aperture, wherein the adjustment is performed once at intervals of the preset time according to the preset stroke sampling intervals, and the target aperture reaches one logical stroke; when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, stopping the forward adjustment, and starting from the third target logic stroke, reversely adjusting the logic stroke of the target aperture at intervals of a preset time length according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment is performed on the second target logic stroke, and N is an integer greater than or equal to 0; and correcting the target aperture according to a first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the backward direction.
Optionally, the method further comprises: determining the second target logic stroke as the maximum step upper limit of the target aperture, and the first target logic stroke as the maximum step lower limit of the target aperture, wherein the first target logic stroke is the previous logic stroke of the second target logic stroke when the target aperture is adjusted in the forward direction; determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit.
Optionally, determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit, comprises: sequentially ordering the second image brightness values acquired by the target aperture in each logic stroke in the process of reversely adjusting the logic stroke of the target aperture according to the sequence of the logic stroke from small to small by taking the image brightness values acquired at the initial position as a starting point to obtain a first sequence, wherein the first sequence comprises each logic stroke and the corresponding second image brightness value; moving the second image brightness value in the first sequence to the left by N bits in sequence, and taking the moved image brightness value as a third image brightness value on a corresponding logic stroke; and sequentially moving the second image brightness value in the first sequence to the left by N +1 bits, and taking the moved image brightness value as a fourth image brightness value on the corresponding logical stroke.
Optionally, in the determining, in a case where the maximum step size of the target aperture is the maximum step size upper limit, a third image brightness value of the target aperture on each of the logical strokes, and in a case where the maximum step size of the target aperture is the maximum step size lower limit, a fourth image brightness value of the target aperture on each of the logical strokes, the method further includes: and determining a fifth image brightness value on each logic stroke by a linear difference algorithm under the condition that the maximum step length of the target aperture is a preset maximum step length according to the third image brightness value and the fourth image brightness value on each logic stroke, wherein the preset maximum step length is a numerical value between the maximum step length upper limit and the maximum step length lower limit.
Optionally, correcting the target aperture includes: determining the average normalized square error when the maximum step size of the target aperture is the maximum step size upper limit, the maximum step size lower limit and the preset maximum step size respectively through the following formulas:
Figure BDA0002647700930000031
wherein x isiFirst image brightness values, x, at the respective logical strokes in the case of a positive adjustment of the logical strokes of the target aperturei' is an image brightness value at a corresponding logical run with the maximum step upper limit, the maximum step lower limit, and the preset maximum step, respectively, and M is a total number of forward adjustments; determining the maximum step length of the maximum step length upper limit, the maximum step length lower limit and the maximum step length of the preset maximum step length, wherein the average normalized square error of the maximum step length is smaller than or equal to a preset threshold value, as the real maximum step length of the target aperture; adjusting the target aperture so that the brightness value of the image acquired by the target aperture at the real maximum step size is a maximum brightness value, wherein the maximum brightness value comprises: image brightness values acquired by the target aperture from the second target logical run to the third target logical run.
Optionally, when the target aperture is corrected, the method further includes: determining a difference between the third target logical trip and the true maximum step size as a target difference; subtracting the target difference value from the logic stroke which is greater than or equal to the target difference value in the first sequence to be used as a preset logic stroke, and using the preset logic stroke and a corresponding image brightness value as a second sequence; determining a correction function of the target aperture according to a preset logic stroke and a corresponding image brightness value in the second sequence, and each logic stroke and a corresponding first image brightness value obtained when the logic stroke of the target aperture is adjusted in the forward direction; and correcting the target aperture according to the correction function.
According to another embodiment of the present invention, there is provided an aperture correction apparatus including: the first adjusting module is used for adjusting the logical stroke of the target aperture in the forward direction at intervals of preset time according to preset stroke sampling intervals from the initial position of the target aperture, wherein the adjustment is performed at intervals of preset time according to the preset stroke sampling intervals, and the target aperture reaches one logical stroke; the second adjusting module is used for stopping the forward adjustment when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, and reversely adjusting the logic stroke of the target aperture from the third target logic stroke every other preset time length according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0; and the correction module is used for correcting the target aperture according to a first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction.
Optionally, the apparatus further comprises: a first determining module, configured to determine that the second target logical stroke is a maximum upper step size limit of the target aperture, and a first target logical stroke is a maximum lower step size limit of the target aperture, where the first target logical stroke is a previous logical stroke of the second target logical stroke when the target aperture is adjusted in a forward direction; a second determination module, configured to determine a third image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size lower limit.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the logical stroke of the target aperture is positively adjusted at intervals of preset time according to the preset stroke sampling interval from the initial position of the target aperture, wherein the adjustment is executed at intervals of the preset time according to the preset stroke sampling interval, and the target aperture reaches one logical stroke; stopping the forward adjustment when the brightness values of the images acquired by the target aperture from the second target logic stroke to the third target logic stroke are equal, and reversely adjusting the logic stroke of the target aperture from the third target logic stroke to the initial position at preset stroke sampling intervals at intervals of preset duration, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0; and correcting the target aperture according to the first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and the second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction. Therefore, the technical problem that the precision of aperture correction is low due to the fact that automatic correction of the aperture cannot be achieved can be solved, the automatic correction of the aperture is achieved, and the effect of improving the precision of aperture correction is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal according to a method for correcting an aperture according to an embodiment of the present invention;
fig. 2 is a flowchart of a method of correcting an aperture according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an aperture calibration curve according to an embodiment of the present invention;
fig. 4 is a block diagram of a structure of a correction apparatus of an aperture according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of the method running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a method for correcting an aperture according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the method for correcting an aperture in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a method for correcting an aperture of a mobile terminal is provided, and fig. 2 is a flowchart of correcting an aperture according to an embodiment of the present invention, and as shown in fig. 2, the flowchart includes the following steps:
step S202, starting from the initial position of a target aperture, positively adjusting the logical stroke of the target aperture at intervals of preset time according to preset stroke sampling intervals, wherein the adjustment is performed at intervals of preset time according to the preset stroke sampling intervals, and the target aperture reaches one logical stroke;
step S204, when the brightness values of the images collected by the target aperture from the second target logical stroke to the third target logical stroke are all equal, stopping the forward adjustment, and starting from the third target logical stroke, reversely adjusting the logical stroke of the target aperture at intervals of the preset time length according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logical stroke is a logical stroke reached after N times of adjustment from the second target logical stroke, and N is an integer greater than or equal to 0;
step S206, correcting the target aperture according to a first image brightness value acquired on each of the logical strokes when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logical stroke when the target aperture is adjusted in the backward direction.
As an alternative embodiment, the following steps may be included:
step 1: and determining the type of the target aperture, wherein the type of the aperture can be a DC aperture, a P-Iris aperture, a Hall aperture and the like. And determining whether the current ambient light is stable or not and whether a moving object or other moving light sources influence the brightness of the picture or not. The preset time period may be stable, and may be 1 minute or more, or 30 seconds or more, for example. When the maximum aperture is determined, the exposure time Shut and Gain for preventing the picture from being overexposed can be ensured. The main purpose here is to prevent the image brightness statistics from being affected after the image is overexposed.
Step 2: starting aperture correction, and determining exposure time Shut and Gain value Gain; the estimated stroke Lrange of the input aperture is supported, 200, 250, 300 and the like can be configured, and the maximum step length of the aperture is mainly ensured to be included; the input aperture stroke sampling interval Step may be any value such as 5, 8, 10, 15, 20, etc., and the specific selection may be determined according to the actual situation.
And step 3: initializing configuration, wherein the logic step length of bottom-layer aperture driving is configured to be Lrange; fixing the current exposure time as Shut and the Gain as Gain; the initial position of the current aperture position is configured, and can be a position with the step size of 0, and the aperture is closed completely.
And 4, step 4: and forward data sampling and determining the maximum step size range of the aperture. Firstly, the aperture position starts from an initial position, the logical stroke of the aperture is set at intervals of Step stroke, and the duration of each sampling point is presetIf the system can stop for 1S, recording the logic travel point and the corresponding image brightness; secondly, comparing the logic journey L of the current sampling point from the S-th sampling pointiThe logic run of the previous sampling point is Li-1,Li-2Is equal to or greater than, wherein the S value can be set according to actual conditions, and can be, for example, 2, 3, 4, 5, and the like. If the conditions are met, stopping sampling, and recording the logic travel L of the stopped sampling pointstopAnd recording the upper and lower limits of the maximum step length as Lup=Li-2,Ldown=Li-3. The collated forward DATA is DATA 0.
And 5: and generating inverted data samples and inverted sample data sequences. Firstly, from the logic run L of the stop sampling pointstopAnd starting, setting a diaphragm logical stroke at an interval of Step stroke, stopping each sampling point for a preset time length such as 1 second, recording the image brightness of the logical stroke until the position is 0, and finishing the reverse DATA into DATA 1.
In the following, the preset time duration is 1 second, the preset stroke sampling interval Step is 10 steps, and N is 2, assuming that, when the logical stroke of the target aperture is adjusted in the forward direction, the image brightness value acquired at each logical stroke is the forward DATA0 in table 1 below, and when the logical stroke of the target aperture is adjusted in the reverse direction, the image brightness value acquired at each logical stroke is the reverse DATA1 in table 1 below:
TABLE 1
Logical run 0 10 20 30 40 50 60 70 80
Forward DATA0 2 5 14 35 78 129 149 149 149
Reverse DATA DATA1 1 1 1 5 11 28 65 122 149
As can be seen from Table 1, LstopFor a logical run of 80, the logical run of 80 corresponds to the present embodimentA logical run of 60 corresponds to the second target logical run in the present embodiment. The brightness value of the image acquired at each sample point in the forward DATA0 corresponds to a first image brightness value, and the brightness value of the image acquired at each sample point in the backward DATA1 corresponds to a second image brightness value. The aperture is corrected based on the forward DATA0 and the reverse DATA 1.
Through the steps, the logical stroke of the target aperture is adjusted in the positive direction at intervals of preset time according to the preset stroke sampling interval from the initial position of the target aperture, wherein the adjustment is performed once at intervals of the preset time according to the preset stroke sampling interval, and the target aperture reaches one logical stroke; stopping the forward adjustment when the brightness values of the images acquired by the target aperture from the second target logic stroke to the third target logic stroke are equal, and reversely adjusting the logic stroke of the target aperture from the third target logic stroke to the initial position at preset stroke sampling intervals at intervals of preset duration, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0; and correcting the target aperture according to the first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and the second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction. Therefore, the technical problem that the precision of aperture correction is low due to the fact that automatic correction of the aperture cannot be achieved can be solved, the automatic correction of the aperture is achieved, and the effect of improving the precision of aperture correction is achieved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
As an optional embodiment, the method further comprises: determining the second target logic stroke as the maximum step upper limit of the target aperture, and the first target logic stroke as the maximum step lower limit of the target aperture, wherein the first target logic stroke is the previous logic stroke of the second target logic stroke when the target aperture is adjusted in the forward direction; determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit. In the present embodiment, taking the data in table 1 as an example, the logical run 50 corresponds to a first target logical run in the present embodiment, and the logical run 60 corresponds to a second target logical run in the present embodiment.
As an alternative embodiment, determining a third image brightness value of the target aperture on each of the logical strokes in the case that the maximum step size of the target aperture is the maximum step size upper limit, and determining a fourth image brightness value of the target aperture on each of the logical strokes in the case that the maximum step size of the target aperture is the maximum step size lower limit, includes: sequentially ordering second image brightness values acquired by the target aperture in each logic stroke in the process of reversely adjusting the logic stroke of the target aperture according to the sequence of the logic stroke from small to small by taking the image brightness values acquired at the initial position as a starting point to obtain a first sequence, wherein the first sequence comprises each logic stroke and the corresponding second image brightness value; moving the second image brightness value in the first sequence to the left by N bits in sequence, and taking the moved image brightness value as a third image brightness value on a corresponding logic stroke; and sequentially moving the image brightness values in the first sequence to the left by N +1 bits, and taking the moved image brightness values as fourth image brightness values on corresponding logic strokes.
As an alternative embodiment, the upper and lower limits L are based on the maximum step sizeup,LdownCorresponding displacement of the reverse DATA DATA1 forms a reverse DATA sequence DATA1_ Ldown,DATA1_Lup(ii) a According to the maximum step size L possiblexThe shifting of the reverse data can be understood simply as follows: if the actual step length of the aperture is at most LxWhen sampling is performed in the reverse direction, the logical trip point LstopCorresponding to an actual diaphragm stroke of LxLogic ofTravel point LiCorresponding to an actual diaphragm stroke of LiLeft shift Lstop-LxThe latter position. Taking table 1 in the above embodiment as an example, in the above embodiment, the following table 2 shows a first sequence.
TABLE 2
Logical run 0 10 20 30 40 50 60 70 80
Reverse DATA DATA1 1 1 1 5 11 28 65 122 149
In the present embodiment, N is 2, that is, two adjustments are performed from the logic routine 60 to the logic routine 80. At the time of inverse sampling, LstopIn the logic journey 80, the difference is adjusted for 2 times from the logic journey when the logic journey is 60 in the forward sampling, the image brightness value in the table 3 is sequentially moved to the left by 2 bits, namely the maximum step length of the target aperture is the maximum step length upper limit LupThe third image brightness value of the target aperture at each logical run, as the inverse DATA1_60 in table 2. If the image brightness values in table 2 are sequentially shifted to the left by N +1 to 3 bits, the maximum step size of the target aperture is the maximum step size lower limit LdownIn the case of (3), the fourth image brightness value of the target aperture at each logical run, as the inverse DATA1_50 in table 3. In table 3, the data left after the left shift may be null data or may be the maximum image luminance value 149.
TABLE 3
Logical run 0 10 20 30 40 50 60 70 80
Reverse DATA DATA1 1 1 1 5 11 28 65 122 149
Reverse DATA1_60 1 5 11 28 65 122 149 149 149
Reverse DATA1_50 5 11 28 65 122 149 149 149 149
As an optional embodiment, after the determining a third image brightness value of the target aperture on each of the logical strokes in the case that the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in the case that the maximum step size of the target aperture is the maximum step size lower limit, the method further includes: and determining a fifth image brightness value on each logic stroke by a linear difference algorithm under the condition that the maximum step length of the target aperture is a preset maximum step length according to the third image brightness value and the fourth image brightness value on each logic stroke, wherein the preset maximum step length is a numerical value between the maximum step length upper limit and the maximum step length lower limit.
As an alternative implementation, taking the above example as an example, in this example, the maximum step size upper limit LupLogic run is 60, LdownThe logical run is 50. In the present embodiment, an integer number of logic strokes between 50 and 60 is used as the preset maximum step size. And determining a fifth image brightness value on the corresponding logic stroke through a linear difference algorithm based on the third image brightness value and the fourth image brightness value. As shown in table 4 below, DATA1_59, DATA1_58, DATA1_57, and DATA1_51 … 56 are preset maximum step sizes, and the image brightness value on the corresponding logical run is the fifth image brightness value.
TABLE 4
Logical run 0 10 20 30 40 50 60 70 80
Forward DATA0 2 5 14 35 78 129 149 149 149
Reverse DATA DATA1 1 1 1 5 11 28 65 122 149
Reverse DATA1_60 1 5 11 28 65 122 149 149 149
Reverse DATA1_59 1.40 5.60 12.70 31.70 70.70 124.70 149.00 149.00 149.00
Reverse DATA1_58 1.80 6.20 14.40 35.40 76.40 127.40 149.00 149.00 149.00
Reverse DATA1_57 2.20 6.80 16.10 39.10 82.10 130.10 149.00 149.00 149.00
Reverse DATA DATA1_51 … 56 149 149 149
Reverse DATA1_50 5 11 28 65 122 149 149 149 149
As an alternative embodiment, the average normalized square error when the maximum step size of the target aperture is the maximum step size upper limit, the maximum step size lower limit, or the preset maximum step size is determined by the following formulas:
Figure BDA0002647700930000111
wherein x isiFirst image luminance value, x 'at each logical stroke at the time of forward adjustment of logical stroke of the target aperture'iThe image brightness values of the corresponding logic strokes under the conditions of the maximum step length upper limit, the maximum step length lower limit and the preset maximum step length respectively are obtained, and M is the total number of forward adjustment; determining the maximum step length of the maximum step length upper limit, the maximum step length lower limit and the maximum step length of the preset maximum step length, wherein the average normalized square error of the maximum step length is smaller than or equal to a preset threshold value, as the real maximum step length of the target aperture; adjusting the target aperture so that the brightness value of the image acquired by the target aperture at the real maximum step size is a maximum brightness value, wherein the maximum brightness value comprises: image brightness values acquired by the target aperture from the second target logical run to the third target logical run.
As an alternative embodiment, the normalized squared error can be simply understood as follows: assuming x is the reference data, the normalized square error between x 'and x is y ═ x' -x)2/x2When x is 0, the denominator is calculated as 1; the method mainly considers the calculation of the percentage of the brightness error at each aperture stroke point, and avoids the influence of the larger image brightness error on the whole error judgment when the aperture is larger.
In this embodiment, x' is the maximum step size upper limit LupThe maximum step length lower limit LdownAnd image brightness values corresponding to logical strokes in the case of a preset maximum step size, such as the image brightness values of DATA1_60, DATA1_59, DATA1_58, DATA1_57, DATA1_51 … 56, and DATA1_50 in the above table 4, and x is the image brightness value of the forward DATA0 in table 4. And determining the maximum step length of the calibration aperture as the maximum step length upper limit, the maximum step length lower limit, the normalized square error SUM SUM and the average normalized square error AVG on each logic stroke under the condition of presetting the maximum step length according to the formula. Taking the data in table 4 above as an example, the calculated corresponding data is shown in table 5, in which SUM is shown.
TABLE 5
Logical run 0 10 20 30 40 50 60 70 80 SUM AVG
DATA1_60 0.250 0.000 0.046 0.040 0.028 0.003 0.000 0.000 0.000 0.367 0.041
DATA1_59 0.090 0.014 0.009 0.009 0.009 0.001 0.000 0.000 0.000 0.132 0.015
DATA1_58 0.010 0.058 0.001 0.000 0.000 0.000 0.000 0.000 0.000 0.069 0.008
DATA1_57 0.010 0.130 0.023 0.014 0.003 0.000 0.000 0.000 0.000 0.179 0.020
DATA1_51…56 0.000 0.000 0.000
DATA1_50 2.250 1.440 1.000 0.735 0.318 0.024 0.000 0.000 0.000 5.767 0.641
In this embodiment, the preset threshold may be determined according to actual conditions, for example, may be 0.01, 0.02, etc., and the specific value may be determined according to actual conditions, in this embodiment, the preset threshold is 0.01 for example, it can be seen from Table 5 that the average normalized square error AVG of DATA1_58 is less than 0.01, i.e. the maximum step L of the aperture can be determinedmaxIs 58; DATA _58, the average normalized squared error is less than 0.01, satisfying the aperture correction error criterion, when the image brightness at step size 58 of the adjusted aperture is at a maximum 149.
As an optional embodiment, in correcting the target aperture, the method further includes: determining a difference between the third target logical trip and the true maximum step size as a target difference; subtracting the target difference value from the logic stroke which is greater than or equal to the target difference value in the first sequence to be used as a preset logic stroke, and using the preset logic stroke and a corresponding image brightness value as a second sequence; determining a correction function of the target aperture according to a preset logic stroke and a corresponding image brightness value in the second sequence, and each logic stroke and a corresponding first image brightness value obtained when the logic stroke of the target aperture is adjusted in the forward direction; and correcting the target aperture according to the correction function.
As an alternative embodiment, the correction of the aperture true curve can be continued by data fusion and aperture curve fitting. First, according to the maximum step length L of the aperturemaxCalculating the true position of the reverse DATA 1; secondly, DATA merging and image brightness normalization are carried out on the forward DATA DATA0 and the reverse DATA after position correction, and brightness normalized fusion DATA DATA2 are obtained; and finally, performing DATA fitting on the DATA2, wherein the obtained Curve Curve is a real Curve of the aperture and reflects the aperture opening proportion corresponding to each aperture stroke point. In this embodiment, data merging mainly improves sample points, so that the obtained fitting curve is more accurate, and the correction accuracy is higher.
Maximum step length L of aperture obtained in the above embodiment max58, where the position corrected DATA is DATA0 shifted by Lstop-LmaxData after 22, where 22 corresponds to the target difference in this embodiment, 80-58. In the first sequence shown in Table 2 above, the logical run greater than or equal to the target difference 22 has30. 40, 50, 60, 70, 80. The logical runs 30, 40, 50, 60, 70, 80 in the first sequence are subtracted by 22, respectively, to yield logical runs of 8, 18, 28, 38, 48, 58, respectively. The logical runs in the first sequence are image brightness values corresponding to 30, 40, 50, 60, 70, 80, actually image brightness values of 8, 18, 28, 38, 48, 58, and the logical runs are 8, 18, 28, 38, 48, 58, which correspond to the preset logical runs in the present embodiment. The second sequence obtained in this example is shown in table 6.
TABLE 6
Logical run 8 18 28 38 48 58
Reverse DATA DATA1 5 11 28 65 122 149
The image brightness values of the corrected target aperture at each logical stroke are obtained by combining each logical stroke obtained when the logical stroke of the target aperture is adjusted in the forward direction and the corresponding image brightness value, as shown in table 7. The luminance normalized fusion DATA2, such as the normalized fusion DATA2 in table 7, for each actual logical run is determined from the ratio of the image luminance value over each actual logical run in table 6 to the maximum image luminance value (149 in this embodiment).
TABLE 7
Actual logical run 0 8 10 18 20 28 30 38 40 48 50 58
Corrected data 2 5 5 11 14 28 35 65 78 122 129 149
Normalized fused DATA DATA2 0.01 0.03 0.03 0.07 0.09 0.19 0.23 0.44 0.52 0.82 0.87 1.00
Fig. 3 is a diagram illustrating an aperture correction curve according to an embodiment of the present invention, and fig. 3 is an aperture correction curve determined by the relationship between the actual logical stroke and the normalized fusion DATA2 in table 7 described above. The current aperture size can be determined through the aperture stroke, the current aperture stroke can also be determined through the aperture size, the correction is completed, and the curve is stored in the device aperture configuration file.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a device for correcting an aperture is further provided, and the device is used to implement the above embodiments and preferred embodiments, which have already been described and will not be described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram showing a configuration of an apparatus for correcting an aperture according to an embodiment of the present invention, as shown in fig. 4, the apparatus including: the first adjusting module 42 is configured to, from an initial position of a target aperture, adjust a logical stroke of the target aperture in a forward direction at preset stroke sampling intervals every other preset duration, where the adjustment is performed once at preset stroke sampling intervals every other preset duration, and the target aperture reaches one logical stroke; a second adjusting module 44, configured to stop the forward adjustment when brightness values of images acquired by the target aperture from a second target logical stroke to a third target logical stroke are all equal, and from the third target logical stroke, reversely adjust the logical stroke of the target aperture every other preset time interval according to the preset stroke sampling interval until the initial position is adjusted, where the third target logical stroke is a logical stroke reached after performing N times of adjustments from the second target logical stroke, and N is an integer greater than or equal to 0; and the correcting module 46 is used for correcting the target aperture according to a first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the backward direction.
As an optional embodiment, the apparatus further comprises: a first determining module, configured to determine that the second target logical stroke is a maximum upper step size limit of the target aperture, and a first target logical stroke is a maximum lower step size limit of the target aperture, where the first target logical stroke is a previous logical stroke of the second target logical stroke when the target aperture is adjusted in a forward direction; a second determination module, configured to determine a third image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size lower limit.
As an alternative embodiment, the above apparatus determines a third image brightness value of the target aperture on each of the logical strokes when the maximum step size of the target aperture is the maximum step size upper limit, and determines a fourth image brightness value of the target aperture on each of the logical strokes when the maximum step size of the target aperture is the maximum step size lower limit, and sequentially sorts the image brightness values acquired by the target aperture on each of the logical strokes during the process of reversely adjusting the logical strokes of the target aperture, using the image brightness value acquired at the initial position as a starting point, to obtain a first sequence, where the first sequence includes each logical stroke and a corresponding image brightness value; moving the image brightness values in the first sequence to the left by N bits in sequence, and taking the moved image brightness values as third image brightness values on the corresponding logic stroke; and sequentially moving the image brightness values in the first sequence to the left by N +1 bits, and taking the moved image brightness values as fourth image brightness values on corresponding logic strokes.
As an alternative embodiment, the above apparatus is further configured to, after determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and determining a fifth image brightness value on each of the logical strokes in a case where the maximum step size of the target aperture is a preset maximum step size according to the third image brightness value and the fourth image brightness value on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit, by using a linear difference algorithm, where the preset maximum step size is a value between the maximum step size upper limit and the maximum step size lower limit.
As an alternative embodiment, the above apparatus is further configured to correct the target aperture by: determining the average normalized square error when the maximum step size of the target aperture is the maximum step size upper limit, the maximum step size lower limit and the preset maximum step size respectively through the following formulas:
Figure BDA0002647700930000161
wherein x isiImage brightness value, x 'at each logical stroke in forward adjustment of logical stroke of the target aperture'iThe image brightness values of the corresponding logic strokes under the conditions of the maximum step length upper limit, the maximum step length lower limit and the preset maximum step length respectively are obtained, and M is the total number of forward adjustment; determining the maximum step length of the maximum step length upper limit, the maximum step length lower limit and the maximum step length of the preset maximum step length, wherein the average normalized square error of the maximum step length is smaller than or equal to a preset threshold value, as the real maximum step length of the target aperture; adjusting the target aperture so that the brightness value of the image acquired by the target aperture at the real maximum step size is a maximum brightness value, wherein the maximum brightness value comprises: the target aperture is fromThe brightness value of the image collected from the second target logic journey to the third target logic journey.
As an alternative embodiment, the above apparatus is further configured to correct the target aperture by determining a difference between the third target logical stroke and the true maximum step size as a target difference; subtracting the target difference value from the logic stroke which is greater than or equal to the target difference value in the first sequence to be used as a preset logic stroke, and using the preset logic stroke and a corresponding image brightness value as a second sequence; determining a correction function of the target aperture according to a preset logic stroke and a corresponding image brightness value in the second sequence, and each logic stroke and a corresponding image brightness value obtained when the logic stroke of the target aperture is adjusted in the forward direction; and correcting the target aperture according to the correction function.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, starting from the initial position of the target aperture, positively adjusting the logical stroke of the target aperture at intervals of preset time according to preset stroke sampling intervals, wherein the adjustment is performed at intervals of preset time according to the preset stroke sampling intervals, and the target aperture reaches a logical stroke;
s2, stopping the forward adjustment when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, and starting from the third target logic stroke, reversely adjusting the logic stroke of the target aperture at intervals of a preset time interval according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0;
and S3, correcting the target aperture according to the brightness value of the first image acquired on each logic stroke when the target aperture is adjusted in the forward direction and the brightness value of the second image acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, starting from the initial position of the target aperture, positively adjusting the logical stroke of the target aperture at intervals of preset time according to preset stroke sampling intervals, wherein the adjustment is performed at intervals of preset time according to the preset stroke sampling intervals, and the target aperture reaches a logical stroke;
s2, stopping the forward adjustment when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, and starting from the third target logic stroke, reversely adjusting the logic stroke of the target aperture at intervals of a preset time interval according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0;
and S3, correcting the target aperture according to the brightness value of the first image acquired on each logic stroke when the target aperture is adjusted in the forward direction and the brightness value of the second image acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for correcting an aperture, comprising:
the method comprises the steps that from the initial position of a target aperture, the logic stroke of the target aperture is adjusted in a forward direction at intervals of preset time according to preset stroke sampling intervals, wherein the adjustment is performed once at intervals of the preset time according to the preset stroke sampling intervals, and the target aperture reaches one logic stroke;
when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, stopping the forward adjustment, and starting from the third target logic stroke, reversely adjusting the logic stroke of the target aperture at intervals of a preset time length according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment is performed on the second target logic stroke, and N is an integer greater than or equal to 0;
and correcting the target aperture according to a first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the backward direction.
2. The method of claim 1, further comprising:
determining the second target logic stroke as the maximum step upper limit of the target aperture, and the first target logic stroke as the maximum step lower limit of the target aperture, wherein the first target logic stroke is the previous logic stroke of the second target logic stroke when the target aperture is adjusted in the forward direction;
determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit.
3. The method according to claim 2, wherein determining a third image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in a case where the maximum step size of the target aperture is the maximum step size lower limit comprises:
sequentially ordering the second image brightness values acquired by the target aperture in each logic stroke in the process of reversely adjusting the logic stroke of the target aperture according to the sequence of the logic stroke from small to small by taking the image brightness values acquired at the initial position as a starting point to obtain a first sequence, wherein the first sequence comprises each logic stroke and the corresponding second image brightness value;
moving the second image brightness value in the first sequence to the left by N bits in sequence, and taking the moved image brightness value as a third image brightness value on a corresponding logic stroke;
and sequentially moving the second image brightness value in the first sequence to the left by N +1 bits, and taking the moved image brightness value as a fourth image brightness value on the corresponding logical stroke.
4. The method according to claim 3, wherein after said determining a third image brightness value of the target aperture on each of the logical strokes in case that the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes in case that the maximum step size of the target aperture is the maximum step size lower limit, the method further comprises:
and determining a fifth image brightness value on each logic stroke by a linear difference algorithm under the condition that the maximum step length of the target aperture is a preset maximum step length according to the third image brightness value and the fourth image brightness value on each logic stroke, wherein the preset maximum step length is a numerical value between the maximum step length upper limit and the maximum step length lower limit.
5. The method of claim 4, wherein correcting the target aperture comprises:
determining the average normalized square error when the maximum step size of the target aperture is the maximum step size upper limit, the maximum step size lower limit and the preset maximum step size respectively through the following formulas:
Figure FDA0002647700920000031
wherein x isiThe first image luminance value, x 'at each logical stroke in forward adjustment of logical stroke of the target aperture'iThe image brightness values of the corresponding logic strokes under the conditions of the maximum step length upper limit, the maximum step length lower limit and the preset maximum step length respectively are obtained, and M is the total number of forward adjustment;
determining the maximum step length of the maximum step length upper limit, the maximum step length lower limit and the maximum step length of the preset maximum step length, wherein the average normalized square error of the maximum step length is smaller than or equal to a preset threshold value, as the real maximum step length of the target aperture;
adjusting the target aperture so that the brightness value of the image acquired by the target aperture at the real maximum step size is a maximum brightness value, wherein the maximum brightness value comprises: image brightness values acquired by the target aperture from the second target logical run to the third target logical run.
6. The method of claim 5, wherein correcting the target aperture further comprises:
determining a difference between the third target logical trip and the true maximum step size as a target difference;
subtracting the target difference value from the logic stroke which is greater than or equal to the target difference value in the first sequence to be used as a preset logic stroke, and using the preset logic stroke and a corresponding image brightness value as a second sequence;
determining a correction function of the target aperture according to the preset logic stroke and the corresponding image brightness value in the second sequence, and each logic stroke and the corresponding first image brightness value obtained when the logic stroke of the target aperture is adjusted in the forward direction;
and correcting the target aperture according to the correction function.
7. An apparatus for correcting an aperture, comprising:
the first adjusting module is used for adjusting the logical stroke of the target aperture in the forward direction at intervals of preset time according to preset stroke sampling intervals from the initial position of the target aperture, wherein the adjustment is performed at intervals of preset time according to the preset stroke sampling intervals, and the target aperture reaches one logical stroke;
the second adjusting module is used for stopping the forward adjustment when the brightness values of the images acquired by the target aperture from a second target logic stroke to a third target logic stroke are equal, and reversely adjusting the logic stroke of the target aperture from the third target logic stroke every other preset time length according to the preset stroke sampling interval until the initial position is adjusted, wherein the third target logic stroke is a logic stroke reached after N times of adjustment from the second target logic stroke, and N is an integer greater than or equal to 0;
and the correction module is used for correcting the target aperture according to a first image brightness value acquired on each logic stroke when the target aperture is adjusted in the forward direction and a second image brightness value acquired on the corresponding logic stroke when the target aperture is adjusted in the reverse direction.
8. The apparatus of claim 7, further comprising:
a first determining module, configured to determine that the second target logical stroke is a maximum upper step size limit of the target aperture, and a first target logical stroke is a maximum lower step size limit of the target aperture, where the first target logical stroke is a previous logical stroke of the second target logical stroke when the target aperture is adjusted in a forward direction;
a second determination module, configured to determine a third image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size upper limit, and a fourth image brightness value of the target aperture on each of the logical strokes if the maximum step size of the target aperture is the maximum step size lower limit.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202010859826.9A 2020-08-24 2020-08-24 Aperture correction method and apparatus, storage medium, and electronic apparatus Active CN111970463B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010859826.9A CN111970463B (en) 2020-08-24 2020-08-24 Aperture correction method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010859826.9A CN111970463B (en) 2020-08-24 2020-08-24 Aperture correction method and apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN111970463A true CN111970463A (en) 2020-11-20
CN111970463B CN111970463B (en) 2022-05-03

Family

ID=73390193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010859826.9A Active CN111970463B (en) 2020-08-24 2020-08-24 Aperture correction method and apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN111970463B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125315A (en) * 2021-11-23 2022-03-01 深圳市同为数码科技股份有限公司 Camera aperture area calibration method and device and camera

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5751844A (en) * 1992-04-20 1998-05-12 International Business Machines Corporation Method and apparatus for image acquisition with adaptive compensation for image exposure variation
US20120229636A1 (en) * 2009-11-20 2012-09-13 Panasonic Corporation Image coding method and decoding method, image coding apparatus and decoding apparatus, camera, and imaging device
CN104243835A (en) * 2013-06-19 2014-12-24 华为技术有限公司 Automatic diaphragm control method and system
CN106791472A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of exposure method and terminal
CN107147901A (en) * 2017-05-02 2017-09-08 深圳怡化电脑股份有限公司 A kind of sensor calibration method, device, equipment and storage medium
CN108055471A (en) * 2017-11-16 2018-05-18 深圳市维海德技术股份有限公司 A kind of iris correction method and device
CN208207474U (en) * 2018-03-29 2018-12-07 深圳市星河泉新材料有限公司 A kind of aperture self-regulation structure
CN109218627A (en) * 2018-09-18 2019-01-15 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium
CN110139042A (en) * 2019-04-18 2019-08-16 浙江大华技术股份有限公司 Aperture method of adjustment and device, storage medium and monitoring device
CN110731078A (en) * 2019-09-10 2020-01-24 深圳市汇顶科技股份有限公司 Exposure time calculation method, device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5751844A (en) * 1992-04-20 1998-05-12 International Business Machines Corporation Method and apparatus for image acquisition with adaptive compensation for image exposure variation
US20120229636A1 (en) * 2009-11-20 2012-09-13 Panasonic Corporation Image coding method and decoding method, image coding apparatus and decoding apparatus, camera, and imaging device
CN104243835A (en) * 2013-06-19 2014-12-24 华为技术有限公司 Automatic diaphragm control method and system
CN106791472A (en) * 2016-12-29 2017-05-31 努比亚技术有限公司 A kind of exposure method and terminal
CN107147901A (en) * 2017-05-02 2017-09-08 深圳怡化电脑股份有限公司 A kind of sensor calibration method, device, equipment and storage medium
CN108055471A (en) * 2017-11-16 2018-05-18 深圳市维海德技术股份有限公司 A kind of iris correction method and device
CN208207474U (en) * 2018-03-29 2018-12-07 深圳市星河泉新材料有限公司 A kind of aperture self-regulation structure
CN109218627A (en) * 2018-09-18 2019-01-15 Oppo广东移动通信有限公司 Image processing method, device, electronic equipment and storage medium
CN110139042A (en) * 2019-04-18 2019-08-16 浙江大华技术股份有限公司 Aperture method of adjustment and device, storage medium and monitoring device
CN110731078A (en) * 2019-09-10 2020-01-24 深圳市汇顶科技股份有限公司 Exposure time calculation method, device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125315A (en) * 2021-11-23 2022-03-01 深圳市同为数码科技股份有限公司 Camera aperture area calibration method and device and camera
CN114125315B (en) * 2021-11-23 2023-12-05 深圳市同为数码科技股份有限公司 Camera aperture area calibration method and device and camera

Also Published As

Publication number Publication date
CN111970463B (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN108174118B (en) Image processing method and device and electronic equipment
CN109361866B (en) Automatic exposure control method and system
CN111770285B (en) Exposure brightness control method and device, electronic equipment and storage medium
CN110139042B (en) Aperture adjusting method and device, storage medium and monitoring device
CN109946911B (en) Focusing method and device, computer equipment and storage medium
US6580062B2 (en) Contrast focus figure-of-merit method that is insensitive to scene illumination level
CN104301622B (en) A kind of Space-based Space Imagewise exposure time self-adaptation control method and device
CN107562791B (en) Remote sensing satellite relative radiation scaling processing method based on big data statistics
CN104811608A (en) Image capturing apparatus and image defect correction method thereof
CN111970463B (en) Aperture correction method and apparatus, storage medium, and electronic apparatus
WO2010149828A1 (en) Apparatus, methods and computer readable storage mediums for controlling image exposure
CN114331907A (en) Color shading correction method and device
CN111273504B (en) Focusing processing method and device
US8564712B2 (en) Blur difference estimation using multi-kernel convolution
EP3979624A1 (en) Method for determining semi-synchronous exposure parameters and electronic device
CN115242979A (en) Focusing method and system applied to blood shooting, intelligent equipment and storage medium
CN111182290B (en) Image detection method and device, storage medium and electronic device
CN111314602B (en) Target object focusing method, target object focusing device, storage medium and electronic device
CN109819155A (en) Automatic exposure control method and the electronic device for using it
CN110611771A (en) Method and device for setting focusing position, storage medium and electronic device
CN111163257B (en) Shooting terminal parameter intelligent adjustment system and method and shooting terminal
CN112561992A (en) Position determination method and device, storage medium and electronic device
CN111770274B (en) Image focusing processing method and device, storage medium and electronic device
CN111741218B (en) Focusing method, device, electronic equipment and storage medium
CN112911153B (en) Focusing processing method and device

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