Gain adjustment method and device for preventing overexposure under low illumination

By performing secondary adjustment of gain at the sensor end of the camera and dynamically controlling the bright area threshold using the AE algorithm, the problem of overexposure at low illumination is solved, and the balance effect of low power consumption, low cost and high-quality images is achieved.

CN119562170AActive Publication Date: 2025-03-04HANGZHOU MEARI TECH CO LTD

Patent Information

Application Number
CN202510026321.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-08
Publication Date
2025-03-04
Estimated Expiration
2045-01-08

AI Technical Summary

Technical Problem

Under low illumination conditions, the camera in the prior art is prone to overexposed due to excessive light, and the HDR multi-frame integration method and digital wide dynamic method both have high cost, large power consumption and complex image tuning.

Method used

By adding secondary adjustment of global gain at the sensor end and dynamically controlling the bright area threshold using the AE algorithm, the exposure of the over-bright area is reduced while ensuring the image consistency of the non-bright area.

Benefits of technology

It effectively prevents overexposure at low illumination, reduces power consumption and cost, and ensures balance of image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119562170A_ABST
    Figure CN119562170A_ABST
Patent Text Reader

Abstract

The invention relates to an image processing technology, and discloses an anti-overexposure gain adjustment method and device under low illumination, and the method comprises the steps: obtaining an analog pixel signal and an electron quantity EQ, and carrying out the optical conversion of an optical array, and obtaining the analog pixel signal and the electron quantity EQ; gain adjustment: performing gain adjustment on the acquired analog pixel signal so as to obtain an adjusted analog pixel signal; conversion of digital pixel signals: converting the analog pixel signals into the digital pixel signals through an ADC (Analog to Digital Converter) module; and the digital pixel signal is output, wherein the converted digital pixel signal is output. According to the method, secondary adjustment is carried out on configured sensor gain (namely analog signals obtained after all pixels in one frame are subjected to photoelectric conversion, the multiple needing to be amplified and represented by global gain hereinafter) through support of a sensor end, the threshold value of a bright area is dynamically controlled through an AE algorithm, and image consistency of a non-excessively-bright area is guaranteed when the excessively-bright area is reduced; the power consumption is low and the cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to image processing technology, and in particular to a gain adjustment method and device for preventing overexposure under low illumination. Background Art

[0002] Currently, outdoor cameras generally do not support HDR due to cost or power consumption. In low-light conditions at night, when there is light in front, in order to increase the brightness of the dark area, the sensor gain is usually increased significantly, which can easily cause overexposure around the light.

[0003] Adopting HDR multi-frame integration: The cost is relatively increased: Both the sensor and the main control need to support this function. In order to process multi-frame integration, the main control needs to increase the memory space and the time efficiency is relatively increased; the power consumption increases: the main control needs to receive multiple frames to synthesize one frame. In order to achieve the same frame rate in non-HDR mode, it needs to process at least twice the frames, and the power consumption will increase significantly; there is a tailing phenomenon caused by multi-frame integration. Adopting digital wide dynamic mode: This method requires a better ISP algorithm on the main control side. It is easy to bring dark noise; it is easy to cause the face to be too pink due to the excessive pull of digital wide dynamic; it takes a lot of effort to adjust the image to achieve a better balance. When the difference between light and dark is too large, the effect is still not obvious.

[0004] For example, prior art 1: CN200680008406.8 discloses a processing method. The present invention discloses an imaging device for reducing fixed pattern noise caused by dark current or the like. Summary of the invention

[0005] The present invention aims at the high cost of adopting the HDR multi-frame integration method in the prior art, and the need for both the sensor and the main control to support this function. In order to process the multi-frame integration, the main control end needs to increase the memory space and the time efficiency is relatively increased; the high power consumption main control end needs to receive multiple frames to synthesize one frame. In order to achieve the same frame rate in the non-HDR mode, at least 2 times the frames need to be processed, and the power consumption will increase significantly; there is a tailing phenomenon caused by the integration of multiple frames. For the use of digital wide dynamic mode: this method requires a better ISP algorithm on the main control end. It is easy to bring dark noise; it is easy to cause the face to be too strong due to the digital wide dynamic pull, resulting in a pink phenomenon; it takes a lot of effort to tune the image to achieve a better balance, and when the difference between light and dark is too large, the effect is still not obvious. A gain adjustment method and device for preventing overexposure under low illumination are provided.

