Automatic exposure adjustment method, device, image acquisition method, medium and equipment

By calculating the automatic exposure adjustment coefficient and setting multiple preset brightness ranges, and dynamically adjusting the exposure amount in combination with the environmental brightness reference value, the problem of mismatch in the automatic exposure adjustment speed in the prior art is solved, and the brightness stability of the image acquisition device is realized and Improved response speed.

CN114449175BActive Publication Date: 2024-12-13FUZHOU ROCKCHIP SEMICON
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210037482.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2024-12-13
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

The existing automatic exposure adjustment technology cannot adaptively adjust the exposure parameters according to the environmental brightness, resulting in image brightness fluctuations that are too large or too slow, and cannot respond quickly to scene brightness changes, especially in complex scenes such as on-board cameras. The exposure phenomenon leads to the loss of scene details.

Method used

By obtaining the brightness and target brightness of the current image, calculate the automatic exposure adjustment coefficient, dynamically adjust the exposure amount based on the environmental brightness reference value, set multiple preset target brightness ranges to control the exposure adjustment speed, and use the fuzzy algorithm to process the automatic exposure adjustment value to obtain Suitable exposure.

Benefits of technology

The exposure amount of the image acquisition device is automatically adjusted, avoiding the problem of excessive or slow brightness fluctuations, adapting to changes in brightness in different scenes, ensuring that the exposure response speed matches the scene changes, avoiding overexposure or underexposure, and improving the image Collection quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114449175B_ABST
    Figure CN114449175B_ABST
Patent Text Reader

Abstract

The present disclosure provides an automatic exposure adjustment method, device, image acquisition method, medium and equipment. The method includes: obtaining an exposure corresponding to the brightness of a current image acquired as a first exposure; obtaining a second exposure according to the brightness of the current image and a target brightness; and obtaining a third exposure according to the first exposure, the second exposure and an automatic exposure adjustment coefficient, wherein the automatic exposure adjustment coefficient is related to an exposure adjustment speed. The method can realize automatic exposure adjustment of an image acquisition device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of image processing, and in particular to an automatic exposure adjustment method, device, image acquisition method, medium and equipment. Background Art

[0002] Automatic exposure adjustment control refers to the process of optimizing the image brightness by controlling the exposure amount based on the subjective visual feeling of human beings. The exposure amount determines the brightness of the image output by the image acquisition device. The exposure amount is determined by the aperture size, exposure time, exposure gain and other parameters of the image acquisition device. The aperture uses the light hole to control the intensity of the light reaching the photosensitive chip during exposure. The exposure time uses the length of the open time to control the light intake time. The exposure gain refers to the sensitivity of the photosensitive component. The stronger the sensitivity, the brighter the image. Summary of the invention

[0003] One of the purposes of the present disclosure is to provide an automatic exposure adjustment method, device, image acquisition method, medium and equipment for realizing automatic exposure adjustment of an image acquisition device.

[0004] To achieve the above-mentioned purpose and other related purposes, the first aspect of the present disclosure provides an automatic exposure adjustment method, which includes: obtaining an exposure amount corresponding to the brightness of a current image captured as a first exposure amount; obtaining a second exposure amount according to the brightness of the current image and a target brightness; and obtaining a third exposure amount according to the first exposure amount, the second exposure amount and an automatic exposure adjustment coefficient, wherein the automatic exposure adjustment coefficient is related to an exposure adjustment speed.

[0005] In an embodiment of the first aspect, the automatic exposure adjustment method also includes: obtaining a current automatic exposure state; and determining whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image and the current automatic exposure state, wherein obtaining an exposure amount corresponding to the brightness of the acquired current image as a first exposure amount includes: if it is determined that the image acquisition device is to be automatically exposed, obtaining an exposure amount corresponding to the brightness of the current image as the first exposure amount.

