CN108234896B - High dynamic recovery method and system for segmented exposure imaging - Google Patents

High dynamic recovery method and system for segmented exposure imaging Download PDF

Info

Publication number
CN108234896B
CN108234896B CN201810042446.9A CN201810042446A CN108234896B CN 108234896 B CN108234896 B CN 108234896B CN 201810042446 A CN201810042446 A CN 201810042446A CN 108234896 B CN108234896 B CN 108234896B
Authority
CN
China
Prior art keywords
exposure
pixel
value
segment
brightness value
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.)
Active
Application number
CN201810042446.9A
Other languages
Chinese (zh)
Other versions
CN108234896A (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.)
Kunshan Sitewei Integrated Circuit Co ltd
Original Assignee
Kunshan Yexin Electronic 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 Kunshan Yexin Electronic Technology Co ltd filed Critical Kunshan Yexin Electronic Technology Co ltd
Priority to CN201810042446.9A priority Critical patent/CN108234896B/en
Publication of CN108234896A publication Critical patent/CN108234896A/en
Application granted granted Critical
Publication of CN108234896B publication Critical patent/CN108234896B/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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/53Control of the integration time
    • H04N25/533Control of the integration time by using differing integration times for different sensor regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/50Control of the SSIS exposure
    • H04N25/57Control of the dynamic range
    • H04N25/58Control of the dynamic range involving two or more exposures
    • H04N25/587Control of the dynamic range involving two or more exposures acquired sequentially, e.g. using the combination of odd and even image fields
    • H04N25/589Control of the dynamic range involving two or more exposures acquired sequentially, e.g. using the combination of odd and even image fields with different integration times, e.g. short and long exposures

Landscapes

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

Abstract

The invention provides a high dynamic recovery method and a high dynamic recovery system for segmented exposure imaging, wherein the method comprises the following steps: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein the first exposure segment is prior to the second exposure segment; calculating the slope value K of the current light intensity corresponding to each pixel point; calculating the current pixel brightness value Vxi of each pixel point as K T according to each slope value K and the total exposure time T of the two exposure sections; and determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing, judging and processing the brightness value V1i of each pixel to obtain a recovered high-dynamic image. The high dynamic recovery method and the system for the segmented exposure imaging can recover the high dynamic image, eliminate the fixed deviation caused by the segmented exposure and do not need extra correction.

Description