[0006] In order to solve the above technical problems, the present invention is solved by the following technical solutions: A gain adjustment method for preventing overexposure under low illumination, the method comprising: Acquisition of analog pixel signals and electronic quantity EQ, for optical arrays, analog pixel signals and electronic quantity EQ are acquired through optical conversion; Gain adjustment: adjusting the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; Conversion of digital pixel signals, converting analog pixel signals into digital pixel signals through ADC modules; The output of the digital pixel signal outputs the converted digital pixel signal.

[0007] Preferably, the gain adjustment includes adjusting the gain of the electronic quantity EQ. out , When the electronic quantity EQ is less than or equal to EQ 阈值 hour; ; otherwise, ; Among them, EQ 总 is the total amount of electrons; EQ is the real-time amount of electrons, EQ 阈值 is the threshold value of the amount of electrons, Gain in Gain is the gain before adjustment. out is the adjusted gain, and K is the gain adjustment coefficient.

[0008] As a preferred method, the AE algorithm calculates the threshold EQ of the electronic amount in real time 阈值 include: When the image brightness reaches the set target brightness, the threshold EQ of the electronic amount is dynamically adjusted according to the overly bright area in the image. 阈值 :When the electron quantity threshold EQ 阈值 When it is lowered, the overly bright area is reduced, and the threshold of the electronic amount EQ 阈值 Continue to reduce the threshold of the electronic volume EQ 阈值 Stop lowering; When the electron quantity threshold EQ 阈值 When the over-brightness area does not increase, the threshold of the electronic quantity EQ 阈值 Increase, otherwise the electronic volume threshold EQ 阈值 Stop increasing.

[0009] As a preference: judging the digital pixel signal, judging the converted digital pixel signal, and when the digital pixel signal is greater than a set threshold, feeding back the adjustment signal to the gain adjustment.

[0010] Preferably, the gain adjustment includes: gain conversion, when there is a digital pixel signal, the optical array obtains the analog pixel signal through optical conversion to perform gain conversion; The analog pixel signal after gain conversion is converted into a digital pixel signal through the ADC module; when the digital pixel signal is greater than the set threshold, the gain conversion is further performed, otherwise the digital pixel signal is output.

[0011] As a preference, the gain conversion is performed by a search method.

[0012] In order to solve the above technical problems, the present invention also provides a gain adjustment device for preventing overexposure under low illumination, which comprises: An acquisition module for analog pixel signals and electronic quantity EQ, which acquires analog pixel signals and electronic quantity EQ through optical conversion for the optical array; A gain adjustment module adjusts the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; A digital pixel signal conversion module converts the analog pixel signal into a digital pixel signal through an ADC module; The output module of the digital pixel signal outputs the converted digital pixel signal.

[0013] Preferably, it also includes: a digital pixel signal judgment module, which judges the converted digital pixel signal, and when the digital pixel signal value is greater than a set numerical threshold, feeds back the adjustment signal to the gain adjustment.

[0014] The present invention has significant technical effects due to the adoption of the above technical solution: The present invention increases the configured global gain by a secondary adjustment at the sensor end, and the AE algorithm dynamically controls the bright area threshold to ensure image consistency in non-overbright areas while reducing overbright areas; it has low power consumption and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a schematic diagram of the AE threshold calculation adjustment of the present invention.

[0016] Figure 2 It is a flow chart of analog gain secondary adjustment of the present invention.

[0017] Figure 3 It is a flow chart of iterative adjustment of analog gain of the present invention.

[0018] Figure 4 It is the sensor analog gain flow chart of the present invention.

[0019] Figure 5 It is a graph of the output gain after adjustment of the present invention.

[0020] Figure 6 It is a sensor Bayer format (RGGB) pixel array diagram of the present invention. DETAILED DESCRIPTION

[0021] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0022] Example 1

[0023] A gain adjustment method for preventing overexposure under low illumination. Figure 1 The methods include: Acquisition of analog pixel signals and electronic quantity EQ, for optical arrays, analog pixel signals and electronic quantity EQ are acquired through optical conversion; Gain adjustment: adjusting the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; Conversion of digital pixel signals, converting analog pixel signals into digital pixel signals through ADC modules; The output of the digital pixel signal outputs the converted digital pixel signal.