[0006] In an embodiment of the first aspect, determining whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image and the current automatic exposure state includes: if the current automatic exposure state is a non-convergence state and the brightness of the current image is outside a first preset target brightness range, maintaining the current automatic exposure state as a non-convergence state and determining to perform automatic exposure adjustment on the image acquisition device; if the current automatic exposure state is a non-convergence state and the brightness of the current image is within the first preset target brightness range, setting the current automatic exposure state to a convergence state and determining not to perform automatic exposure adjustment on the image acquisition device; if the current automatic exposure state is a convergence state and the brightness of the current image is within a second preset target brightness range, maintaining the current automatic exposure state as a convergence state and determining not to perform automatic exposure adjustment on the image acquisition device; and if the current automatic exposure state is a convergence state and the brightness of the current image is outside the second preset target brightness range, setting the current automatic exposure state to a non-convergence state and determining to perform automatic exposure adjustment on the image acquisition device, wherein the second preset target brightness range is greater than the first preset target brightness range.

[0007] In an embodiment of the first aspect, the automatic exposure adjustment method further includes: if it is determined that the image acquisition device is not to be automatically exposed, setting the exposure of the image acquisition device to an exposure corresponding to the brightness of the current image.

[0008] In an embodiment of the first aspect, the automatic exposure adjustment method further includes: obtaining an ambient brightness reference value; obtaining an automatic exposure adjustment value corresponding to the ambient brightness reference value; and obtaining the automatic exposure adjustment coefficient according to the automatic exposure adjustment value.

[0009] In an embodiment of the first aspect, the ambient brightness reference value includes a first brightness reference value and a second brightness reference value, the first brightness reference value is used to represent the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value is used to represent the brightness change rate corresponding to the current image.

[0010] In an embodiment of the first aspect, obtaining the ambient brightness reference value includes: obtaining the difference between the brightness of the current image and the target brightness as the first brightness reference value; and obtaining the change speed of the difference between the brightness of multiple frames of images captured by the image acquisition device and the target brightness as the second brightness reference value.

[0011] In an embodiment of the first aspect, obtaining the ambient brightness reference value includes: obtaining the first brightness reference value based on the ratio of the brightness of the current image to the target brightness; and obtaining the weighted average of the brightness change rates of multiple frames of images captured by the image acquisition device as the second brightness reference value.

[0012] In an embodiment of the first aspect, obtaining the automatic exposure adjustment value corresponding to the ambient brightness reference value includes: obtaining the automatic exposure adjustment value corresponding to the ambient brightness reference value according to a preset correspondence table, wherein in the correspondence: if the absolute value of the first brightness reference value is larger, and the second brightness reference value is a negative value with a larger absolute value, the automatic exposure adjustment parameter value is larger; and if the absolute value of the first brightness reference value is smaller, and the second brightness reference value is a positive value with a larger absolute value, the automatic exposure adjustment parameter value is smaller.

[0013] In an embodiment of the first aspect, acquiring the automatic exposure adjustment coefficient according to the automatic exposure adjustment value includes: using a fuzzy algorithm to process the automatic exposure adjustment value to acquire the automatic exposure adjustment coefficient.

[0014] A second aspect of the present disclosure provides an image acquisition method, which includes: adjusting the exposure of an image acquisition device by using the automatic exposure adjustment method according to any one of the first aspects of the present disclosure; and acquiring an image using the image acquisition device.

[0015] The third aspect of the present disclosure provides an automatic exposure adjustment device, which includes: an automatic exposure state judgment module, configured to determine whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image acquired by the image acquisition device and the current automatic exposure state; an automatic exposure adjustment coefficient calculation module, configured to calculate the automatic exposure adjustment coefficient related to the exposure adjustment speed; and an exposure amount calculation module, configured to obtain an exposure amount corresponding to the brightness of the current image as a first exposure amount, obtain a second exposure amount according to the brightness of the current image and the target brightness, and obtain a third exposure amount according to the first exposure amount, the second exposure amount and the automatic exposure adjustment coefficient.

[0016] In an embodiment of the third aspect, the automatic exposure adjustment device also includes: an ambient brightness reference value calculation module, configured to calculate an ambient brightness reference value, the ambient brightness reference value including a first brightness reference value and a second brightness reference value, the first brightness reference value representing the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value representing the brightness change rate corresponding to the current image, wherein the automatic exposure adjustment coefficient calculation module is further configured to obtain the automatic exposure adjustment value according to the correspondence between the ambient brightness reference value and the automatic exposure adjustment value, and to obtain the automatic exposure adjustment coefficient according to the automatic exposure adjustment value.

[0017] The fourth aspect of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the automatic exposure adjustment method according to any one of the first aspect of the present disclosure or the image acquisition method according to the second aspect of the present disclosure.