High dynamic recovery method and system for segmented exposure imaging
Technical Field
The invention relates to the technical field of image processing, in particular to a high-dynamic recovery method and a high-dynamic recovery system for segmented exposure imaging.
Background
The exposure mode of the common image sensor is single-stage exposure, and the dynamic range is relatively small. At present, one type of image sensor adopts a segmented exposure mode, responds to light irradiation in two or more segments, and can improve the dynamic range. Referring to fig. 1, taking two-stage exposure as an example, in the range of total exposure time T ', two integration times are divided into 0-T1' and T1 '-T', the saturation value is limited to V1 '(defined by the manufacturing process) in the first stage exposure time period 0-T1', and the exposure is continued in the second stage exposure time period T1 '-T'. For weak light, in the time period of 0-T1 ', the exposure value does not reach the saturation value V1 ', so the exposure is always carried out in the whole time T ', and the exposure value is a line b in the image; for strong light, there may be a time point in 0-T1 ' when T1 ' is not reached and the exposure value has reached the saturation value V1 ', at which point the value will not increase further during this period until exposure continues for the time T1 ' -T2 ', the exposure value line a in the image. This is also true for multi-segment exposures, where there is a possibility that the exposure value is leveled for a period of time without increasing before each segment point. Strong light and weak light can be distinguished by whether the exposure value will appear at adjacent segment points for a period of time.
In the sectional exposure mode, because the middle part has an exposure value leveling section, a certain high dynamic range is limited; due to process reasons, the saturation value V1 'of each pixel point is not completely consistent, and there is a deviation, so that under the same light intensity, after passing through the saturation value V1' of each pixel point, the output value has a fixed deviation. In addition, the images acquired by the method are compressed in a linear mode in a high dynamic mode, so that the dynamic range of the final output image is limited.
Disclosure of Invention
The invention aims to solve the technical problem of providing a high dynamic recovery method and a high dynamic recovery system for segmented exposure imaging, which can eliminate fixed deviation caused by segmented exposure without extra correction while recovering a high dynamic image.
In order to solve the above problems, the present invention provides a high dynamic recovery method for segmented exposure imaging, which comprises the following steps:
s1: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
s2: calculating a slope value K of the current light intensity corresponding to each pixel point, wherein K is (Vi-V1 i)/(T-T1);
s3: calculating the current pixel brightness value Vxi of each pixel point as K T according to each slope value K and the total exposure time T of the two exposure sections;
s4: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
when the pixel luminance value V1i is within the overexposure comparison range, a blur determination is performed to determine the tendency thereof, and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ Vxi is determined in accordance with the tendency.
In accordance with one embodiment of the present invention,
when the whole exposure imaging process is divided into two segments, in the step S1, the two exposure segments are selected, the end-of-segment exposure time T1 of the first exposure segment is the exposure time of the segmentation point, the end-of-segment exposure time T of the second exposure segment is the exposure completion time, and the recovery is completed after the steps S2-S4 are executed;
when the number of the exposure segments is larger than two segments, two exposure segments are selected from the back to the front to execute the steps S1-S4, one exposure segment is moved forward based on the recovered pixel brightness value, and the corresponding two exposure segments are selected to execute the steps S1-S4, and the steps are repeated until all the exposure segments are recovered.
According to an embodiment of the present invention, the method further includes step S5, which is to compress and map the size of the recovered high-dynamic image into the bit width range of the output by means of gamma mapping curve.
According to an embodiment of the present invention, in the step S4, the overexposure comparison range is Vf-a to Vf + a, Vf is an average overexposure value of the first exposure segment, and a is a luminance deviation value.
According to an embodiment of the present invention, the average overexposure value of the first exposure segment is obtained by an offline test, and the value range of the brightness deviation value a is 0-20.
According to an embodiment of the present invention, in the step S4, the determining the trend of the blur and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ vx according to the trend includes:
selecting a certain area by taking the pixel point of the pixel brightness value V1i in the overexposure comparison range as a center;
respectively calculating the region mean value Vm of each pixel brightness value Vi in the region and the mean value Vxm of each current pixel brightness value Vxi;
respectively calculating the sum Vs of absolute values of differences between the brightness value Vi of each pixel in the region and the average value Vxm of the brightness value Vi of each pixel and the sum Vxs of absolute values of differences between the brightness value Vxi of each current pixel and the average value Vxm of the current pixel;
and judging that when Vxs is smaller than Vs, Voi is Vxi, and on the contrary, Voi is Vi.
According to an embodiment of the present invention, the selected area range is an area consisting of m × n pixels with the pixel brightness value V1i in the overexposure comparison range as the center, and the values of M, N are all 3-5.
According to an embodiment of the present invention, the pixel luminance value acquired in step S1 is obtained by: in the exposure imaging process, at the end-of-segment exposure time of an exposure segment which does not finish exposure finally, acquiring the brightness value of each pixel at the time and then storing the brightness value; after acquiring the brightness values of the pixels at the end-of-exposure time of the exposure segment in which exposure is finally completed, the stored brightness values of the pixels are collectively acquired, and the process proceeds to step S2.
The invention also provides a high dynamic recovery system for the segmented exposure imaging, which comprises:
a pixel brightness value acquisition module: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
slope value calculation module: performing calculation of a slope value K of the current light intensity corresponding to each pixel point, wherein K is (Vi-V1 i)/(T-T1);
the current pixel brightness value calculation module: executing calculation according to each slope value K and the total exposure time T of the two exposure sections, and calculating the current pixel brightness value Vxi of each pixel point to be K T;
a recovery module: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
when the pixel luminance value V1i is within the overexposure comparison range, a blur determination is performed to determine the tendency thereof, and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ Vxi is determined in accordance with the tendency.
According to an embodiment of the present invention, further comprising:
and the curve mapping unit is used for compressing and mapping the size of the recovered high-dynamic image into the output bit width range in a gamma curve mapping mode.
After the technical scheme is adopted, compared with the prior art, the invention has the following beneficial effects:
in the invention, linear exposure is carried out through the pixel brightness values at the end-of-segment exposure time of the two exposure segments to obtain the current pixel brightness value considered based on linear exposure, whether the pixel is overexposed is judged through the pixel brightness value at the end-of-segment exposure time of the first exposure segment, and the fuzzy condition is further judged, so that the corresponding linear processing is carried out on the overexposure condition, and finally the high dynamic image is recovered through the pixel brightness value.
Drawings
FIG. 1 is a schematic view of an exposure line for a current two-stage exposure imaging;
FIG. 2 is a flow chart of a high dynamic recovery method for segmented exposure imaging according to an embodiment of the present invention;
FIG. 3 is a flow chart of a high dynamic recovery method for segmented exposure imaging according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a selected area centered around a pixel according to an embodiment of the invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
Referring to fig. 1, in one embodiment, a segmented exposure imaging high dynamic recovery method includes the steps of:
s1: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
s2: calculating a slope value K of the current light intensity corresponding to each pixel point, wherein K is (V-V1)/(T-T1);
s3: calculating the current pixel brightness value Vxi of each pixel point as K T according to each slope value K and the total exposure time T of the two exposure sections;
s4: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
when the pixel luminance value V1i is within the overexposure comparison range, a blur determination is performed to determine the tendency thereof, and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ Vxi is determined in accordance with the tendency.
The following is a description of the segmented exposure imaging high dynamic recovery method according to the embodiment of the present invention, but should not be taken as a limitation.
The high dynamic recovery method for segmented exposure imaging in the embodiment of the invention can be applied to an image sensor adopting a segmented exposure mode, can be divided into two-segment exposure or multi-segment (more than three-segment) exposure, and is not limited specifically. The method can solve the technical problem that the exposure value is possibly kept flat for a period of time when the point is close to the segmentation point in the segmentation exposure process, so that the high dynamic range is limited, and the high dynamic image can be recovered.
In step S1, since the method is calculated for two exposure segments each time, the corresponding data of the two exposure segments required for calculation are acquired first: the brightness value V1i of each pixel at the end-of-segment exposure time T1 of the first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of the second exposure segment are obtained, i is 1-n, and n is the number of pixels.
The first exposure segment precedes the second exposure segment. For example, in the case where the entire exposure process is divided into two segments, 0-T1 is the first exposure segment, T1-T is the second exposure segment, the total exposure time is T, and the entire exposure is completed at time T. In the case that the whole exposure process is divided into multiple segments, T1-T is still the second exposure segment, and the first exposure segment is determined according to the segmentation point T1 and the previous segmentation point time.
The brightness values V1i and Vi of the pixels may be stored after being collected, and then corresponding data may be obtained from the memory in step S1, and the subsequent steps are performed.
Preferably, the luminance value of the pixel acquired in step S1 is obtained by: in the exposure imaging process, at the end-of-segment exposure time of an exposure segment which does not finish exposure finally, acquiring the brightness value of each pixel at the time and then storing the brightness value; after acquiring the brightness values of the pixels at the end-of-exposure time of the exposure segment in which exposure is finally completed, the stored brightness values of the pixels are collectively acquired, and the process proceeds to step S2. May be stored in a RAM (random access memory). Through the first storage of the first sampling, the data sampling at the moment of completing the exposure is directly calculated, so that the read-write consumption can be reduced, the processing speed is increased, and the real-time property of the high dynamic image recovery is improved.
For example, in the case of two exposure segments, during the exposure, when the end-of-segment exposure time T1 of the first exposure segment is reached, the brightness value V1i of each pixel at that time is acquired and stored in the memory, and when the end-of-segment exposure time T of the second exposure segment is reached, the brightness value Vi of each pixel at that time is acquired and the brightness value V1i of each pixel is collectively acquired from the memory and then executed in step S2. Of course, in the case that the exposure segment is a plurality of segments, the pixel brightness values acquired at the end-of-segment exposure times of the previous segments are all stored, and the pixel brightness values of the previous segments sequentially acquired after the end-of-segment exposure time of the last segment is acquired are executed in step S2.
Next, step S2 is executed, and for each pixel Vi at time T, the pixel value V1i of the pixel corresponding to time T1 can be read from the memory, and in consideration of linear exposure, the slope value K of the current light intensity corresponding to each pixel can be calculated, where K is (Vi-V1 i)/(T-T1). In the process, calculation can be performed on each pixel point of the whole image in a traversal mode, and the current light intensity slope value of each pixel point is obtained.
Next, step S3 is executed, and the current pixel brightness value vx i ═ K × T of each pixel point is calculated according to each slope value K and the total exposure time T of the two exposure segments. These current pixel intensity values Vxi are determined based on linear exposure, so if saturation of the exposure value occurs at a segmentation point in a strong light situation, the saturation situation can be recovered through the current pixel intensity values Vxi, and therefore how to automatically and quickly distinguish between saturation and unsaturation situations needs to be considered, and the embodiment of the present invention solves this problem through step S4.
Then, step S4 is executed to determine an overexposure comparison range according to the average overexposure value of the first exposure segment, compare and determine the brightness value V1i of each pixel, and determine the final brightness value of the pixel according to the determination result, wherein the overexposure comparison range is the range defined by the minimum value and the maximum value. This determination is made for each pixel luminance value V1i, and thus the determination and processing can be performed across these pixel luminance values V1 i.
If the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi; the pixel luminance value V1i is less than the minimum value of the overexposure comparison range, indicating that it is not overexposed, and is also a non-linear value, so the final pixel luminance value can be set to the pixel luminance value Vi sampled at the time of completion of exposure T.
If the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi; the pixel intensity value V1i is less than the maximum value of the overexposure comparison range, indicating that overexposure occurred, and the final pixel intensity value is set to the current pixel intensity value Vxi that has been linearly processed.
When the pixel luminance value V1i is within the overexposure comparison range, a blur determination is performed to determine the tendency thereof, and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ Vxi is determined in accordance with the tendency. When the pixel luminance value V1i is within the overexposure comparison range, it is described that the value thereof is a nonlinear value, linear correction is required, and it is possible to perform blur determination on the value, and if the value is closer to the linearly processed current pixel luminance value Vxi, the final pixel luminance value Voi becomes Vxi, and if the value is closer to the pixel luminance value Vi sampled at the exposure completion time T, the final pixel luminance value Voi becomes Vi.
Thus, when the exposure is divided into two segments, the recovered high dynamic image can be obtained, and when the exposure is not divided into multiple segments, the high dynamic image can be recovered for the selected two segments.
Preferably, in step S4, the overexposure comparison range is Vf-a to Vf + a, Vf is the average overexposure value of the first exposure segment, and a is the luminance deviation value. That is, the minimum value of the overexposure comparison range is Vf-a, and the maximum value is Vf + a.
Optionally, the average overexposure value of the first exposure segment is obtained by offline testing, and the test result may be stored and then obtained for calculation; the brightness deviation value A ranges from 0 to 20, and 0 to 20 is 0 to 20 of the pixel brightness values from 0 to 255.
Preferably, in step S4, the blur determination unit determines whether the luminance value Voi of the final pixel is Vi or Vxi according to the tendency of the blur, and further includes:
selecting a certain area by taking the pixel point of the pixel brightness value V1i in the overexposure comparison range as a center;
respectively calculating the region mean value Vm of each pixel brightness value Vi in the region and the mean value Vxm of each current pixel brightness value Vxi;
respectively calculating the sum Vs of absolute values of differences between each pixel brightness value Vi and the mean value Vxm of the pixel brightness value Vi in the area (at the end-of-segment exposure time T of the second exposure segment) and the sum Vxs of absolute values of differences between each current pixel brightness value Vxi (of each calculated pixel point) and the mean value Vxm of the pixel brightness value Vxi;
and judging that when Vxs is smaller than Vs, Voi is Vxi, and on the contrary, Voi is Vi.
Preferably, the selected area range is an area formed by MxN pixels with the pixel brightness value V1i in the overexposure comparison range as the center, and the values of M, N are 3-5. Referring to fig. 4, P (y, x) is the pixel point with the pixel brightness value V1i in the overexposure comparison range, M and N both take values of 3, and three rows and three columns of pixel points with P (y, x) as the center are used as the selected area.
When the whole exposure imaging process is divided into two segments, in step S1, the two exposure segments (two exposure segments in total, and thus steps S1-S4 are performed in sequence), the end-of-segment exposure time T1 of the first exposure segment is the exposure time of the segmentation point, the end-of-segment exposure time T of the second exposure segment is the exposure completion time, and the steps S2-S4 are performed to complete the recovery.
When the number of the exposure segments is larger than two segments, two exposure segments are selected from the back to the front to execute the steps S1-S4, one exposure segment is moved forward based on the recovered pixel brightness value, and the corresponding two exposure segments are selected to execute the steps S1-S4, and the steps are repeated until all the exposure segments are recovered. That is, when the steps S1-S4 are performed for the first time, the two selected exposure segments are the last two exposure segments in the exposure process, and when the steps S1-S4 are performed for the second time, the two selected exposure segments are the 2 nd from last exposure segment and the 3 rd from last exposure segment in the exposure process, and the two selected exposure segments are sequentially moved forward by analogy in the following steps until all the exposure segments are processed, so that the high dynamic image restoration is completed.
In one embodiment, referring to fig. 3, on the basis of the foregoing embodiments, the segmented exposure imaging high dynamic recovery method further includes step S5, which is to compress and map the size of the recovered high dynamic image into the bit width range of the output by means of gamma mapping curve. The high dynamic image is compressed in a curve mode, and the effect is that the high dynamic range compression of the image can be realized due to the original linear compression mode.
The invention also provides a high dynamic recovery system for the segmented exposure imaging, which comprises:
a pixel brightness value acquisition module: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
slope value calculation module: performing calculation of a slope value K of the current light intensity corresponding to each pixel point, wherein K is (Vi-V1 i)/(T-T1);
the current pixel brightness value calculation module: executing calculation according to each slope value K and the total exposure time T of the two exposure sections, and calculating the current pixel brightness value Vxi of each pixel point to be K T;
a recovery module: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
when the pixel luminance value V1i is within the overexposure comparison range, a blur determination is performed to determine the tendency thereof, and the final pixel luminance value Voi ═ Vi or the final pixel luminance value Voi ═ Vxi is determined in accordance with the tendency.
According to an embodiment of the present invention, further comprising:
and the curve mapping unit is used for compressing and mapping the size of the recovered high-dynamic image into the output bit width range in a gamma curve mapping mode.
For details of the segmented exposure imaging high dynamic recovery system according to the embodiment of the present invention, reference may be made to the description of the segmented exposure imaging high dynamic recovery method in the foregoing embodiment, and details are not repeated here.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the scope of the claims, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention.

