Solid-state imaging device
The solid-state imaging device addresses flicker correction challenges in global shutter technology by using a processing circuit to estimate and adjust shutter speed or gain based on flicker period, ensuring consistent image quality under varying LED lighting frequencies.
Patent Information
- Application Number
- PCT/JP2024/007984
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-03-04
- Publication Date
- 2024-09-12
AI Technical Summary
Conventional global shutter imaging devices face challenges in correcting flicker, especially under LED lighting where the flicker frequency varies, making it difficult to apply flicker correction across multiple images.
A solid-state imaging device with a processing circuit that calculates the autocorrelation value of frame images to estimate the flicker period and corrects flicker by adjusting shutter speed or gain, synchronizing the shutter timing with the light emission cycle, and selecting appropriate correction methods based on image type (still or moving) and brightness analysis.
The solution effectively reduces flicker artifacts in global shutter imaging, ensuring consistent brightness across frames and improving image quality by synchronizing shutter operations with the light source frequency, thereby enhancing the signal-to-noise ratio and dynamic resolution.
Smart Images

Figure JP2024007984_12092024_PF_FP_ABST
Abstract
Description
solid-state imaging device
[0001] The present disclosure relates to a solid-state imaging device.
[0002] In recent years, the technology of global shutter, which makes the timing of images uniform within an image, has been developed in contrast to rolling shutter, which makes the timing of images different within an image. With conventional rolling shutter-driven image sensors, flicker stripes appear in images when captured under a flickering light source. As a result, the flicker occurrence status is detected from a single image and flicker stripe correction processing is performed.
[0003] With a rolling shutter, flicker can be corrected from a single image, but with a global shutter, when multiple images are captured, flicker occurs between the images. This makes it difficult to apply conventional rolling shutter flicker correction as is. When fluorescent lighting is used, flicker between multiple images can be corrected using the frequency of the supplied AC power supply, but under lighting using LEDs (Light Emitting Diodes), the frequency differs depending on the lighting device, and it is necessary to estimate the frequency of this LED lighting.
[0004] Japanese Patent Application Laid-Open No. 2009-089249
[0005] Therefore, one non-limiting problem that the embodiments of the present disclosure aim to solve is to correct flicker in global shutter imaging or to obtain an index for correcting flicker. The problem that the embodiments of the present disclosure aim to solve can also be, as some further non-limiting examples, a problem corresponding to the effects described in the embodiments. In other words, a problem that corresponds to at least one of the effects described in the description of the embodiments of the present disclosure can be considered to be a problem that the present disclosure aims to solve.
[0006] According to one embodiment, a solid-state imaging device includes an imaging unit and a processing circuit. The imaging unit acquires a plurality of frame images using a global shutter method based on a set shutter timing. The processing circuit calculates an autocorrelation value of detection values between different frames in the plurality of frame images, estimates a flicker period for the plurality of consecutive frames acquired at the shutter timing based on the autocorrelation value, and corrects flicker in the plurality of frame images for each frame image based on the flicker period.
[0007] The processing circuit may correct a shutter speed (including both a mechanical shutter and an electronic shutter) based on the flicker cycle, or correct a gain in the frame image based on the flicker cycle.
[0008] The processing circuit may select and execute the shutter speed correction or the gain correction based on a set condition.
[0009] The condition may be a condition indicating whether the frame image is a still image or a moving image, and the processing circuit may perform the shutter speed correction if the frame image is a still image, and may perform the gain correction if the frame image is a moving image.
[0010] The imaging section may acquire the plurality of frame images at a timing based on the shutter speed calculated and corrected by the processing circuit.
[0011] The processing circuit may obtain the light emission cycle of the illumination based on the shutter timing and the flicker cycle, and may set the shutter speed to a timing having the same cycle as the light emission frequency or a cycle that is an integer multiple of the light emission cycle.
[0012] The processing circuit may perform the gain correction for each of the plurality of frame images using the gain calculated for the entire frame image.
[0013] The processing circuit may acquire the overall brightness of each of the plurality of frame images acquired at the shutter timing, and may calculate the gain for each of the plurality of frame images based on the brightness in the plurality of frame images.
[0014] The processing circuitry may calculate the gain for each of the plurality of frame images as the maximum value of the brightness in the frame image.
[0015] The processing circuitry may calculate the gain for each of the plurality of frame images as an average value of the brightness in the frame images.
[0016] The processing circuit may calculate the number of unit frames for calculating the gain based on the flicker cycle.
[0017] The processing circuit may calculate the gain for the plurality of frame images for each of the unit frames based on the brightness.
[0018] The processing circuit may calculate the gain for the plurality of frame images for each of the unit frames, with the maximum brightness value as a reference.
[0019] The processing circuit may calculate the gain for the plurality of frame images for each of the unit frames, with the average brightness value being used as a reference.
[0020] The processing circuit may obtain the light emission cycle of the lighting based on the flicker cycle, and may obtain the overall brightness of each of the multiple frame images obtained at the shutter timing, and may set the shutter timing based on a timing having the same cycle as the light emission cycle or a cycle that is an integer multiple of the light emission cycle, and a timing that includes the maximum value of the brightness.
[0021] The processing circuit may obtain the next timing at which the brightness will be maximum compared to the previous and next frames from the timing at which the brightness is maximum compared to the previous and next frames and the light emission cycle, and may set the shutter timing based on the obtained timing.
[0022] 1 is a block diagram schematically showing an example of a solid-state imaging device according to an embodiment. FIG. 1 is a diagram schematically showing an example of how inter-plane flicker occurs. FIG. 2 is a diagram schematically showing an example of shutter speed correction according to an embodiment. FIG. 3 is a diagram schematically showing an example of a flow of shutter speed correction according to an embodiment. FIG. 4 is a diagram related to calculation of a correlation value of detection values between frame images according to an embodiment. A flowchart showing an example of processing for calculating a corrected shutter value according to an embodiment. FIG. 5 is a diagram schematically showing an example of gain correction according to an embodiment. A flowchart showing an example of gain correction processing according to an embodiment. FIG. 6 is a diagram schematically showing an example of a flow of selecting shutter speed correction and gain correction according to an embodiment. A flowchart showing processing of a solid-state imaging device according to an embodiment. FIG. 7 is a diagram schematically showing an example of a flow of shutter timing correction according to an embodiment. FIG. 8 is a diagram schematically showing an example of shutter timing correction according to an embodiment. A flowchart showing an example of shutter timing correction processing according to an embodiment.
[0023] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The drawings are used for explanation purposes, and the shape, size, and size ratio of each component in an actual device do not necessarily have to be the same as those shown in the drawings. Furthermore, since the drawings are simplified, components necessary for implementation other than those shown in the drawings are also assumed to be appropriately provided.
[0024] First Embodiment Fig. 1 is a block diagram schematically illustrating an example of a solid-state imaging device according to an embodiment. The solid-state imaging device 1 includes an imaging unit 10, a processing circuit 12, a shutter control unit 14, and an output unit 16. The solid-state imaging device 1 performs flicker correction on an image acquired using a global shutter system and outputs the image. Although not shown, the solid-state imaging device 1 may further include a control unit for controlling each component of the solid-state imaging device 1, an input unit for receiving input from a user, a power supply unit for supplying power to each component, and the like, as needed.
[0025] The imaging unit 10 acquires image information using a global shutter system. The imaging unit 10 includes, for example, a pixel array in which pixels each having a light-receiving element are arranged in an array, an optical system that focuses incident light onto the pixel array, and a pixel circuit that processes and outputs signals acquired by the light-receiving elements. The imaging unit 10 may further include an ADC (Analog to Digital Converter) that converts analog signals into digital signals.
[0026] The imaging unit 10 outputs a digital image signal based on the acquired signal. The imaging unit 10 acquires frame images spanning multiple frames based on, for example, a set shutter timing or a corrected shutter speed (described later). The imaging unit 10 acquires a moving image or still image with flicker correction from the multiple frame images. The shutter timing indicates the timing at which the frame images are acquired.
[0027] The processing circuit 12 is a circuit that performs signal processing or image processing on the digital image signal output by the imaging unit 10. The processing circuit 12 performs general digital signal processing in the solid-state imaging device 1, such as defect correction processing, filter processing, and linear matrix processing, and also performs correction to reduce flicker.
[0028] The processing circuit 12, for example, performs detection on the entire image from multiple frame images acquired by the imaging unit 10, estimates the flicker cycle occurring across the entire image, and outputs it. As a specific example, the processing circuit 12 can estimate the flicker cycle by calculating the autocorrelation value of the detection values in different frame images. The processing circuit 12 uses the estimated flicker cycle to perform correction to reduce the flicker occurring across the entire image.
[0029] Here, the detection value indicates, for example, a luminance value obtained from the entire image. The processing circuit 12 obtains the detection value by, for example, calculating the sum of the luminance values of each pixel in the frame image captured by the imaging unit 10. However, the present invention is not limited to this, and the processing circuit 12 can also obtain the detection value from other calculations such as a predetermined weighted sum for the pixels.
[0030] The shutter control unit 14 controls the shutter speed based on the output from the processing circuit 12. The imaging unit 10 controls the shutter based on the shutter speed output from the shutter control unit 14 and acquires image information.
[0031] The output unit 16 outputs the image information processed by the processing circuit 12. The output unit 16 may include, for example, a display unit that displays the image output by the processing circuit 12 to a user, or an output interface that transmits the image output by the processing circuit 12 to an external device.
[0032] The following describes in detail how the processing circuit 12 estimates the flicker cycle and corrects the flicker. The processing circuit 12 performs flicker correction, for example, by correcting the shutter speed or correcting the gain across the entire frame image based on the estimated flicker cycle.
[0033] Figure 2 shows an example of how inter-plane flicker occurs. The top row shows brightness caused by the light emission frequency of the light source. The bottom row shows changes in brightness due to flicker that occurs across the entire image captured by the imaging unit 10 due to the light emission frequency of the light source. The brightness of the image shown in the bottom row is determined by the sum (integral value) of the brightness of the light source shown in the top row while the shutter is open.
[0034] In the case of imaging using the global shutter method, the effect of flicker between frames occurs across the entire image, as shown in Figure 2. In the following explanation, the word "flicker" simply refers to this flicker between frames unless otherwise specified.
[0035] 3 is a diagram illustrating an example of shutter speed correction according to an embodiment. In this example, when capturing three frames of images, the shutter is closed during the periods indicated by hatching, and the shutter is open during the periods without hatching to capture the images.
[0036] As shown in this figure, by setting the shutter opening and closing timing to a length equivalent to one cycle of the flicker cycle (the cycle corresponding to half the brightness or flicker cycle of the light source) estimated by the processing circuit 12, it is possible to capture an image with brightness that is not dependent on the timing at which the shutter is opened.
[0037] The term "opening and closing a shutter" is defined in the same way for an electronic shutter as for a mechanical shutter, as well as for a mechanical shutter. In the case of an electronic shutter, the term "opening and closing a shutter" in this disclosure may refer to the timing at which light is received at a pixel. In other words, the timing at which the shutter is opened and closed can be said to be the timing at which light is received by a global shutter.
[0038] For example, the processing circuit 12 can calculate a shutter speed that captures an image with brightness that is independent of the timing at which the user releases the shutter, by opening and closing the shutter based on the estimated shutter speed. The shutter control unit 14 can capture an image with uniform in-plane brightness that is independent of the timing at which the shutter is opened, by controlling the time the shutter of the imaging unit 10 is open using the shutter speed calculated by the processing circuit 12.
[0039] That is, the imaging unit 10 can capture multiple frame images by opening and closing the shutter based on the shutter speed calculated and corrected by the processing circuit 12. More specifically, the processing circuit 12 obtains the light emission cycle of the lighting based on the flicker cycle, and calculates a period for opening and closing the shutter at the same timing as this light emission cycle (timing corresponding to half the frequency of the LED in the lighting). Without being limited to this, the processing circuit 12 may calculate a period that is an integer multiple of the light emission cycle of the lighting, as long as the overall brightness within the image plane is not saturated.
[0040] As will be described later, the processing circuit 12 can correct the shutter speed based on the brightness in the image plane acquired by the shutter opening and closing timing based on a preset shutter value and the flicker cycle.
[0041] 4 is a diagram illustrating an example of a flow of shutter speed correction according to an embodiment. For an image captured by the image capture unit 10, the processing circuit 12 performs full detection to obtain the brightness, e.g., luminance value, of each pixel in the captured image.
[0042] The processing circuit 12 calculates the autocorrelation value between the frame images based on the luminance values of the entire image obtained by full-area detection, and estimates the flicker period from the calculated autocorrelation value.
[0043] 5 is a diagram illustrating calculation of correlation values between detection values of frame images according to an embodiment. For example, the processing circuit 12 calculates an autocorrelation value using overall detection values for seven frames, and obtains the frame shift at which the autocorrelation value is maximum as the flicker period. For example, the processing circuit 12 obtains detection values of consecutive frame images, and for a detection sequence x in a certain frame sequence, obtains detection values for a frame sequence shifted by one frame, a frame sequence shifted by two frames, and so on, and obtains an autocorrelation value r based on the following equation:
[0044] where s xy is the covariance of x and y, s x is the standard deviation of x, s y is the standard deviation of y, n is the total number of bivariate data (x, y), x i and y i are the detection values in the x and y detection sequences, respectively, and x-bar and y-bar are the average values of the detection values in the x and y detection sequences, respectively. y indicates a detection value sequence of a frame sequence shifted by m frames from x. m and n can be set appropriately depending on the processing capacity of the processing circuit 12. For example, m = 10 and n = 7 can be used, but are not limited to these.
[0045] The processing circuit 12 estimates the flicker period based on the autocorrelation value shown in equation (1) from the full-surface detection result of the captured image. In the example of Fig. 5, it is possible to determine that the autocorrelation value with the detection value sequence shifted by three frames is the maximum, and these three frames can be estimated as the flicker period.
[0046] Returning to FIG. 4, the processing circuit 12 calculates a corrected shutter value indicating the corrected shutter speed based on the detection value of the frame image captured by the shutter control unit 14 while changing the shutter speed.
[0047] For example, in the case of a limited case such as a fluorescent lamp having a frequency of 100 Hz or 120 Hz, the shutter control unit 14 can estimate the frequency of the light source by setting the imaging FPS (Frames Per Second) to 24, 25, 30, 50, 60, etc. and acquiring estimated values of the flicker cycle at these FPS. For example, if the frequency of the light source is 6 frames at 24 FPS, 3 frames at 30 FPS, and 3 frames at 60 FPS, the frequency of the light source can be estimated to be 100 Hz, and if the frequency of the light source is 5 frames at 25 FPS and 5 frames at 50 FPS, the frequency of the light source can be estimated to be 120 Hz.
[0048] On the other hand, when the light source is an LED or the like, the shutter control unit 14 can estimate a corrected shutter value that depends on the frequency of the light source by capturing an image using the shutter value acquired by the processing circuit 12 .
[0049] FIG. 6 is a flowchart showing an example of a process for calculating a corrected shutter value according to an embodiment.
[0050] The processing circuit 12 estimates the flicker period from the above-mentioned autocorrelation value (S100).
[0051] The processing circuit 12 acquires multiple candidate values for the light source frequency based on the estimated flicker period (S102). The candidate light source frequency values can be calculated, for example, by (imaging FPS) / (flicker period) × N. The imaging FPS indicates the imaging timing based on the currently set shutter timing, and N indicates a natural number, which may be 2 or greater.
[0052] As an example, if the currently set imaging FPS is 100 FPS and the flicker period is estimated to be 2 frames, the processing circuit 12 acquires 100 Hz, 150 Hz, 200 Hz, 250 Hz, ... as candidate light source frequencies.
[0053] The processing circuit 12 selects one light source frequency from the candidates selected in S102 and selects a shutter speed (shutter value) based on this light source frequency (S104). The shutter speed is, for example, a value indicating the length of time the shutter is open. The processing circuit 12 selects frequencies that have not yet been processed up to S108, starting from the smallest candidate light source frequencies. In the above example, the processing circuit 12 first sets 1 / 100 sec as the shutter speed corresponding to a frequency of 100 Hz.
[0054] The processing circuit 12 acquires multiple frame images based on an FPS appropriately set from the shutter speed, and calculates the flicker intensity between the frame images (S106). Frame intensity is an index that indicates the degree of brightness between images, and is expressed, for example, as the absolute value of the difference between the detection value of the first frame image and the detection value of the second frame image. A higher flicker intensity indicates a greater difference in brightness between the frames, and a lower flicker intensity indicates a smaller difference in brightness between the frames.
[0055] The processing circuit 12 determines whether the flicker intensity is less than the threshold value (S108). If the flicker intensity is less than the threshold value (S108: YES), the set shutter speed is used as the corrected shutter speed, and by capturing an image using this shutter speed under the same environment, an image with the effects of flicker suppressed can be obtained. The imaging unit 10 can capture consecutive frame images at a shutter timing (FPS) within the allowable range of the shutter speed.
[0056] If the flicker intensity is greater than the threshold value (S108: NO), the processing circuit 12 repeats the processing from S104 using the next candidate value for the light source frequency.
[0057] This threshold value can be arbitrarily set as an allowable flicker intensity fluctuation.
[0058] Furthermore, in the process of S108, for example, a process of obtaining an arbitrary number of candidate values may be repeated, and the shutter speed with the smallest flicker intensity obtained in this process may be adopted.
[0059] In this way, the solid-state imaging device 1 can acquire frame images in which the effects of flicker are suppressed by correcting the shutter speed.
[0060] On the other hand, as described above, the solid-state imaging device 1 can also apply a gain to the image. Next, this gain correction will be described.
[0061] 7 is a diagram illustrating an example of a flow of gain correction according to an embodiment. The processing circuit 12 estimates the flicker period in a process similar to that of shutter speed correction. Based on this flicker period, the processing circuit 12 calculates a gain value and multiplies the entire frame image by this gain to obtain an output image.
[0062] The processing circuit 12 can obtain a gain-corrected output image, for example, by multiplying the overall luminance value of each of a plurality of consecutive frame images by the calculated gain.
[0063] For example, the processing circuit 12 sets a gain for improving the brightness of the other frame images based on the frame in which the detection value (brightness of the entire frame image) is the maximum or average value among a plurality of consecutive frame images. For example, the processing circuit 12 calculates the gain by dividing the maximum detection value or the average detection value by the detection value of each frame image, and performs gain correction for each frame image.
[0064] FIG. 8 is a flowchart illustrating an example of a gain correction process according to an embodiment.
[0065] The processing circuit 12 estimates the flicker period using the same process as in the case of correcting the shutter speed (S200).
[0066] The processing circuit 12 acquires detection results for a plurality of frame images acquired in a flicker cycle, with the number of unit frames being the number of frame images (S202). The plurality of frame images may be consecutive frames. The processing circuit 12 performs gain correction for each of the number of unit frame images that can be acquired from the flicker cycle.
[0067] The processing circuit 12 calculates a gain for each of the plurality of frame images of the unit frame number (S204). The processing circuit 12 calculates the gain based on the detection results for each of the plurality of frame images of the unit frame number. The processing circuit 12 calculates the gain based on the brightness of the consecutive frame images of the unit frame number.
[0068] As a non-limiting example, the processing circuit 12 can calculate the gain based on the detection value of the frame image having the largest detection value among the unit number of consecutive frame images, i.e., the brightest brightness within the image plane, as a reference. As another non-limiting example, the processing circuit 12 can calculate the gain based on the average value of the detection values in the unit number of consecutive frame images.
[0069] The processing circuit 12 performs gain correction for the frame images by multiplying each frame image by the gain obtained based on that frame image (S206). As a result, the solid-state imaging device 1 can acquire multiple frame images in which the brightness has been corrected to be uniform for each flicker cycle. Because the maximum or average detection value for each flicker cycle is approximately the same, it is possible to uniformly correct the brightness of all multiple frame images captured under the same environment.
[0070] In this way, the solid-state imaging device 1 can obtain frame images in which the influence of flicker is suppressed by performing correction using the gain.
[0071] The above describes shutter speed correction and gain correction. Shutter speed correction can increase the S / N ratio for each frame image compared to gain correction. On the other hand, gain correction can increase dynamic resolution compared to shutter speed correction. Therefore, the solid-state imaging device 1 can suppress flicker by utilizing the advantages of each of these corrections.
[0072] 9 is a diagram showing an example of a process for branching between the shutter correction and the gain correction based on a condition. As shown in FIG. 9, the solid-state imaging device 1 may determine whether to perform shutter speed correction or gain correction based on a condition, and branch the process accordingly.
[0073] This condition can also be determined in advance by the user. For example, the user can set whether to correct the shutter speed or the gain via the input interface of the solid-state imaging device 1, and then capture an image, allowing the solid-state imaging device 1 to perform the correction according to the setting.
[0074] Furthermore, the solid-state imaging device 1 can automatically switch the correction depending on the imaging situation. For example, as shown in Fig. 9, when capturing a still image, a correction can be made to a shutter speed that provides a high S / N ratio for each image, and when capturing a moving image, a correction can be made to a gain that provides a high dynamic resolution.
[0075] 10 is a flowchart showing the flow of processing in an example solid-state imaging device. The solid-state imaging device 1 can determine whether to perform shutter speed correction or gain correction based on certain conditions, and execute correction according to the determination result.
[0076] As described above, the solid-state imaging device 1 can change the correction process depending on whether it is capturing a still image or a moving image (S10).
[0077] When capturing a still image (S10: YES), the solid-state imaging device 1 corrects the shutter speed (S12). The shutter speed correction is a process according to, for example, FIGS.
[0078] When capturing a moving image (S10: NO), the solid-state imaging device 1 performs gain correction (S14). The gain correction is a process according to, for example, FIGS.
[0079] The condition of S10 is not limited to that shown in FIG. 10, and as described above, it may be, for example, specified by the user, or, as another non-limiting example, the condition may be whether or not there is a moving object in the image based on optical flow or the like.
[0080] As described above, according to this embodiment, the solid-state imaging device 1 can estimate the period of flicker that may occur within the image plane between multiple frames and perform appropriate correction based on the estimated flicker period. This correction may be correction of the shutter speed or correction of the gain.
[0081] Although the operations are collectively shown as the processing circuit 12, for example, the operations described in the processing circuit 12 in Figures 5 and 7 may be implemented by separate circuits. For example, at least some of the operations described above as the operations of the processing circuit 12 may be implemented by an ASIC (Application Specific Integrated Circuit) or other digital or analog circuits.
[0082] As another example, at least some of the operations described as the operations of the processing circuit 12 may be executed by a general-purpose processor. These operations may be implemented in a form in which software-based information processing is specifically realized using hardware resources. When realizing information processing by software, a program or executable file related to the software may be stored in a memory unit (memory circuit) of the solid-state imaging device 1, and the general-purpose processor may realize the program by referencing the program stored in the memory unit.
[0083] It is possible to determine whether the processing according to the above-described embodiment is being performed by, for example, checking how the shutter speed changes when searching for a shutter speed that can correct flicker, and how the gain value that corrects flicker changes.
[0084] In addition, it is possible to substitute for this by analyzing changes in shutter speed from changes in dynamic resolution / exposure of continuous image data, and changes in gain value from changes in S / N. Gain values can also be obtained from metadata output from the camera.
[0085] For example, it is possible to obtain a change in the gain value by checking the gain value (ISO sensitivity) among the metadata attached to the image output from the camera. After obtaining the flicker cycle of the present disclosure, if the gain value of another camera changes periodically with this flicker cycle, it can be assumed that the other camera uses an embodiment of the present disclosure.
[0086] Second Embodiment In the above-described embodiment, an example of correcting the shutter speed has been described, but it is also possible to correct not only the shutter speed but also the shutter timing. This shutter timing correction can be used in combination with the gain correction process described above, or can be used in combination with shutter speed correction that does not perform shutter timing correction as long as no contradiction occurs.
[0087] 11 is a diagram illustrating an example of a process for setting shutter timing correction according to an embodiment. After estimating the flicker period, the processing circuit 12 can estimate the timing of a bright frame (hereinafter referred to as a bright frame). A bright frame can be, for example, a frame whose brightness is at or near the maximum value, or a frame that is brighter overall than the preceding and following frames.
[0088] For example, after estimating the flicker cycle, the processing circuit 12 extracts a bright frame at a certain timing and then estimates the next bright frame based on the estimated flicker cycle. The processing circuit 12 estimates the flicker cycle in the same manner as in the above-described embodiment, and detects bright frames based on the results of full detection.
[0089] For example, the processing circuit 12 estimates that the flicker period is three frames, and at a certain frame F t is determined to be a bright frame, the next bright frame is frame F three frames later. t+3 In this process, the processing circuit 12 may use the flicker intensity calculated above, but this is not an essential element.
[0090] The processing circuit 12 can correct the shutter timing based on the estimated bright frame timing. For example, the processing circuit 12 can set the shutter opening timing to coincide with the bright frame timing. The processing circuit 12 can also adjust the imaging frame rate to match the bright frame timing.
[0091] Fig. 12 is a diagram showing an example of shutter timing correction according to an embodiment. The meanings of the diagonal lines in the drawing are basically the same as those in Fig. 3. The shutter is controlled so as to include a bright frame estimated by the processing circuit 12.
[0092] The processing circuit 12 can determine the imaging frame rate based on the candidate light source frequency value obtained by the same process as in the above-described embodiment. For example, when the candidate light source frequency is 100 Hz, the processing circuit 12 can set the imaging frame rate as (light source frequency) / N (N: integer), such as 100 fps, 50 fps, or 33.3 fps.
[0093] The processing circuit 12 sets the shutter timing based on the captured frame so that it includes at least the maximum brightness of the light source. The shutter timing processed in this way enables the image capture unit 10 to capture an image that includes the bright cycle of flicker, as shown in Figure 12.
[0094] 13 is a flowchart showing an example of the shutter timing correction process according to an embodiment. The processing circuit 12 executes the same processes as the shutter speed correction described above up to the process of acquiring light source frequency candidates (S102).
[0095] The processing circuit 12 estimates the timing of the bright frame (S110). As described above, the processing circuit 12 estimates the timing of the bright frame based on the acquired flicker period, the light source frequency candidates, and the result of full detection.
[0096] After estimating the timing of the bright frame, the processing circuit 12 sets the shutter timing (S112). Based on the estimated timing of the bright frame, the processing circuit 12 sets the shutter timing so as to include the bright frame, and can execute control of the imaging unit 10.
[0097] The processing circuit 12 can eliminate or reduce flicker by, for example, setting the shutter value to match the light source frequency (or a submultiple thereof). The processing circuit 12 can reset the initial value of the shutter value to be equal to the light source frequency.
[0098] The processing circuit 12 may or may not perform the process of S108.
[0099] As another example, the processing circuit 12 can calculate the inter-surface flicker period from the image acquired by the imaging unit 10 after performing shutter timing correction, determine whether this inter-surface flicker period is 1, determine the accuracy of the controlled shutter timing, and determine whether to re-calculate the correction value for shutter timing correction.
[0100] 12 shows a configuration in which there is only one brightness peak related to the light source frequency during exposure, but this is not limiting. For example, it is also possible to set the timing at which the shutter is opened so that there are multiple brightness peaks during exposure.
[0101] As described above, the shutter timing correction according to this embodiment does not correct the gain value, so it is possible to solve the problem of amplifying noise. Furthermore, since the timing is corrected by synchronizing the imaging frame rate with the light source frequency, there are no restrictions on the exposure time.
[0102] Furthermore, because the light source frequency can be searched for in real time, it is also possible to suppress flicker from LED light sources, etc., whose light source frequency is not uniquely determined. Since it is possible to perform correction specifically for fluorescent lights as well as LED light sources, and it is also possible to handle both, it is possible to perform appropriate flicker correction according to the scene.
[0103] 1 can be mounted on devices such as still cameras, video cameras, smartphones, tablet terminals, vehicles, drones, and other mobile objects. The solid-state imaging device 1 can receive external requests via various interfaces and output acquired information to the outside.
[0104] The shutter control unit 14 can use a register provided in the solid-state imaging device 1. The shutter control unit 14 can acquire a request for a flicker correction method in response to an external request. For example, the shutter control unit 14 can acquire a signal indicating whether or not to perform flicker correction in response to an external request via an interface.
[0105] The shutter control unit 14 can acquire and store requests for flicker correction, such as fluorescent lamp-specific flicker correction and fluorescent lamp / LED compatible flicker correction. By reading the value of this register as part of signal processing, the processing circuit 12 can appropriately select and implement control such as branching in Figure 10 or executing the processing in Figure 13.
[0106] According to the correction method of the present disclosure, for example, a change in the frame rate occurs at the timing when flicker correction is started, and flicker correction is started. Another advantage is that a sensor dedicated to flicker detection is not required. By using a nonvolatile register, it is possible to automatically load the settings from the previous startup of the solid-state imaging device 1. Even if a volatile register is used, it is also possible to load the settings into the register value from a nonvolatile memory provided in the solid-state imaging device 1 at the startup timing.
[0107] The above-described embodiment may be modified as follows.
[0108] (1) A solid-state imaging device comprising an imaging unit and a processing circuit, wherein the imaging unit acquires a plurality of frame images using a global shutter method based on a set shutter timing, and the processing circuit calculates an autocorrelation value of detection values between different frames in the plurality of frame images, estimates a flicker period for the plurality of consecutive frames acquired at the shutter timing based on the autocorrelation value, and corrects flicker in the plurality of frame images for each frame image based on the flicker period.
[0109] (2) The solid-state imaging device according to (1), wherein the processing circuit corrects a shutter speed based on the flicker cycle or corrects a gain in the frame image based on the flicker cycle.
[0110] (3) The solid-state imaging device according to (2), wherein the processing circuit selects and executes the shutter speed correction or the gain correction based on a set condition.
[0111] (4) The solid-state imaging device described in (3), wherein the condition indicates whether the frame image is a still image or a moving image, and the processing circuit corrects the shutter speed when the frame image is a still image, and corrects the gain when the frame image is a moving image.
[0112] (5) The solid-state imaging device according to any one of (2) to (4), wherein the imaging unit acquires the plurality of frame images at a timing based on the shutter speed calculated and corrected by the processing circuit.
[0113] (6) The solid-state imaging device described in (5), wherein the processing circuit acquires the light emission cycle of the illumination based on the shutter timing and the flicker cycle, and sets the shutter speed to a timing having the same cycle as the light emission frequency or a cycle that is an integer multiple of the light emission cycle.
[0114] (7) The solid-state imaging device according to any one of (2) to (6), wherein the processing circuit corrects the gain for each of the plurality of frame images using a gain calculated for the entire frame image.
[0115] (8) The solid-state imaging device described in (7), wherein the processing circuit acquires the overall brightness of each of the plurality of frame images acquired at the shutter timing, and calculates the gain for each of the plurality of frame images based on the brightness in the plurality of frame images.
[0116] (9) The solid-state imaging device according to (8), wherein the processing circuit calculates the gain for each of the plurality of frame images based on a maximum value of the brightness in the plurality of frame images.
[0117] (10) The solid-state imaging device according to (8), wherein the processing circuit calculates the gain for each of the plurality of frame images based on an average value of the brightness in the plurality of frame images.
[0118] (11) The solid-state imaging device according to any one of (8) to (10), wherein the processing circuit calculates the number of unit frames for calculating the gain based on the flicker period.
[0119] (12) The solid-state imaging device according to (11), wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on the brightness.
[0120] (13) The solid-state imaging device according to (12), wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on the maximum value of brightness.
[0121] (14) The solid-state imaging device according to (12), wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on an average value of the brightness.
[0122] (15) A solid-state imaging device described in any one of (1) to (14), wherein the processing circuit: obtains the illumination light emission cycle based on the flicker cycle; obtains the overall brightness of each of the plurality of frame images acquired at the shutter timing; and sets the shutter timing based on a timing having the same cycle as the light emission cycle or a cycle that is an integer multiple of the light emission cycle, and a timing that includes the maximum value of the brightness.
[0123] (16) The solid-state imaging device described in (15), wherein the processing circuit obtains the timing at which the next brightness will be maximum compared to the previous and next frames from the timing at which the brightness is maximum compared to the previous and next frames and the light emission cycle, and sets the shutter timing based on the obtained timing.
[0124] The aspects of the present disclosure are not limited to the above-described embodiments and include various conceivable modifications, and the effects of the present disclosure are not limited to the above-described contents. The components in each embodiment may be appropriately combined and applied. In other words, various additions, modifications, and partial deletions are possible within the scope of the conceptual idea and intent of the present disclosure, which is derived from the content defined in the claims and their equivalents.
[0125] 1: solid-state imaging device, 10: imaging section, 12: processing circuit, 14: shutter control section, 16: output section
Claims
1. A solid-state imaging device comprising an imaging unit and a processing circuit, wherein the imaging unit acquires a plurality of frame images using a global shutter method based on a set shutter timing, and the processing circuit calculates an autocorrelation value of detection values between different frames in the plurality of frame images, estimates a flicker period for the plurality of consecutive frames acquired at the shutter timing based on the autocorrelation value, and corrects flicker in the plurality of frame images for each frame image based on the flicker period.
2. The solid-state imaging device according to claim 1, wherein the processing circuit corrects a shutter speed based on the flicker cycle, or corrects a gain in the frame image based on the flicker cycle.
3. The solid-state imaging device according to claim 2, wherein the processing circuit selects and executes the shutter speed correction or the gain correction based on set conditions.
4. The solid-state imaging device of claim 3, wherein the condition indicates whether the frame image is a still image or a moving image, and the processing circuit performs the shutter speed correction when the frame image is a still image, and performs the gain correction when the frame image is a moving image.
5. The solid-state imaging device according to claim 2, wherein the imaging section acquires the plurality of frame images at a timing based on the shutter speed calculated and corrected by the processing circuit.
6. The solid-state imaging device according to claim 5, wherein the processing circuit obtains an illumination light emission period based on the shutter timing and the flicker period, and sets the shutter speed to a timing having the same period as the illumination light emission period or a period that is an integer multiple of the illumination light emission period.
7. The solid-state imaging device according to claim 2, wherein the processing circuit performs gain correction for each of the plurality of frame images using a gain calculated for the entire frame image.
8. The solid-state imaging device of claim 7, wherein the processing circuit acquires an overall brightness of each of the plurality of frame images acquired at the shutter timing, and calculates the gain for the plurality of frame images based on the brightness in the plurality of frame images.
9. The solid-state imaging device according to claim 8, wherein the processing circuit calculates the gain for each of the plurality of frame images based on a maximum brightness value in the plurality of frame images.
10. The solid-state imaging device according to claim 8, wherein the processing circuit calculates the gain for each of the plurality of frame images based on an average brightness value in the plurality of frame images.
11. The solid-state imaging device according to claim 8, wherein the processing circuit calculates the number of unit frames for calculating the gain based on the flicker period.
12. The solid-state imaging device according to claim 11, wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on the brightness.
13. The solid-state imaging device according to claim 12, wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on a maximum brightness value.
14. The solid-state imaging device according to claim 12, wherein the processing circuit calculates the gain for the plurality of frame images for each of the unit frames based on an average brightness value.
15. The solid-state imaging device of claim 1, wherein the processing circuit: obtains an illumination light emission cycle based on the flicker cycle; obtains an overall brightness of each of the plurality of frame images acquired at the shutter timing; and sets the shutter timing based on a timing having the same cycle as the light emission cycle or a cycle that is an integer multiple of the light emission cycle, and a timing including the maximum value of the brightness.
16. The solid-state imaging device according to claim 15, wherein the processing circuit obtains the timing at which the next brightness will be maximum compared to the previous and next frames from the timing at which the brightness is maximum compared to the previous and next frames and the light emission cycle, and sets the shutter timing based on the obtained timing.
Citation Information
Patent Citations
Flicker suppressor and high-speed camera
JP2013187603A
Imaging apparatus, flicker correction method and program
JP2015198292A
Imaging device, imaging method, and program
WO2020158069A1