[0018] The fifth aspect of the present disclosure provides an electronic device, which includes: a memory configured to store a computer program; and a processor, which is communicatively connected to the memory and configured to call the computer program to execute the automatic exposure adjustment method according to any one of the first aspect of the present disclosure or the image acquisition method according to the second aspect of the present disclosure.

[0019] As described above, the automatic exposure adjustment method described in one or more embodiments of the present disclosure has the following beneficial effects:

[0020] The automatic exposure adjustment method can obtain a first exposure value according to the brightness of the current image collected, obtain a second exposure value according to the brightness of the current image and the target brightness, and obtain a third exposure value according to the automatic exposure adjustment coefficient, the first exposure value and the second exposure value. Based on the third exposure value, the exposure value of the image acquisition device can be automatically adjusted. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 Shown is a flow chart of the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0022] Figure 2A Shown is a detailed flow chart for determining whether automatic exposure adjustment is required for the image acquisition device in the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0023] Figure 2B Shown is an example diagram of determining whether automatic exposure adjustment is required for an image acquisition device in the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0024] Figure 3AShown is a detailed flow chart of obtaining the automatic exposure adjustment coefficient in the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0025] Figure 3B Shown is a detailed flow chart of an implementation method of step S31 in the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0026] Figure 3C Shown is a detailed flow chart of another implementation method of step S31 in the automatic exposure adjustment method described in an embodiment of the present disclosure.

[0027] Figure 4 Shown is a flow chart of the image acquisition method described in an embodiment of the present disclosure.

[0028] Figure 5 Shown is a block diagram of the automatic exposure adjustment device according to an embodiment of the present disclosure.

[0029] Figure 6 Shown is a block diagram of an electronic device described in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The following is an explanation of the embodiments of the present disclosure by specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure, and the illustrations only show the components related to the present disclosure rather than being drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout type may also be more complex. In addition, in this article, relational terms such as "first", "second", etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0032] In the prior art, with the increase in the application of image sensors, the scene changes recorded by image sensors are becoming more and more complex. Taking a car camera as an example, when the car camera enters or exits a tunnel, the scene brightness changes dramatically and quickly. This scenario requires the automatic exposure to respond quickly to avoid large-scale overexposure or underexposure, resulting in loss of scene details. When the car camera is traveling on a highway or an open road, the scene brightness changes slowly and in a small amplitude. This scenario requires the automatic exposure to respond slowly to achieve a smooth transition of brightness and avoid obvious sudden changes in brightness. The automatic exposure adjustment method in the prior art cannot adaptively adjust the exposure parameters according to the brightness of the environment, and the image brightness often fluctuates too much or slowly.

[0033] In view of the above problems, an automatic exposure adjustment method is provided according to an embodiment of the present disclosure. Hereinafter, the specific implementation of the present disclosure will be described with reference to the accompanying drawings through exemplary embodiments.

[0034] Figure 1 FIG. 1 is a flow chart showing an automatic exposure adjustment method according to an embodiment of the present disclosure. Figure 1 As shown, the automatic exposure adjustment method includes the following steps S11 and S12.

[0035] In step S11, an exposure value corresponding to the brightness of the acquired current image is obtained as a first exposure value. The current image can be acquired by a camera, a video camera, or other electronic devices equipped with a camera.

[0036] In step S12, a second exposure is obtained according to the brightness of the current image and the target brightness. The target brightness can be preset according to actual needs or experience. For example, in the embodiment of the present disclosure, the target brightness can be used as a target to adjust the aperture size, exposure time and / or exposure gain of the image acquisition device to obtain the second exposure.

[0037] In step S13, a third exposure is acquired according to the first exposure, the second exposure and an automatic exposure adjustment coefficient, wherein the automatic exposure adjustment coefficient is related to an exposure adjustment speed.

[0038] According to the above description, this embodiment provides an automatic exposure adjustment method. The automatic exposure adjustment method can obtain a first exposure value according to the brightness of the current image collected, obtain a second exposure value according to the brightness of the current image and the target brightness, and obtain a third exposure value according to the automatic exposure adjustment coefficient, the first exposure value, and the second exposure value. Based on the third exposure value, the exposure value of the image acquisition device can be automatically adjusted.