Claims (9)

1. A high dynamic recovery method for segmented exposure imaging is characterized by comprising the following steps:
s1: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
s2: calculating a slope value K of the current light intensity corresponding to each pixel point, wherein K is (Vi-V1 i)/(T-T1);
s3: calculating the current pixel brightness value Vxi of each pixel point as K T according to each slope value K and the total exposure time T of the two exposure sections;
s4: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
if the pixel brightness value V1i is in the overexposure comparison range, performing fuzzy judgment on the trend situation of the pixel brightness value, and determining the final pixel brightness value;
selecting a certain area by taking the pixel point of the pixel brightness value V1i in the overexposure comparison range as a center;
respectively calculating the region mean value Vm of each pixel brightness value Vi in the region and the mean value Vxm of each current pixel brightness value Vxi;
respectively calculating the sum Vs of absolute values of differences between the brightness value Vi of each pixel in the region and the average value Vxm of the brightness value Vi of each pixel and the sum Vxs of absolute values of differences between the brightness value Vxi of each current pixel and the average value Vxm of the current pixel;
and judging that when Vxs is smaller than Vs, Voi is Vxi, and on the contrary, Voi is Vi.
2. The segmented exposure imaging high dynamic recovery method according to claim 1,
when the whole exposure imaging process is divided into two segments, in the step S1, the two exposure segments are selected, the end-of-segment exposure time T1 of the first exposure segment is the exposure time of the segmentation point, the end-of-segment exposure time T of the second exposure segment is the exposure completion time, and the recovery is completed after the steps S2-S4 are executed;
when the number of the exposure segments is larger than two segments, two exposure segments are selected from the back to the front to execute the steps S1-S4, one exposure segment is moved forward based on the recovered pixel brightness value, and the corresponding two exposure segments are selected to execute the steps S1-S4, and the steps are repeated until all the exposure segments are recovered.
3. The segmented exposure imaging high dynamic recovery method according to claim 2, further comprising step S5, wherein the size of the recovered high dynamic image is compressed and mapped into the bit width range of the output by means of gamma mapping curve.
4. The segmented exposure imaging high dynamic recovery method according to claim 1, wherein in the step S4, the overexposure comparison range is Vf-a to Vf + a, Vf is the average overexposure value of the first exposure segment, and a is the luminance deviation value.
5. The segmented exposure imaging high dynamic recovery method according to claim 4, wherein the average overexposure value of the first exposure segment is obtained by an offline test, and the brightness deviation value A ranges from 0 to 20.
6. The method of claim 1, wherein the selected region range is a region consisting of MxN pixels centered around the pixel with the pixel brightness value V1i in the overexposure comparison range, and the values of M, N are all 3-5.
7. The segmented exposure imaging high dynamic recovery method according to claim 1, wherein the pixel brightness value obtained in the step S1 is obtained by: in the exposure imaging process, at the end-of-segment exposure time of an exposure segment which does not finish exposure finally, acquiring the brightness value of each pixel at the time and then storing the brightness value; after acquiring the brightness values of the pixels at the end-of-exposure time of the exposure segment in which exposure is finally completed, the stored brightness values of the pixels are collectively acquired, and the process proceeds to step S2.
8. A segmented exposure imaging high dynamics recovery system, comprising:
a pixel brightness value acquisition module: acquiring the brightness value V1i of each pixel at the end-of-segment exposure time T1 of a first exposure segment and the brightness value Vi of each pixel at the end-of-segment exposure time T of a second exposure segment, wherein i is 1-n, n is the number of pixel points, and the first exposure segment is prior to the second exposure segment;
slope value calculation module: performing calculation of a slope value K of the current light intensity corresponding to each pixel point, wherein K is (Vi-V1 i)/(T-T1);
the current pixel brightness value calculation module: executing calculation according to each slope value K and the total exposure time T of the two exposure sections, and calculating the current pixel brightness value Vxi of each pixel point to be K T;
a recovery module: determining an overexposure comparison range according to the average overexposure value of the first exposure segment, and comparing and judging the brightness value V1i of each pixel:
if the pixel luminance value V1i does not reach the minimum value of the overexposure comparison range, the final pixel luminance value Voi is Vi;
if the pixel brightness value V1i exceeds the maximum value of the overexposure comparison range, the final pixel brightness value Voi is Vxi;
if the pixel brightness value V1i is in the overexposure comparison range, performing fuzzy judgment on the trend situation of the pixel brightness value, and determining the final pixel brightness value;
selecting a certain area by taking the pixel point of the pixel brightness value V1i in the overexposure comparison range as a center;
respectively calculating the region mean value Vm of each pixel brightness value Vi in the region and the mean value Vxm of each current pixel brightness value Vxi;
respectively calculating the sum Vs of absolute values of differences between the brightness value Vi of each pixel in the region and the average value Vxm of the brightness value Vi of each pixel and the sum Vxs of absolute values of differences between the brightness value Vxi of each current pixel and the average value Vxm of the current pixel;
and judging that when Vxs is smaller than Vs, Voi is Vxi, and on the contrary, Voi is Vi.
9. The segmented exposure imaging high dynamic recovery system according to claim 8, further comprising:
and the curve mapping unit is used for compressing and mapping the size of the recovered high-dynamic image into the output bit width range in a gamma curve mapping mode.
CN201810042446.9A 2018-01-16 2018-01-16 High dynamic recovery method and system for segmented exposure imaging Active CN108234896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810042446.9A CN108234896B (en) 2018-01-16 2018-01-16 High dynamic recovery method and system for segmented exposure imaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810042446.9A CN108234896B (en) 2018-01-16 2018-01-16 High dynamic recovery method and system for segmented exposure imaging