[0024] Gain adjustment includes adjusting the gain of the electronic EQ out , When the electronic quantity EQ is less than or equal to EQ 阈值 hour; ; otherwise, ; Among them, EQ 总 is the total amount of electrons; EQ is the real-time amount of electrons, EQ 阈值 is the threshold value of the amount of electrons, Gain in Gain is the gain before adjustment. out is the adjusted gain, and K is the gain adjustment coefficient.

[0025] Figures 2 to 4 The sensor end adds a secondary gain adjustment module, which is similar to a slider. The gain after secondary adjustment is determined according to the amount of photoelectrons in the potential well. That is, for analog pixels that reach a certain amount of electrons, secondary adjustment is performed on the set global gain before amplification.

[0026] Example 2 Based on Example 1, Figure 5 In this embodiment, the threshold value of the electron quantity EQ 阈值 Through real-time calculation and adjustment by AE algorithm. When adjusting the sensor gain through the AE (auto exposure) module of ISP, the AE algorithm evaluates the average brightness of the picture on the one hand, and the size of the over-bright area on the other hand, to dynamically adjust the range of the bright area that needs secondary gain adjustment, that is, to reduce the over-bright area of ​​the actual light, while allowing a smooth transition process for the brightness around the light; AE algorithm calculates the threshold EQ of adjusting electronic quantity in real time 阈值 include: When the image brightness reaches the set target brightness, the threshold EQ of the electronic amount is dynamically adjusted according to the overly bright area in the image. 阈值 :When the electron quantity threshold EQ 阈值 When it is lowered, the overly bright area is reduced, and the threshold of the electronic amount EQ 阈值 Continue to reduce the threshold of the electronic volume EQ 阈值 Stop lowering; When the electron quantity threshold EQ 阈值 When the over-brightness area does not increase, the threshold of the electronic quantity EQ 阈值 Continue to increase, otherwise the threshold of the electronic volume EQ 阈值 Stop increasing.

[0027] N-fold gain: the gain configuration calculated in real time by the AE algorithm (the gain changes dynamically depending on the environment), which is the same for all pixels; electron quantity: the amount of electrons stored in the potential well after photoelectric conversion (i.e. after exposure), which is measured by the percentage of the maximum storable amount; Set threshold: The AE algorithm adjusts the image in real time to ensure that pixels that are not too bright are not affected. Only pixels that exceed the threshold setting are adjusted at a given gain. If the threshold is set to 75%, the amount of electrons is 80%, and the gain is set to 16 times, the output gain after adjustment is: 12.8 times; if the threshold is set to 75%, the amount of electrons is 80%, and the gain is set to 32 times, the output gain after adjustment is 25.6 times.

[0028] Example 3

[0029] On the basis of the above-mentioned embodiment, the digital pixel signal of this embodiment is judged by judging the converted digital pixel signal, and when the digital pixel signal is greater than the set threshold, the adjustment signal is fed back to the gain adjustment.

[0030] Gain adjustment includes: gain conversion, when there is a digital pixel signal, the optical array obtains the analog pixel signal through optical conversion to perform gain conversion; The analog pixel signal after gain conversion is converted into a digital pixel signal through the ADC module; when the digital pixel signal is greater than the set threshold, the gain conversion is further performed, otherwise the digital pixel signal is output.

[0031] The gain conversion is performed by searching.

[0032] Example 4

[0033] Based on the above embodiment, this embodiment is a gain adjustment device for preventing overexposure under low illumination. Figure 6 In the image processing, each pixel is a single color photoelectric conversion (i.e. one-dimensional). After ADC conversion, it needs to be interpolated by the de-massage module of the ISP algorithm, and the interpolation is calculated by other nearby color pixels. In this way, if different gain adjustments are made for each pixel, it is easy to cause deviations in the interpolated RGB three-channel data, causing color anomalies. It includes an acquisition module for analog pixel signals and electronic quantity EQ, which acquires analog pixel signals and electronic quantity EQ through optical conversion for the optical array; A gain adjustment module adjusts the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; A digital pixel signal conversion module converts the analog pixel signal into a digital pixel signal through an ADC module; The output module of the digital pixel signal outputs the converted digital pixel signal.