[0039] According to an embodiment of the present disclosure, the automatic exposure adjustment method further includes: Figure 2A Step S21 and step S22 are shown.

[0040] In step S21, the current automatic exposure state is obtained. The current automatic exposure state is, for example, a parameter in an image signal processor, and its value may include a converged state and a non-converged state.

[0041] In step S22, it is determined whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image and the current automatic exposure state. For example, the brightness of the current image can be compared with a preset target brightness range corresponding to the current exposure state to determine whether automatic exposure adjustment is required on the image acquisition device.

[0042] Optionally, obtaining an exposure amount corresponding to the brightness of the current image captured as the first exposure amount includes: if it is determined to perform automatic exposure adjustment on the image capture device, obtaining an exposure amount corresponding to the brightness of the current image as the first exposure amount.

[0043] Optionally, obtaining an exposure amount corresponding to the brightness of the current image captured as a first exposure amount includes: if it is determined that the image capture device is not to be automatically exposed, setting the exposure amount of the image capture device to an exposure amount corresponding to the brightness of the current image.

[0044] Optionally, according to the embodiment of the present disclosure, the second preset target brightness range is configured to be larger than the first preset target brightness range. Based on this, the present embodiment can use the following method to determine whether it is necessary to perform automatic exposure adjustment on the image acquisition device.

[0045] If the current automatic exposure state is a non-convergence state and the brightness of the current image is outside a first preset target brightness range, the current automatic exposure state is maintained as a non-convergence state and it is determined to perform automatic exposure adjustment on the image acquisition device.

[0046] If the current automatic exposure state is a non-convergent state and the brightness of the current image is within the first preset target brightness range, the current automatic exposure state is set to a convergent state and it is determined not to perform automatic exposure adjustment on the image acquisition device.

[0047] If the current automatic exposure state is a convergence state and the brightness of the current image is within a second preset target brightness range, the current automatic exposure state is maintained as a convergence state and it is determined not to perform automatic exposure adjustment on the image acquisition device.

[0048] If the current automatic exposure state is a convergence state and the brightness of the current image is outside the second preset target brightness range, the current automatic exposure state is set to a non-convergence state and it is determined to perform automatic exposure adjustment on the image acquisition device.

[0049] Optionally, the first preset target brightness range and the second preset target brightness range are determined by the target brightness and tolerance. If the target brightness is T, the tolerance corresponding to the first preset target brightness range is Th1, and the tolerance corresponding to the second preset target brightness range is Th2, where Th2>Th1, then the first preset target brightness range can be recorded as [T-Th1, T+Th1], and the second preset target brightness range can be recorded as [T-Th2, T+Th2]. Figure 2B is an example diagram showing whether it is necessary to perform automatic exposure adjustment on the image acquisition device according to an embodiment of the present disclosure.

[0050] According to the above description, the present embodiment sets two different target brightness ranges, namely, a first preset target brightness range (non-convergent state to convergent state) and a second preset target brightness range (convergent state to non-convergent state). By configuring the second preset target brightness range to be larger than the first preset target brightness range, the exposure response sensitivity can be reduced, thereby preventing the problem of too frequent exposure adjustment when the brightness changes back and forth at the boundary of the first preset target brightness range.

[0051] According to an embodiment of the present disclosure, the automatic exposure adjustment method further includes: Figure 3A Steps S31 to S33 are shown.

[0052] In step S31, an environment brightness reference value is obtained, where the environment brightness reference value is used to represent the brightness status and / or brightness change status of the environment.

[0053] In step S32, an automatic exposure adjustment value corresponding to the ambient brightness reference value is obtained.

[0054] In step S33, the automatic exposure adjustment coefficient is obtained according to the automatic exposure adjustment value.

[0055] Optionally, obtaining the automatic exposure adjustment coefficient according to the automatic exposure adjustment value includes: processing the automatic exposure adjustment value using a fuzzy algorithm to obtain the automatic exposure adjustment coefficient. The membership function involved in the fuzzy algorithm is, for example, a trigonometric function, a Gaussian function or other conventional membership functions.

[0056] Optionally, the third exposure is calculated as follows: E3=E1×(1-k)+E2×k, where E1, E2 and E3 are the first exposure, the second exposure and the third exposure, respectively, and k is the automatic exposure adjustment coefficient. The value range of k is, for example, 0≤k≤1, and its specific value is determined by the ambient brightness reference value, and the larger the value of k, the faster the exposure adjustment speed, and vice versa, the smaller the value of k, the slower the exposure adjustment speed.