Publications (2)

Publication Number Publication Date
CN108234896A CN108234896A (en) 2018-06-29
CN108234896B true CN108234896B (en) 2020-12-01

Family

ID=62641223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810042446.9A Active CN108234896B (en) 2018-01-16 2018-01-16 High dynamic recovery method and system for segmented exposure imaging

Country Status (1)

Country Link
CN (1) CN108234896B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110620878A (en) * 2019-09-27 2019-12-27 思特威(上海)电子科技有限公司 On-chip area exposure imaging method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671187A (en) * 2004-03-15 2005-09-21 德鑫科技股份有限公司 Method of exposure correction for digital image
EP2725783A1 (en) * 2009-12-10 2014-04-30 Samsung Electronics Co., Ltd Multi-step exposure method using electronic shutter and photography apparatus using the same
CN104075994A (en) * 2013-03-27 2014-10-01 上海铭源数康生物芯片有限公司 Method for expansion of dynamic range of biochip detector and concentration back calculation based on fractional exposure
CN104869332A (en) * 2015-05-19 2015-08-26 北京空间机电研究所 Method for adaptive multi-slope integration adjusting
CN106303274A (en) * 2016-08-01 2017-01-04 凌云光技术集团有限责任公司 A kind of high dynamic-range image synthesis method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI306542B (en) * 2006-06-09 2009-02-21 Asia Optical Co Inc Method and system for automatic exposure compensation
US9832378B2 (en) * 2013-06-06 2017-11-28 Apple Inc. Exposure mapping and dynamic thresholding for blending of multiple images using floating exposure
KR101737518B1 (en) * 2015-10-27 2017-05-18 성균관대학교산학협력단 Method and system for determining optimal exposure time and frequency of structured light based 3d camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671187A (en) * 2004-03-15 2005-09-21 德鑫科技股份有限公司 Method of exposure correction for digital image
EP2725783A1 (en) * 2009-12-10 2014-04-30 Samsung Electronics Co., Ltd Multi-step exposure method using electronic shutter and photography apparatus using the same
CN104075994A (en) * 2013-03-27 2014-10-01 上海铭源数康生物芯片有限公司 Method for expansion of dynamic range of biochip detector and concentration back calculation based on fractional exposure
CN104869332A (en) * 2015-05-19 2015-08-26 北京空间机电研究所 Method for adaptive multi-slope integration adjusting
CN106303274A (en) * 2016-08-01 2017-01-04 凌云光技术集团有限责任公司 A kind of high dynamic-range image synthesis method and device