[0034] It also includes: a digital pixel signal judgment module, which judges the converted digital pixel signal, and when the digital pixel signal value is greater than the set numerical threshold, feeds back the adjustment signal to the gain adjustment.

Claims

1. A gain adjustment method for preventing overexposure under low illumination, the method comprising: Acquisition of analog pixel signals and electronic quantity EQ, for optical arrays, analog pixel signals and electronic quantity EQ are acquired through optical conversion; Gain adjustment: adjusting the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; Conversion of digital pixel signals, converting analog pixel signals into digital pixel signals through ADC modules; The output of the digital pixel signal outputs the converted digital pixel signal.

2. The gain adjustment method for preventing overexposure under low illumination according to claim 1, characterized in that: Gain adjustment includes adjusting the gain of the electronic EQ out , When the electronic quantity EQ is less than or equal to EQ 阈值 hour; ; otherwise, ; Among them, EQ 总 is the total amount of electrons; EQ is the real-time amount of electrons, EQ 阈值 is the threshold value of the amount of electrons, Gain in Gain is the gain before adjustment. out is the adjusted gain, and K is the gain adjustment coefficient.

3. The gain adjustment method for preventing overexposure under low illumination according to claim 2, characterized in that: Electronic volume threshold EQ 阈值 Real-time calculation and adjustment through AE algorithm.

4. The gain adjustment method for preventing overexposure under low illumination according to claim 3, characterized in that: AE algorithm calculates the threshold EQ of adjusting the electronic amount in real time 阈值 include: When the image brightness reaches the set target brightness, the threshold EQ of the electronic amount is dynamically adjusted according to the overly bright area in the image. 阈值 :When the electron quantity threshold EQ 阈值 When it is lowered, the overly bright area is reduced, and the threshold of the electronic amount EQ 阈值 Continue to reduce the threshold of the electronic volume EQ 阈值 Stop lowering; When the electron quantity threshold EQ 阈值 When the over-brightness area does not increase, the threshold of the electronic quantity EQ 阈值 Increase, otherwise the electronic volume threshold EQ 阈值 Stop increasing.

5. The gain adjustment method for preventing overexposure under low illumination according to claim 1, characterized in that: The digital pixel signal is judged, and the converted digital pixel signal is judged. When the digital pixel signal is greater than the set threshold, the adjustment signal is fed back to the gain adjustment.

6. The gain adjustment method for preventing overexposure under low illumination according to claim 5, characterized in that: Gain adjustment includes: gain conversion, when there is a digital pixel signal, the optical array obtains the analog pixel signal through optical conversion to perform gain conversion; The analog pixel signal after gain conversion is converted into a digital pixel signal through the ADC module; when the digital pixel signal is greater than the set threshold, the gain conversion is further performed, otherwise the digital pixel signal is output.

7. The gain adjustment method for preventing overexposure under low illumination according to claim 6, characterized in that: The gain conversion is performed by searching.

8. A gain adjustment device for preventing overexposure under low illumination, characterized in that: include: An acquisition module for analog pixel signals and electronic quantity EQ, which acquires analog pixel signals and electronic quantity EQ through optical conversion for the optical array; A gain adjustment module adjusts the gain of the acquired analog pixel signal to obtain an adjusted analog pixel signal; A digital pixel signal conversion module converts the analog pixel signal into a digital pixel signal through an ADC module; The output module of the digital pixel signal outputs the converted digital pixel signal.

9. A gain adjustment device for preventing overexposure under low illumination according to claim 8, characterized in that: Also includes: The digital pixel signal judgment module judges the converted digital pixel signal, and when the digital pixel signal value is greater than the set numerical threshold, the adjustment signal is fed back to the gain adjustment.

Citation Information

Patent Citations

  • Image pickup device, signal processing device and signal processing method

    CN101142815A

  • Method for obtaining automatic exposure control parameter and control method and image forming apparatus

    CN101064783A

  • Low-illumination camera imaging control method and device, camera system

    CN102223486A

  • TDI image sensor with high dynamic range and imaging method thereof

    CN111294529A

  • IMAGE SENSOR with controllable conversion gain

    CN111343396A

Cited By

  • Dynamic image enhancement method and device, equipment and storage medium

    CN121883329A