[0057] Optionally, the ambient brightness reference value includes a first brightness reference value and a second brightness reference value, wherein the first brightness reference value is used to indicate a deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value is used to indicate a brightness change rate corresponding to the current image. The brightness change rate can be obtained based on the brightness of the current image and the brightness of N frames of images before it, where N is a positive integer.

[0058] Figure 3B FIG. 1 is a flow chart showing a method for obtaining the ambient brightness reference value according to an embodiment of the present disclosure. Figure 3B As shown, obtaining the ambient brightness reference value includes the following steps S311b and S312b.

[0059] In step S311b, a difference between the brightness of the current image and the target brightness is obtained as the first brightness reference value.

[0060] In step S312b, the speed of change of the difference between the brightness of the multiple frames of images acquired by the image acquisition device and the target brightness is obtained as the second brightness reference value. For example, the speed of change can be obtained by performing a differential calculation on the difference between the brightness of the current image and the target brightness and the difference between the brightness of the previous frame of image acquired by the image acquisition device and the target brightness.

[0061] Figure 3C FIG. 1 is a flow chart showing another method for obtaining the ambient brightness reference value according to an embodiment of the present disclosure. Figure 3C As shown, obtaining the ambient brightness reference value includes the following steps S311c and S312c.

[0062] S311c: Obtain the first brightness reference value according to the ratio of the brightness of the current image to the target brightness.

[0063] S312c, obtaining a weighted average of the brightness change speeds of multiple frames of images captured by the image capture device as the second brightness reference value. For example, the second brightness reference value may be obtained by taking a weighted average of the image brightness change speeds of the current image and the N frames of images before it.

[0064] Optionally, obtaining the automatic exposure adjustment value corresponding to the ambient brightness reference value includes: obtaining the automatic exposure adjustment value corresponding to the ambient brightness reference value according to a preset correspondence table. In the correspondence: if the absolute value of the first brightness reference value is larger, and the second brightness reference value is a negative value with a larger absolute value, the automatic exposure adjustment parameter value is larger; and if the absolute value of the first brightness reference value is smaller, and the second brightness reference value is a positive value with a larger absolute value, the automatic exposure adjustment parameter value is smaller.

[0065] For example, Table 1 is an example of a corresponding relationship table according to an embodiment of the present disclosure. As shown in Table 1, D1 to D6 represent different value ranges of the first brightness reference value, and can also represent different value ranges of the first brightness reference value after quantization. V1 to V6 can represent different value ranges of the second brightness reference value, and can also represent different value ranges of the second brightness reference value after quantization. Vi value less than 0 indicates that the image brightness change gradually deviates from the target brightness, and the smaller the value, the faster the speed of deviating from the target brightness, where i is 1, 2, ..., 6. Vi value greater than 0 indicates that the image brightness change gradually approaches the target brightness, and the larger the value, the faster the speed of approaching the target brightness. Dj less than 0 indicates that the brightness of the image is low, and the smaller the value, the greater the deviation from the target brightness, where j is 1, 2, ..., 6. Dj greater than 0 indicates that the brightness of the image is high, and the larger the value, the greater the deviation from the target brightness. Kij represents the automatic exposure adjustment value corresponding to the first brightness reference value Dj and the second brightness reference value Vi, and its value range is 0≤Kij≤1. The larger the value of Kij is, the faster the automatic exposure adjustment speed is, and vice versa. In some embodiments, the values ​​of D1 to D6 can be expressed as [-3 -2 -1 1 2 3], and the values ​​of V1 to V6 can be expressed as [-3 -2 -1 1 2 3]. When the deviation between the image brightness and the target brightness is large (that is, the larger the absolute value of the first brightness reference value is, such as Dj=3 or Dj=-3) and the image brightness changes rapidly in the direction away from the target brightness (that is, the smaller the value of the second brightness reference value is, for example, Vi=-3), it is necessary to set a larger automatic exposure adjustment parameter value, for example, Kij=1 can be set to speed up the exposure adjustment. When the deviation between the image brightness and the target brightness is small (that is, the smaller the absolute value of the first brightness reference value, for example, Dj=1 or Dj=-1) and the image brightness changes rapidly in the direction of approaching the target brightness (that is, the larger the numerical value of the second brightness reference value, for example, Vi=3), it is necessary to set a smaller automatic exposure adjustment parameter value, for example, Kij=0.1 can be set to prevent exposure adjustment overshoot.