Also Published As

Publication number Publication date
CN108234896A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN107257452B (en) A kind of image processing method, device and calculate equipment
CN108090886B (en) High dynamic range infrared image display and detail enhancement method
WO2006026307A2 (en) Apparatus and method for processing images
JP2003092707A (en) Bad pixel detection and correction in an image sensing device
CN111292282B (en) Method and device for generating low-bit-width HDR image, storage medium and terminal
CN111242128B (en) Object detection method, device, computer readable storage medium and computer equipment
CN113096029A (en) High dynamic range image generation method based on multi-branch codec neural network
CN110717868A (en) Video high dynamic range inverse tone mapping model construction and mapping method and device
WO2023202200A1 (en) Method for reconstructing hdr images, terminal, and electronic device
CN112734669A (en) Training method of anomaly detection model based on improved noise reduction self-encoder
CN108234896B (en) High dynamic recovery method and system for segmented exposure imaging
CN116862812A (en) Infrared image processing method, device, computer equipment, storage medium and product
CN111800580B (en) High dynamic image synthesis method and storage medium
CN116309171A (en) Method and device for enhancing monitoring image of power transmission line
CN112446833A (en) Image processing method, intelligent terminal and storage medium
GB2588674A (en) Image processing
CN110599426A (en) CLAHE (class-invariant feature extraction) optimized underwater image enhancement method
CN113034432B (en) Product defect detection method, system, device and storage medium
CN111091522B (en) Terminal and multi-exposure image fusion method thereof
CN114140348A (en) Contrast enhancement method, device and equipment
Bataineh Brightness and Contrast Enhancement Method for Color Images via Pairing Adaptive Gamma Correction and Histogram Equalization
CN117061824B (en) Streaming media video frame supplementing method and device and computer equipment
TWI789018B (en) Image shooting device and image calculation method
KR101349239B1 (en) Apparatus and method for compressing image
CN115082347A (en) Image optimization method and device, electronic equipment and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200407

Address after: No. 338, Jinshun Road, Jinxi Town, Kunshan City, Suzhou City, Jiangsu Province

Applicant after: KUNSHAN YEXIN ELECTRONIC TECHNOLOGY Co.,Ltd.

Address before: Cayman Islands

Applicant before: SmartSens Technology (Cayman) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 215300 No. 188, Jinshun Road, Jinxi Town, Kunshan City, Suzhou City, Jiangsu Province

Patentee after: Kunshan sitewei integrated circuit Co.,Ltd.

Address before: No. 338, Jinshun Road, Jinxi Town, Kunshan City, Suzhou City, Jiangsu Province

Patentee before: KUNSHAN YEXIN ELECTRONIC TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address