[0066] According to the above description, in the process of automatic exposure adjustment described in this embodiment, the first brightness reference value and the second brightness reference value can be calculated according to the change of the reference environment brightness, and the relationship between the automatic exposure adjustment coefficient and the ambient brightness can be determined according to the fuzzy algorithm, so as to realize the association between the change of exposure and the change of ambient brightness, making the exposure transition closer to the real scene.

[0067] Table 1 Ambient brightness reference value - automatic exposure adjustment value example table

[0068]

[0069]

[0070] According to another aspect of the present disclosure, an image acquisition method is also provided. Figure 4 FIG. 1 is a flow chart showing an image acquisition method according to an embodiment of the present disclosure. Figure 4 As shown, the image acquisition method includes the following steps S41 and S42.

[0071] In step S41, by Figure 1 The automatic exposure adjustment method shown adjusts the exposure of the image acquisition device.

[0072] In step S42, the image acquisition device is used to acquire images.

[0073] According to another aspect of the present disclosure, an automatic exposure adjustment device is also provided. Figure 5 FIG. 5 is a block diagram showing an automatic exposure adjustment device 5 according to an embodiment of the present disclosure. Figure 5 As shown, the automatic exposure adjustment device 5 includes an automatic exposure state judgment module 51, an automatic exposure adjustment coefficient calculation module 52 and an exposure amount calculation module 53. The automatic exposure state judgment module 51 is configured to determine whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image acquired by the image acquisition device and the current automatic exposure state. The automatic exposure adjustment coefficient calculation module 52 is configured to calculate the automatic exposure adjustment coefficient related to the exposure adjustment speed. The exposure amount calculation module 53 is configured to obtain the exposure amount corresponding to the brightness of the current image as the first exposure amount, obtain the second exposure amount according to the brightness of the current image and the target brightness, and obtain the third exposure amount according to the first exposure amount, the second exposure amount and the automatic exposure adjustment coefficient.

[0074] It should be noted that the automatic exposure state judgment module 51, the automatic exposure adjustment coefficient calculation module 52 and the exposure amount calculation module 53 in the automatic exposure adjustment device 5 are Figure 1Step S11, step S12 and step S13 in the automatic exposure adjustment method shown correspond to each other one by one, and will not be described in detail here to save space.

[0075] Optionally, the automatic exposure adjustment device may further include an environment intensity reference value calculation module. The environment brightness reference value calculation module is configured to calculate an environment brightness reference value, wherein the environment brightness reference value includes a first brightness reference value and a second brightness reference value, wherein the first brightness reference value indicates the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value indicates the brightness change rate corresponding to the current image. The automatic exposure adjustment coefficient calculation module 52 is further configured to obtain the automatic exposure adjustment value according to the corresponding relationship between the environment brightness reference value and the automatic exposure adjustment value, and to obtain the automatic exposure adjustment coefficient according to the automatic exposure adjustment value.

[0076] According to another aspect of the present disclosure, a computer readable storage medium is provided, on which a computer program is stored. The computer program is executed by a processor to implement Figure 1 The automatic exposure adjustment method shown or Figure 4 The image acquisition method shown.

[0077] According to another aspect of the present disclosure, an electronic device is also provided, and the electronic device includes but is not limited to a camera, a camcorder, and other electronic devices with a camera. Figure 6 is a block diagram showing an electronic device 600 according to an embodiment of the present disclosure. Figure 6 As shown, the electronic device 600 includes a memory 610 and a processor 620. The memory 610 is configured to store a computer program, and the processor 620 is communicatively connected to the memory 610 and configured to call the computer program to execute Figure 1 The automatic exposure adjustment method shown or Figure 4 The image acquisition method shown.

[0078] Optionally, the electronic device 600 may further include a display 630. The display 630 is communicatively connected with the memory 610 and the processor 620, and is used to display a GUI interaction interface related to the automatic exposure adjustment method or the image acquisition method.

[0079] The protection scope of the automatic exposure adjustment method and image acquisition method described in the present disclosure is not limited to the execution order of the steps listed in this embodiment, and all solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present disclosure are included in the protection scope of the present disclosure.

[0080] In summary, the automatic exposure adjustment method described in one or more embodiments of the present disclosure can prevent the exposure adjustment from being too sensitive and causing flickering by setting two preset target brightness ranges. In addition, the automatic adjustment method can dynamically adjust the automatic exposure adjustment coefficient in combination with the brightness reference value of the actual scene to avoid the image brightness overshoot phenomenon caused by too fast exposure adjustment speed and the convergence time phenomenon caused by too slow exposure adjustment speed, so that the exposure adjustment speed is closer to the actual scene requirements, and the convergence speed is optimized while achieving smooth transition. Therefore, the present disclosure effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0081] The above embodiments are merely illustrative of the principles and effects of the present disclosure, and are not intended to limit the present disclosure. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present disclosure. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present disclosure shall still be covered by the claims of the present disclosure.

Claims

1. An automatic exposure adjustment method, characterized in that: The automatic exposure adjustment method comprises: Acquire an exposure amount corresponding to the brightness of the acquired current image as a first exposure amount; Acquiring a second exposure value according to the brightness of the current image and the target brightness; and Acquire a third exposure according to the first exposure, the second exposure and an automatic exposure adjustment coefficient, wherein the automatic exposure adjustment coefficient is related to the exposure adjustment speed, and the third exposure is: E3=E1×(1-k)+E2×k, wherein E1, E2 and E3 are the first exposure, the second exposure and the third exposure respectively, and k is the automatic exposure adjustment coefficient, and the value range of k is 0≤k≤1, and its value is determined by the ambient brightness reference value; The method for obtaining the automatic exposure adjustment coefficient comprises: obtaining an ambient brightness reference value; obtaining an automatic exposure adjustment value corresponding to the ambient brightness reference value; and obtaining the automatic exposure adjustment coefficient according to the automatic exposure adjustment value; The environment brightness reference value includes a first brightness reference value and a second brightness reference value, wherein the first brightness reference value is used to indicate the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value is used to indicate the brightness change rate corresponding to the current image; Wherein acquiring the automatic exposure adjustment value corresponding to the ambient brightness reference value comprises: acquiring the automatic exposure adjustment value corresponding to the ambient brightness reference value according to a preset corresponding relationship table, wherein in the corresponding relationship table: If the absolute value of the first brightness reference value is larger, and the second brightness reference value is a negative value with a larger absolute value, the automatic exposure adjustment value is larger; and If the absolute value of the first brightness reference value is smaller and the second brightness reference value is a positive value with a larger absolute value, the automatic exposure adjustment value is smaller.

2. The automatic exposure adjustment method according to claim 1, characterized in that: The automatic exposure adjustment method further includes: Get the current auto-exposure status; and Determining whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image and the current automatic exposure state, wherein obtaining the exposure amount corresponding to the brightness of the acquired current image as the first exposure amount includes: if it is determined to perform automatic exposure adjustment on the image acquisition device, obtaining the exposure amount corresponding to the brightness of the current image as the first exposure amount.

3. The automatic exposure adjustment method according to claim 2, characterized in that: Determining whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image and the current automatic exposure state includes: If the current automatic exposure state is a non-convergence state and the brightness of the current image is outside a first preset target brightness range, the current automatic exposure state is maintained as a non-convergence state and automatic exposure adjustment is determined to be performed on the image acquisition device; If the current automatic exposure state is a non-convergent state and the brightness of the current image is within the first preset target brightness range, setting the current automatic exposure state to a convergent state and determining not to perform automatic exposure adjustment on the image acquisition device; If the current automatic exposure state is a convergence state and the brightness of the current image is within a second preset target brightness range, maintaining the current automatic exposure state as a convergence state and determining not to perform automatic exposure adjustment on the image acquisition device; and If the current automatic exposure state is a convergence state and the brightness of the current image is outside the second preset target brightness range, the current automatic exposure state is set to a non-convergence state and it is determined to perform automatic exposure adjustment on the image acquisition device. The second preset target brightness range is greater than the first preset target brightness range.

4. The automatic exposure adjustment method according to claim 2, characterized in that: The automatic exposure adjustment method further includes: if it is determined that the image acquisition device is not to be automatically exposed, setting the exposure amount of the image acquisition device to an exposure amount corresponding to the brightness of the current image.

5. The automatic exposure adjustment method according to claim 1, characterized in that: Obtaining the ambient brightness reference value includes: Acquire a difference between the brightness of the current image and the target brightness as the first brightness reference value; and The change speed of the difference between the brightness of the multiple frames of images acquired by the image acquisition device and the target brightness is acquired as the second brightness reference value.

6. The automatic exposure adjustment method according to claim 1, characterized in that: Obtaining the ambient brightness reference value includes: acquiring the first brightness reference value according to the ratio of the brightness of the current image to the target brightness; and A weighted average value of brightness change speeds of multiple frames of images captured by the image capture device is obtained as the second brightness reference value.

7. The automatic exposure adjustment method according to claim 1, characterized in that: Acquiring the automatic exposure adjustment coefficient according to the automatic exposure adjustment value includes: using a fuzzy algorithm to process the automatic exposure adjustment value to acquire the automatic exposure adjustment coefficient.

8. An image acquisition method, characterized in that: The image acquisition method comprises: Adjusting the exposure of the image acquisition device by the automatic exposure adjustment method according to any one of claims 1 to 7; The image acquisition device is used to acquire images.

9. An automatic exposure adjustment device, characterized in that: The automatic exposure adjustment device comprises: An automatic exposure state judgment module is configured to determine whether to perform automatic exposure adjustment on the image acquisition device according to the brightness of the current image acquired by the image acquisition device and the current automatic exposure state; an automatic exposure adjustment coefficient calculation module, configured to calculate an automatic exposure adjustment coefficient related to an exposure adjustment speed; and an exposure calculation module, configured to obtain an exposure corresponding to the brightness of the current image as a first exposure, obtain a second exposure according to the brightness of the current image and a target brightness, and obtain a third exposure according to the first exposure, the second exposure and the automatic exposure adjustment coefficient, wherein the third exposure is: E3=E1×(1-k)+E2×k, wherein E1, E2 and E3 are the first exposure, the second exposure and the third exposure respectively, k is the automatic exposure adjustment coefficient, and the value range of k is 0≤k≤1, and its value is determined by the ambient brightness reference value; The method for obtaining the automatic exposure adjustment coefficient comprises: obtaining an ambient brightness reference value; obtaining an automatic exposure adjustment value corresponding to the ambient brightness reference value; and obtaining the automatic exposure adjustment coefficient according to the automatic exposure adjustment value; The environment brightness reference value includes a first brightness reference value and a second brightness reference value, wherein the first brightness reference value is used to indicate the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value is used to indicate the brightness change rate corresponding to the current image; Wherein acquiring the automatic exposure adjustment value corresponding to the ambient brightness reference value comprises: acquiring the automatic exposure adjustment value corresponding to the ambient brightness reference value according to a preset corresponding relationship table, wherein in the corresponding relationship table: If the absolute value of the first brightness reference value is larger, and the second brightness reference value is a negative value with a larger absolute value, the automatic exposure adjustment value is larger; and If the absolute value of the first brightness reference value is smaller and the second brightness reference value is a positive value with a larger absolute value, the automatic exposure adjustment value is smaller.

10. The automatic exposure adjustment device according to claim 9, characterized in that: The automatic exposure adjustment device also includes: The ambient brightness reference value calculation module is configured to calculate the ambient brightness reference value, wherein the ambient brightness reference value includes a first brightness reference value and a second brightness reference value, wherein the first brightness reference value represents the deviation of the brightness of the current image relative to the target brightness, and the second brightness reference value represents the brightness change rate corresponding to the current image, wherein the automatic exposure adjustment coefficient calculation module is further configured to obtain the automatic exposure adjustment value according to the correspondence between the ambient brightness reference value and the automatic exposure adjustment value, and to obtain the automatic exposure adjustment coefficient according to the automatic exposure adjustment value.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the automatic exposure adjustment method according to any one of claims 1 to 7 or the image acquisition method according to claim 8.

12. An electronic device, characterized in that: The electronic device comprises: a memory configured to store a computer program; and A processor is communicatively connected to the memory and is configured to call the computer program to execute the automatic exposure adjustment method according to any one of claims 1 to 7 or the image acquisition method according to claim 8.