Image pickup apparatus, image pickup method, and storage medium

By using a generation unit and a correction unit to process signals and characteristic information in an avalanche photodiode camera device, the problem of false counting caused by avalanche luminescence is solved and the image quality is improved.

CN118555495APending Publication Date: 2024-08-27CANON KK
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410202754.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-24
Filing Date
2024-02-23
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

When avalanche luminescence occurs in existing avalanche photodiode camera devices, erroneous counting of adjacent pixels causes image quality degradation.

Method used

Using a camera device including an avalanche photodiode, through the generation unit, the first correction unit and the second correction unit, an image is generated based on the signal and characteristic information obtained by the photoelectric conversion element and correction processing is performed to suppress error counting and improve image quality.

Benefits of technology

It effectively suppresses erroneous counting caused by avalanche luminescence, improves image quality, and reduces the impact of crosstalk between adjacent pixels.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555495A
    Figure CN118555495A
Patent Text Reader

Abstract

The invention relates to an imaging apparatus, an imaging method, and a storage medium. The image pickup apparatus includes: a photoelectric conversion element including an avalanche photodiode; a generation unit configured to generate an image based on the signal acquired by the photoelectric conversion element; a first correction unit configured to correct the image based on first characteristic information related to crosstalk between pixels of the photoelectric conversion element; and a second correction unit configured to perform pixel interpolation of the image based on second characteristic information for determining a crosstalk region of a specific pixel with respect to an adjacent pixel and the image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an imaging device, an imaging method and a storage medium including an avalanche photodiode. Background Art

[0002] For example, as described in Document 1 (I. Rech et al., “Optical crosstalk in single photonavalanche diode arrays: a new complete model,” OpEx 16(12), 2008), a camera device is proposed that digitally counts the number of photons reaching an avalanche photodiode (APD) and outputs the count value from a pixel as a photoelectrically converted digital signal.

[0003] However, avalanche emission is known to occur in the imaging device including the APD described in Document 1. When avalanche emission occurs, the generated secondary electrons are input to adjacent pixels, and the count value of the adjacent pixel value increases, which causes a problem of erroneous counting.

[0004] Therefore, an object of the present invention is to provide an imaging device including an avalanche photodiode and capable of suppressing degradation of image quality. Summary of the invention

[0005] According to one aspect of the present invention, a camera device is a camera device, comprising: a photoelectric conversion element, which includes an avalanche photodiode; at least one processor; and a memory, which is coupled to the at least one processor, the memory storing instructions, which, when executed by the at least one processor, causes the at least one processor to: use a generation unit to generate an image based on a signal acquired by the photoelectric conversion element; use a first correction unit to correct the image based on first characteristic information related to crosstalk between pixels of the photoelectric conversion element; and use a second correction unit to perform pixel interpolation of the image based on second characteristic information used to determine the crosstalk area of ​​a specific pixel to adjacent pixels, and the image.

[0006] Further features of the present invention will become apparent from the following description of embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a diagram showing an example of the structure of a photoelectric conversion element according to the first embodiment.

[0008] Figure 2 is a diagram showing an example of the structure of a sensor substrate according to the first embodiment.

[0009] Figure 3 is a diagram showing an example of the structure of a circuit substrate according to the first embodiment.

[0010] Figure 4 is a diagram showing an example of the structure of an equivalent circuit of a signal processing circuit corresponding to a pixel of a photoelectric conversion element according to the first embodiment.

[0011] Figure 5 is a diagram schematically showing the relationship between the operation and output signals of the APD 201 according to the first embodiment.

[0012] Figure 6 is a functional block diagram showing an example of the configuration of the image pickup apparatus according to the first embodiment.

[0013] Figure 7 is a diagram showing an example of probability distribution that an error count will occur between adjacent pixels of the photoelectric conversion element 100 as first array data.

[0014] Figure 8 is a diagram showing an example of second array data in which a threshold value for determining whether defect correction processing is necessary for adjacent pixels according to the state of a pixel of interest is stored.

[0015] Fig. 9 is a flowchart showing an example of an image correction method in the image pickup apparatus according to the first embodiment.

[0016] Fig.10 is a diagram illustrating a first correction process according to the first embodiment.

[0017] Fig.11 2 is a diagram illustrating the second correction process according to the first embodiment.

[0018] Fig.12 It is a diagram showing relative coordinates of pixels in an imaging device.

[0019] Fig.13 is a diagram showing an example of a defect level determination threshold value.

[0020] Fig.14 is a diagram showing an example of a Bayer array of color filters in an image pickup device.

[0021] Fig.15 is a flowchart showing an example of an image correction method in the image pickup apparatus according to the second embodiment.

[0022] Fig.16 2 is a diagram illustrating a second correction process according to the second embodiment.

[0023] FIG. 17A to FIG. 17C is a diagram showing an example in which an error of a specific pixel is detected.

[0024] Fig.18 is a flowchart showing an example of the defect extraction process of step S505 according to the third embodiment.

[0025] Fig.19A is a diagram showing an example of pixel value distribution in a case where the pixel value of interest is 4000 and a defect occurs in a pixel portion, and Fig.19B is a diagram showing an example of pixel value distribution in a case where a defect occurs in a portion other than a pixel portion.

[0026] Fig. 20 is a flowchart showing an example of the operation according to the fourth embodiment.

[0027] Fig.21 : is a diagram showing an example of a threshold value in a case where the threshold value is different for each gain scale factor according to the sixth embodiment. DETAILED DESCRIPTION

[0028] Hereinafter, with reference to the accompanying drawings, advantageous modes of the present invention will be explained using embodiments. In the respective drawings, the same reference numerals are applied to the same members or elements, and repeated explanations will be omitted or simplified.

[0029] <First Embodiment>

[0030] Figure 1 1 is a diagram showing an example of the structure of the photoelectric conversion element according to the first embodiment. Figure 1 As shown, the photoelectric conversion element 100 according to the first embodiment is a photoelectric conversion element having a so-called stacked structure in which two semiconductor substrates of a sensor substrate 11 and a circuit substrate 21 are stacked and electrically connected.

[0031] However, the photoelectric conversion element 100 may have a so-called non-stacked structure in which the elements included in the sensor substrate 11 and the elements included in the circuit substrate 21 are arranged in a common substrate layer. The sensor substrate 11 includes a pixel region 12. The circuit substrate 21 includes a circuit region 22 that processes a signal detected in the pixel region 12.

[0032] Figure 2 1 is a diagram showing an example of the structure of a sensor substrate according to the first embodiment, in which a pixel region 12 of a sensor substrate 11 includes a plurality of pixels 101 arranged in a two-dimensional shape to form a plurality of rows and a plurality of columns. Each pixel 101 includes a photoelectric conversion element 102 including an avalanche photodiode (hereinafter referred to as APD). The number of rows and columns in the pixel array constituting the pixel region 12 is not limited to Figure 2 Example shown.

[0033] Figure 3 1 is a diagram showing an example of the structure of a circuit substrate according to the first embodiment. The circuit substrate 21 includes: a signal processing circuit 103 for Figure 2 The photoelectric conversion element 102 shown processes the charges obtained by photoelectric conversion; a reading circuit 112; a control pulse generating unit 115; a horizontal scanning circuit unit 111; a vertical signal line 113; and a vertical scanning circuit unit 110.

[0034] The vertical scanning circuit unit 110 is supplied with a control pulse from the control pulse generating unit 115, and sequentially supplies the control pulse to a plurality of pixels of each row. For the vertical scanning circuit unit 110, a logic circuit such as a shift register or an address recorder is used.

[0035] A signal output from the photoelectric conversion element 102 of each pixel is processed by a corresponding signal processing circuit 103. The signal processing circuit 103 includes a counter or a memory, and a digital value is stored in the memory.

[0036] The horizontal scanning circuit unit 111 supplies a control pulse for sequentially selecting a column to the signal processing circuit 103 to read a signal from a memory of a pixel storing a digital signal. The signal processing circuit 103 of the pixel in the row selected by the vertical scanning circuit unit 110 outputs the signal of the selected column to the vertical signal line 113. The signal output to the vertical signal line 113 is output to the outside of the photoelectric conversion element 100 via the output circuit 114.

[0037] like Figure 2 and Figure 3 As shown, a plurality of signal processing circuits 103 are arranged below the plurality of pixel regions 12. A vertical scanning circuit unit 110, a horizontal scanning circuit unit 111, a reading circuit 112, an output circuit 114, and a control pulse generating unit 115 are arranged below the region between the end of the sensor substrate 11 and the pixel region 12.

[0038] That is, the sensor substrate 11 includes a pixel region 12 and a non-pixel region arranged around the pixel region 12. A vertical scanning circuit unit 110, a horizontal scanning circuit unit 111, a reading circuit 112, an output circuit 114, and a control pulse generating unit 115 are arranged below the non-pixel region.

[0039] The arrangement of the vertical signal line 113 and the arrangement of the reading circuit 112 and the output circuit 114 are not limited to Figure 3 For example, the vertical signal line 113 may be arranged to extend in the row direction, and the reading circuit 112 may be arranged before the vertical signal line 113 extends.

[0040] The function of the signal processing circuit does not need to be provided for each photoelectric conversion element, and a single signal processing circuit may be shared by a plurality of photoelectric conversion elements and configured to sequentially process signals.

[0041] Figure 4 1 is a diagram showing an example of an equivalent circuit of a signal processing circuit corresponding to a pixel of a photoelectric conversion element according to the first embodiment, in which an equivalent circuit of a pixel 101 and a signal processing circuit 103 corresponding to the pixel 101 are shown.

[0042] The photoelectric conversion element 100 includes an avalanche photodiode (APD) 201, and the APD 201 generates a charge pair corresponding to incident light by photoelectric conversion. An anode of the APD 201 is connected to a power supply line for supplying a driving voltage VL.

[0043] The cathode of the APD 201 is connected to a power supply line for supplying a driving voltage VH higher than the driving voltage VL via a quench element 202. The anode and cathode of the APD 201 are supplied with a reverse bias voltage VR for allowing the APD 201 to perform an avalanche multiplication operation. Here, the reverse bias voltage VR is calculated by Expression 1.

[0044] VR=VL-VH ... (Expression 1)

[0045] By supplying this reverse bias voltage VR, the charges generated by the incident light cause avalanche multiplication, and an avalanche current is generated.

[0046] When a reverse bias voltage VR is supplied, there is a Geiger mode and a linear mode. In the Geiger mode, the voltage difference between the anode and the cathode is greater than the breakdown voltage, and in the linear mode, the voltage difference between the anode and the cathode is a voltage difference close to the breakdown voltage or equal to or less than the breakdown voltage. An APD operating in the Geiger mode is called a SPAD. In the SPAD, the driving voltage VL is, for example, -30V, and the driving voltage VH is, for example, 1V.

[0047] The quenching element 202 is connected to a power supply line for supplying a driving voltage VH and a cathode of the APD 201. The quenching element 202 functions as a load circuit (quenching circuit) when multiplying a signal by avalanche multiplication, and performs a quenching operation of suppressing a voltage supplied to the APD 201 to suppress avalanche multiplication.

[0048] The quenching element 202 performs a recharging operation of returning the voltage supplied to the APD 201 to the driving voltage VH by flowing a current corresponding to a voltage drop caused by the quenching operation.

[0049] The signal processing circuit 103 includes a waveform shaping circuit 210, a counter circuit 211, and a selection circuit 212. Figure 4 In the embodiment, the signal processing circuit 103 includes the waveform shaping circuit 210 , the counter circuit 211 , and the selection circuit 212 , but the signal processing circuit 103 only has to include at least one of the waveform shaping circuit 210 , the counter circuit 211 , and the selection circuit 212 .

[0050] The waveform shaping circuit 210 shapes the voltage change of the cathode of the APD 201 obtained when a photon is detected and outputs a pulse signal. For example, an inverter circuit is used as the waveform shaping circuit 210. Figure 4 In the example, one inverter is used as the waveform shaping circuit 210, but a circuit in which a plurality of inverters are connected in series may be used, or another circuit having a waveform shaping effect may be used.

[0051] The counter circuit 211 counts the pulse signal output from the waveform shaping circuit 210 and stores the count value. When the control pulse RES is supplied via the driving line 213, the count value stored in the counter circuit 211 is reset.

[0052] The selection circuit 212 is connected via Figure 4 The driving line 214 ( Figure 3 (not shown) from Figure 3 The vertical scanning circuit unit 110 in the vertical scanning circuit 110 is supplied with a control pulse SEL. The selection circuit 212 includes, for example, a buffer circuit for outputting a signal, and selectively outputs an output signal from the counter circuit 211 of the corresponding pixel to the vertical signal line 113 in response to the control pulse SEL.

[0053] exist Figure 4 In the embodiment, the output signal is switched by the selection circuit 212, but a switch such as a transistor may be provided to switch the electrical connection between the quenching element 202 and the APD 201 or between the photoelectric conversion element 102 and the signal processing circuit 103. Similarly, the supply of the driving voltage VH or the driving voltage VL to the photoelectric conversion element 102 may be electrically switched using a switch such as a transistor.

[0054] Figure 5 is a diagram schematically showing the relationship between the operation and output signal of the APD 201 according to the first embodiment, wherein the input side of the waveform shaping circuit 210 is defined as a node A and the output side thereof is defined as a node B. From time t0 to time t1, a potential difference of VH-VL is applied to the APD 201.

[0055] When a photon is incident on the APD 201 at time t1 , avalanche multiplication occurs in the APD 201 , an avalanche multiplication current flows in the quenching element 202 , and the voltage of the node A drops.

[0056] When the voltage drop increases and the potential difference applied to the APD 201 decreases, the avalanche multiplication of the APD 201 stops at time t2, and the voltage level of the node A does not drop by a predetermined value or more.

[0057] After that, between time t2 and time t3, a current for supplementing the voltage drop from the driving voltage VL flows in node A, and at time t3, node A is statically determined to be at the original potential level. At this time, the portion of the output waveform in node A that is equal to or less than the predetermined judgment threshold is shaped by the waveform shaping circuit 210, and a pulse signal is output from node B.

[0058] Since the breakdown voltage of the APD 201 has temperature dependency, the reverse bias voltage VR is preferably set in cooperation with the temperature. Therefore, it is preferable to sense the temperature of the photoelectric conversion element 100 and correct the reverse bias voltage VR based on the temperature dependency of the breakdown voltage.

[0059] Figure 6 300 is a functional block diagram showing an example of the structure of the imaging device according to the first embodiment. The imaging device 300 is implemented by causing the CPU 308 as a computer included in the imaging device 300 to execute a computer program stored in the memory 309 as a recording medium. Figure 6 A portion of the functional blocks shown.

[0060] However, part or all of the functional blocks may be realized by hardware. A dedicated circuit (ASIC) or a processor (reconfigurable processor or DSP) or the like may be used as the hardware. Figure 6 The functional blocks shown may not be built in the same housing, and may be composed of different devices connected to each other via signal lines.

[0061] The camera device 300 includes the above reference Figures 1 to 5 The photoelectric conversion element 100, the imaging optical system 301, and the signal processing unit 302 process the image signal acquired by the photoelectric conversion element 100. The photoelectric conversion element 100 includes an avalanche diode for photoelectrically converting an optical image. In the first embodiment, the photoelectric conversion element 100 is a so-called monochrome sensor in which each pixel does not include a color filter.

[0062] The signal processing unit 302 includes: an image generating unit 303 for generating a first image from an image signal acquired by the photoelectric conversion element; a first correction processing unit 304; a second correction processing unit 305; a CPU 308 as a computer; and a memory 309.

[0063] The signal processing unit 302 includes a first storage unit 306, which is a storage unit that stores first array data related to first characteristic information of the photoelectric conversion element 100. The signal processing unit 302 includes a second storage unit 307, which is a storage unit that stores second array data related to second characteristic information of the photoelectric conversion element 100. The second characteristic information is characteristic information for determining a crosstalk area of ​​a specific pixel (defective pixel) to an adjacent pixel.

[0064] The first characteristic information is information on crosstalk characteristics between pixels due to the avalanche emission phenomenon of the photoelectric conversion element 100. The first storage unit 306 can download the first characteristic information (first array data, etc.) from an external server, etc. and temporarily store the first characteristic information.

[0065] On the other hand, the second characteristic information is data set based on the first characteristic information by simplifying the first characteristic information. The second storage unit 307 can download the second characteristic information (second array data, etc.) from an external server, etc. and temporarily store the second characteristic information.

[0066] At least two of the first storage unit 306, the second storage unit 307 and the memory 309 may be integrally configured. The CPU 308 functions as a control unit that overall controls operations of the constituent parts of the imaging device 300 based on a computer program stored in the memory 309 as a storage medium.

[0067] The first correction processing unit 304 corrects the linearity of the first image by performing correction of the error count based on the first characteristic information (first array data, etc.) of the photoelectric conversion element 100 (first correction processing).

[0068] Figure 7 is a diagram showing an example of occurrence probability distribution of error counts between adjacent pixels of the photoelectric conversion element 100 as first array data, in which an example of the first array data corresponding to the first characteristic information of the photoelectric conversion element 100 is shown. Figure 7 The first array data (first characteristic information) shown is stored in the first storage unit 306 , and correction by the first correction processing unit 304 is performed using the first array data.

[0069] The first array data as the first characteristic information may be stored in the first storage unit 306 or the like as a table or a function.

[0070] On the other hand, the correction target in the second correction processing unit 305 is a pixel having a white defect shape due to charge crosstalk caused by the luminescence defect of the defective pixel, and defect correction processing is performed on the pixel whose white defect level (correction level) generated by the crosstalk is equal to or greater than a predetermined value.

[0071] Figure 8 : is a diagram showing an example of second array data storing a threshold value for determining whether defect correction processing is required for adjacent pixels according to the state of a pixel of interest, wherein an example of second array data set based on first characteristic information of the photoelectric conversion element 100 is shown. Figure 8 The second array data (second characteristic information) shown is stored in the second storage unit 307 , and correction by the second correction processing unit 305 is performed using the second array data.

[0072] The second correction processing unit 305 performs a second correction process (defect correction process) for performing pixel interpolation of a signal of a defective pixel using information such as information of the first image and second characteristic information (second array data, etc.) of the photoelectric conversion element 100. The second characteristic information related to the crosstalk characteristics between pixels caused by the avalanche luminescence phenomenon of the photoelectric conversion element may be array information or a function.

[0073] The second array data or the like as the second characteristic information may also be stored in the second storage unit 307 or the like as a table or a function.

[0074] As described in Document 1, in the case where a pixel is an avalanche photodiode, erroneous counting between adjacent pixels (that is, crosstalk between adjacent pixels (hereinafter referred to as light emission crosstalk)) occurs due to the avalanche emission phenomenon.

[0075] The influence of photons incident on one pixel on adjacent pixels is determined as the probability that light crosstalk will occur. Since the probability of light crosstalk is determined according to the pixel configuration of the photoelectric conversion element, the probability of light crosstalk can be predicted based on the pixel configuration of the photoelectric conversion element.

[0076] Therefore, with the image pickup device 300 according to the first embodiment, it is possible to improve image quality by performing signal processing that suppresses the influence of erroneous counts using information on the probability of occurrence of light emission crosstalk.

[0077] Fig. 9300 is a flowchart showing an example of an image correction method of the image pickup device according to the first embodiment. The image pickup device 300 is periodically performed by causing the CPU 308 as a computer to execute a computer program stored in the memory 309. Fig. 9 The operation of the steps of the method for controlling the imaging device is shown in the flowchart.

[0078] First, in step S401 (image generation step), the image generation unit 303 generates a first image based on a signal acquired by the photoelectric conversion element 100. Thereafter, the processing flow branches to a first correction process and a second correction process.

[0079] First, the first correction processing will be described. In step S402, the first correction processing unit 304 performs a convolution operation for convolving the third array data prepared based on the first array data on the first image generated by the image generation unit 303, and generates a second image.

[0080] Since the probability of occurrence of light emission crosstalk can be predicted as described above, by performing a convolution operation on the second image, the second image becomes a signal indicating the number of error counts occurring due to the light emission crosstalk.

[0081] The first characteristic information (first array data, etc.) may be acquired from the first storage unit 306 or an external server, etc. The third array data may be stored as a table or a function in the first storage unit 306, etc. Here, step S402 serves as an acquisition step (acquisition unit) of acquiring the first characteristic information of the photoelectric conversion element.

[0082] Next, the first correction processing unit 304 subtracts the second image from the first image in step S403 , and generates a third image by multiplying the subtraction result by a gain scale factor (gain multiplication factor) for changing the image level to a desired level in step S404 .

[0083] Since the second image is a signal indicating an erroneous count due to light emission crosstalk as described above, the third image is an image obtained by restoring a signal obtained when an erroneous count due to light emission crosstalk does not occur and multiplying the signal by a gain factor.

[0084] Here, step S402 and step S403 serve as a first correction processing step of performing a first correction process for correcting the linearity of the first image using the first characteristic information (first array data).

[0085] Fig.10402 is a diagram showing the first correction process according to the first embodiment, wherein (A) shows the first image, (B) shows the third array data, (C) shows the second image, and (D) shows the third image. The third array data used in step S402 is Figure 7 The data in which the value of a pixel (central pixel) in the first array data is replaced with 0 is shown.

[0086] Here, the third array data can be different from Fig.10 The third array data shown in (B) of FIG. 4 may be based on the first array data. In step S402, instead of the convolution operation, the first image and the third array data may be Fourier transformed, and then the product thereof may be calculated.

[0087] That is, the first correction processing is a processing of subtracting the result of a predetermined operation (such as a convolution operation or Fourier transform and multiplication) using data based on the first characteristic information of the photoelectric conversion element and the first image from the first image.

[0088] Subsequently, the second correction processing will be described. The second correction processing unit 305 corrects the defective pixel. As described above, in the case where the pixel is an avalanche photodiode, the influence of the defective pixel propagates to adjacent pixels due to light emission crosstalk.

[0089] Such a defect is called a cluster defect. The second correction processing unit improves image quality by performing signal processing that suppresses the influence of erroneous counts due to the cluster defect using information on the probability of occurrence of light emission crosstalk.

[0090] First, in step S405 , pixels whose output levels are higher than those of adjacent pixels by a predetermined value or more in the first image generated by the image generation unit 303 are extracted as defective pixels. Fig.11 2 is a diagram illustrating the second correction process according to the first embodiment.

[0091] Fig.11 (A) shows the first image, and (B) shows the extraction result of the defective pixels extracted in step S404. Fig.12 It is a diagram showing relative coordinates of pixels on the imaging device and showing relative relationships between pixels.

[0092] That is, the average adjacent pixel value is calculated based on the pixel values ​​of the adjacent pixels (-1, -1), (0, -1), (1, -1), (-1, 0), (1, 0), (-1, 1), (0, 1) and (1, 1). In the case where the difference obtained by subtracting the pixel value of the adjacent pixel from the pixel value of the pixel of interest (0, 0) is equal to or greater than a predetermined value, the pixel is set as a defective pixel. The difference is set as the defective pixel value. In this way, the adjacent pixels include pixels that are adjacent to the target pixel vertically, horizontally and obliquely.

[0093] In step S406, the defect level is determined. In determining the defect level, the gain-multiplied defective pixel value is calculated by multiplying the defective pixel value by the same gain scale factor as used in step S404 of the first correction process.

[0094] Then, determine the gain multiple defect pixel value and Fig.13 Which defect level judgment threshold value among the multiple defect level judgment threshold values ​​shown on the left side of corresponds to. Fig.13 is a diagram showing an example of a defect level judgment threshold at a predetermined gain scale factor.

[0095] In the case where the gain scale factor is equal to or greater than a predetermined value, it is preferred that the defect level judgment threshold is increased as the gain scale factor increases to avoid excessive expansion of the defect correction target range.

[0096] In step S407, the crosstalk defect is estimated. That is, the defect level judgment threshold corresponding to the defect level judged in step S406 is compared with Figure 8 The elements of the second array data shown are compared, and pixels whose values ​​in the second array data are equal to or less than the defect level judgment threshold corresponding to the defect level are judged as defect correction target pixels. That is, the defect correction target is determined based on the defect level (the corresponding defect level judgment threshold) and the second characteristic information.

[0097] exist Fig.11 In (D), pixels (defect correction target pixels) whose values ​​in the second array data are equal to or less than the defect level judgment threshold value corresponding to, for example, defect level 3 are denoted by the mark x. Pixels whose values ​​in the second array data are equal to or less than the defect level judgment threshold value corresponding to the defect level are also referred to as pixels whose estimated crosstalk values ​​around the interpolation target pixels are equal to or greater than a predetermined first threshold value.

[0098] Then, in step S408, the defect is corrected. Specifically, the pixel value of the defect correction target pixel estimated in step S407 in the pixels of the third image generated in step S404 is interpolated using multiple pixel values ​​around the defect correction target pixel. That is, the defect correction target pixel is estimated based on the second array data, and the pixel value of the third image corresponding to the estimated defect correction target pixel is interpolated using multiple pixel values ​​of adjacent pixels.

[0099] The interpolation process may be performed using the result of applying the median filter to a plurality of pixels other than pixels having values ​​equal to or smaller than the defect level around the interpolation target pixel in the second array data.

[0100] In this way, steps S405 to S408 function as a second correction processing step of performing a second correction process for performing pixel interpolation based on the second characteristic information (second array data) and the information of the first image.

[0101] The kernel size of the median filter only needs to be equal to or larger than 3×3, but since there is a possibility that the influence of a defective pixel will propagate to neighboring pixels, it is preferred that the kernel size be equal to or larger than 5×5.

[0102] The size of the median filter can be changed according to the proportion of pixels whose estimated crosstalk values ​​around the interpolation target pixel are equal to or greater than the first threshold. That is, the kernel size can be set to increase as the proportion of pixels whose values ​​in the second array data are equal to or less than the defect level around the interpolation target pixel increases.

[0103] Therefore, the number of pixels available for correction (pixels whose values ​​in the second array data are larger than the defect level) can be increased and interpolation accuracy can be improved.Instead of the median filter, a bilateral filter or a Gaussian filter or the like can be used.

[0104] The first array data as the first characteristic information may have one dimension or two dimensions as long as it includes two or more data, and as Figure 7 As shown, it is preferably a two-dimensional array data. Considering the symmetry of the crosstalk probability, it is preferred that the matrix includes odd rows and odd columns and is symmetrical vertically and horizontally about the center.

[0105] Since the value of the crosstalk probability increases toward the pixel, the crosstalk matrix has a distribution that includes a peak at the center and changes monotonically toward the periphery. Specifically, when a row or a column of the crosstalk matrix as two-dimensional array data is taken out as one-dimensional data, the one-dimensional data has a distribution that decreases monotonically from the peak at the center toward both data ends.

[0106] That is, the one-dimensional data corresponding to at least one row or column of the two-dimensional array data has a peak at the center. Other one-dimensional data that share the peak of the extracted one-dimensional data and are arranged in a direction intersecting the one-dimensional data have a distribution that decreases monotonically from the peak toward the data end.

[0107] <Second Embodiment>

[0108] The image pickup device according to the second embodiment is different from the image pickup device according to the first embodiment in that the photoelectric conversion element is a so-called color sensor including a plurality of pixels having different spectral characteristics. In the following description, an RGGB Bayer array type color sensor will be exemplified.

[0109] Fig.14 : is a diagram showing an example of a Bayer array of color filters on an image pickup element, in which an RGGB Bayer array type color filter is exemplified in the second embodiment. That is, in the second embodiment, a color filter is provided in front of each pixel of a photoelectric conversion element.

[0110] That is, assuming that one of the R, G and B color filters is arranged in front of each pixel, for example, the color filters are arranged in the order of R, G, R and G in a predetermined row, and the color filters are arranged in the order of G, B, G and B in its adjacent row.

[0111] Fig.15 The image correction method in the image pickup device according to the second embodiment is shown in the flowchart. Fig.15 The following mainly describes the operation of the steps in the flowchart shown in FIG. Fig. 9 The flowchart shown is different.

[0112] In step S501, similar to step S401, the image generation unit 303 generates a first image. Fig. 9 Similarly, the processing flow branches to the first correction processing and the second correction processing. Step S502 (convolution operation), step S503 (subtraction) and step S504 (multiplication) for performing the first correction processing after the branch are the same as Fig. 9 Same as in.

[0113] The probability of light crosstalk is determined according to the structure in the substrate on which the avalanche photodiode is formed, and the influence of the color filter arranged on the substrate can be ignored. Therefore, in the monochrome sensor according to the first embodiment and the color sensor according to the second embodiment, the probability of light crosstalk is the same, and the same correction can be performed in the first correction process.

[0114] On the other hand, since color filters having different spectral characteristics are provided in adjacent pixels, the adjacent pixels and the pixel of interest are generally different in signal level. Therefore, the extraction of defects in step S505 is performed by comparing the signal level of pixels having the same color near the pixel of interest (rather than adjacent pixels). That is, in the second embodiment, pixels having the same color as the target pixel and being adjacent to the target pixel vertically, horizontally, and diagonally are used as adjacent pixels to extract defects.

[0115] exist Fig.14 In the Bayer array color filter shown, R and G are repeated in each row or column, and G and B are repeated in adjacent rows or columns. Fig.12 When (0,0) is the focus pixel, the adjacent pixels of the same color are (-2,-2), (0,-2), (2,-2), (-2,0), (2,0), (-2,2), (0,2), and (2,2).

[0116] Therefore, in step S505 , similarly to step S405 , a defective pixel is extracted by comparing the signal level of the pixel of interest (0, 0) with the signal levels of adjacent pixels of the same color.

[0117] The defect level judgment in step S506 and the crosstalk defect estimation in step S507 are Fig. 9 This is because the crosstalk characteristics between pixels are not affected by the presence or absence of color filters.

[0118] However, the interpolation of defects in step S508 is different from step S408. Specifically, in step S508, interpolation processing is performed for each pixel having different spectral characteristics (that is, using signals from pixels of the same color (spectral characteristics)). Specifically, a median filter can be applied to each pixel having different spectral characteristics using pixels whose values ​​in the third array data near the interpolation target pixel are equal to or less than a predetermined threshold.

[0119] In the Bayer array color sensor, since pixels of the same color (spectral characteristics) are arranged every other pixel in each row and column, the influence of cluster defects on pixels with the same spectral characteristics is smaller than that in a monochrome sensor. Therefore, the kernel size of the median filter can be equal to or greater than 3×3.

[0120] Fig.16 2 is a diagram showing a second correction process according to the second embodiment. Fig.16 As shown, four types of seventh images are generated for the first image, wherein for these seventh images, a median filter is applied to each pixel with different spectral characteristics (for pixels with the same spectral characteristics). Fig.16, Ch1, Ch2, Ch3, and Ch4 represent, for example, pixels of R, G, G, and B.

[0121] Then, a pixel having an output whose difference between the first image and the seventh image is equal to or greater than the second threshold is extracted as a defective pixel, and the difference between the first image and the seventh image is set as the output level of the defective pixel. Fig.16 In , the kernel size of the median filter is 3×3, but the kernel size can be larger. In this way, using the first image, for each pixel with different spectral characteristics, the defective pixel can be extracted by comparing the output of each pixel with the output of the adjacent pixel.

[0122] In the color sensor, the third array data used in the convolution operation of step S502 can be changed according to the color. Similarly, the second array data used in step S507 can be changed according to the color.

[0123] In the color sensor, since there is no difference in crosstalk probability between colors but the signal levels of pixels having different colors change depending on the color of the object, there are colors that may be susceptible to erroneous counts due to crosstalk.

[0124] For example, in the case where the photoelectric conversion element is an RGGB Bayer array type color sensor, the brightness of the B pixel in the general object is the lowest and the brightness of the G pixel is the highest. Therefore, the B pixel may be most susceptible to the error count caused by crosstalk, and the G pixel may be least susceptible to the error count.

[0125] As the size of the third array data increases, the influence of the error count due to crosstalk can be reduced more, but it may be more susceptible to the difference in the probability of light crosstalk caused by manufacturing unevenness. Therefore, it is preferred that the third array data has a minimum size with which the influence of the error count due to crosstalk can be suppressed.

[0126] Therefore, the size of the third array data may be different for pixels with different spectral characteristics. For example, when the photoelectric conversion element is a color sensor using RGB color filters, the size of the third array data of the B pixel used in S502 is preferably larger than the size of the G pixel.

[0127] <Third Embodiment>

[0128] In the first and second embodiments, a defective pixel may be erroneously detected due to a pattern on the object including the pixel of interest and adjacent pixels. FIG. 17A to FIG. 17C is a diagram showing an example in which a defective pixel is erroneously detected.

[0129] Fig.17A : is a diagram showing a monochrome boundary in which the pixel values ​​of the row including the pixel of interest and the row above the row are 0, and the pixel value of the row below the row including the pixel of interest is 4000. Fig. 17B is a diagram showing a monochrome boundary in which the pixel value of the row above the row including the pixel of interest is 0, and the pixel value of the row including the pixel of interest and the row below the row is 4000; and Fig. 17C is a diagram showing a white line pattern in which the pixel value of a row including a pixel of interest is 4000, and the pixel values ​​of other rows are 0.

[0130] The average value of the eight neighboring pixels of the central pixel of interest is Fig.17A 1500 in Fig. 17B 2500 in Fig. 17C is 100. Therefore, the difference with the pixel of interest is Fig.17A 0-1500=-1500 in Fig. 17B In is 4000-2500=1500, and in Fig. 17C In the middle, it is 4000-1000=3000.

[0131] Therefore, when the average value of the eight neighboring pixels of the pixel of interest is used as the reference value and Fig.13 As shown in FIG. 1 , when the defect extraction threshold corresponding to defect level 1 is 1024, Fig. 17B and Fig. 17C The pixel is determined to be a defective pixel and the pixel is corrected. Therefore, the present embodiment provides a structure for avoiding erroneous counting.

[0132] Fig.18 The defect extraction process of step S505 according to the third embodiment is shown in the flowchart. Fig.18 The operations are as shown in the steps of the flowchart.

[0133] When extraction of defects starts in step S601, the maximum value Vmax of 8 adjacent pixels is acquired in step S602. In step S603, the defective pixel value is acquired by subtracting the maximum value Vmax from the pixel value of interest, and extraction of defects is completed in step S604.

[0134] When extracting defects in this process, Fig. 17B and Fig. 17CVmax in the example shown is 4000 and the difference with the focus pixel is 4000-4000=0, so the focus pixel is not judged as a defective pixel. Thus, according to the third embodiment, the first defective pixel value is obtained by subtracting the maximum pixel value among the pixel values ​​of multiple adjacent pixels of the target pixel from the pixel value of the target pixel.

[0135] <Fourth Embodiment>

[0136] In the image pickup apparatus according to the first to third embodiments, for example, white defect-like noise may occur in a reading circuit other than a pixel region. This defect has a high signal level but does not cause crosstalk toward adjacent pixels.

[0137] Fig.19A is a diagram showing an example of pixel value distribution in a case where a pixel value of interest is 4000 and a defect occurs in a pixel region, and Fig.19B is a diagram showing an example of pixel value distribution in a case where a defect occurs in a portion other than a pixel region. Fig.19B When the image shown is corrected according to the first and second embodiments, defect correction is performed on two adjacent pixels vertically or horizontally adjacent to the pixel of interest and an adjacent pixel diagonally adjacent to the pixel of interest, which originally do not need to be corrected in terms of defects.

[0138] An overcorrection prevention process for a defect occurring in a portion other than a pixel region according to the fourth embodiment will be described below with reference to an example of a monochrome sensor. Fig. 20 is a flowchart showing an example of the operation according to the fourth embodiment. Fig. 20 The operations are as shown in the steps of the flowchart.

[0139] The operations of steps S701 to S703 are Fig.18 The operations of steps S601 to S603 in are the same, so their description will be omitted. In step S704, the average value of the adjacent pixels (-1,-1) and (1,-1) horizontally adjacent to the pixel (0,-1) adjacent to the same focus pixel (0,0) on the upper side is calculated, and the difference AroundTop is calculated by subtracting the average value from the pixel value of (0,-1).

[0140] In step S705, the average value of the adjacent pixels (-1,1) and (1,1) horizontally adjacent to the pixel (0,1) adjacent to the same focus pixel (0,0) on the lower side is calculated, and the difference AroundBottom is calculated by subtracting the average value from the pixel value of (0,1).

[0141] In step S706, the average value of the adjacent pixels (-1,-1) and (-1,1) vertically adjacent to the pixel (-1,0) adjacent to the same focus pixel (0,0) on the left is calculated, and the difference AroundLeft is calculated by subtracting the average value from the pixel value of (-1,0).

[0142] In step S707, the average value of the adjacent pixels (1,-1) and (1,1) vertically adjacent to the pixel (1,0) adjacent to the same focus pixel (0,0) on the right is calculated, and the difference AroundRight is calculated by subtracting the average value from the pixel value of (1,0).

[0143] In step S708 , the adjacent pixel evaluation value Around is obtained by dividing the maximum value of the differences AroundTop, AroundBottom, AroundLeft, and AroundRight by the pixel value of interest.

[0144] In step S709, when the adjacent pixel evaluation value Around is equal to or less than the predetermined value, the pixel of interest is determined to have no crosstalk defect, and the defective pixel value acquired in step S703 is replaced with 0. In the case where it is determined in step S709 that the adjacent pixel evaluation value Around is greater than the predetermined value, the pixel of interest is determined to have a crosstalk defect, the defective pixel value acquired in step S703 is used without any change, and the extraction of the defect is completed in step S710.

[0145] Thus, according to the fourth embodiment, when the second defective pixel value is greater than the judgment threshold and the pixel value of the adjacent pixel is not greater than the predetermined value, the target pixel is not judged as a defective pixel. Therefore, with respect to such a type of defect in which crosstalk does not propagate to adjacent pixels in the monochrome sensor, it is possible to prevent the adjacent pixels from being erroneously corrected from the defective aspect.

[0146] <Fifth Embodiment>

[0147] In the fifth embodiment of the present invention, the Fig.14 The flowchart showing these operations is similar to the flowchart according to the fourth embodiment. Fig. 20 The same is true, and adjacent pixels of the same color that are vertically and horizontally adjacent to the pixel of interest are used. These operations will be described below with reference to the accompanying drawings.

[0148] In step S704, the average values ​​of the adjacent pixels (-1, -2) and (1, -2) adjacent to the pixel (0, -1) adjacent to the same focus pixel (0, 0) on the upper side and diagonally upward are calculated, and the difference AroundTop is calculated by subtracting the average value from the pixel value of (0, -1).

[0149] In step S705, the average value of the adjacent pixels (-1, 2) and (1, 2) adjacent to the pixel (0, 1) diagonally downward of the same focus pixel (0, 0) is calculated, and the difference AroundBottom is calculated by subtracting the average value from the pixel value of (0, 1).

[0150] In step S706, the average values ​​of the adjacent pixels (-2, -1) and (-2, 1) diagonally adjacent to the left of the pixel (-1, 0) adjacent to the same focus pixel (0, 0) on the left are calculated, and the difference AroundLeft is calculated by subtracting the average value from the pixel value of (-1, 0).

[0151] In step S707, the average value of the adjacent pixels (2, -1) and (2, 1) adjacent to the same focus pixel (0, 0) on the right side and diagonally to the right is calculated, and the difference AroundRight is calculated by subtracting the average value from the pixel value of (1, 0).

[0152] In step S708 , the adjacent pixel evaluation value Around is obtained by dividing the maximum value of the differences AroundTop, AroundBottom, AroundLeft, and AroundRight by the pixel value of interest.

[0153] In step S709, in a case where the adjacent pixel evaluation value Around is equal to or less than a predetermined value, the pixel of interest is determined to have no crosstalk defect, and the defective pixel value acquired in step S703 is replaced with 0. In a case where it is determined in step S709 that the adjacent pixel evaluation value Around is greater than a predetermined value, the pixel of interest is determined to have a crosstalk defect, the defective pixel value acquired in step S703 is used without any change, and the extraction of the defect is completed in step S710.

[0154] As described above, with the processing according to the fifth embodiment, regarding such a type of defect in the color sensor that crosstalk does not propagate to adjacent pixels, it is possible to prevent adjacent pixels from being erroneously corrected from the defect.

[0155] <Sixth Embodiment>

[0156] In the first and second embodiments, the first defective pixel value is calculated by subtracting the pixel value of the neighboring pixels of the target pixel from the pixel value of the pixel of interest (target pixel), and the second defective pixel value is calculated by multiplying the first defective pixel value by a predetermined gain multiple.

[0157] By multiplying the second defective pixel value (which is the multiplication result of the same gain as the multiplication of the first image signal) with Fig.13 The multiple judgment thresholds shown are compared to judge the defect level.

[0158] However, the judgment threshold can be changed inversely proportional to the gain multiple. That is, Fig.13 The determination threshold in can be changed according to the gain scale factor and can be compared with the first defective pixel value to determine the defect level. Fig.21 : is a diagram showing an example of a threshold value in a case where the threshold value is changed according to a gain scale factor according to the sixth embodiment.

[0159] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications, equivalent structures and functions.

[0160] In addition, as part or all of the control according to the embodiment, a computer program that implements the functions of the above-described embodiment may be supplied to an imaging device or the like through a network or various storage media. Then, a computer (or a CPU or an MPU, etc.) of the imaging device or the like may be configured to read and execute the program. In this case, the program and the storage medium storing the program constitute the present invention.

[0161] The present invention can be implemented, for example, using at least one processor or circuit configured as the functions of the above-described embodiments. The present invention can be implemented in a distributed manner using multiple processors.

[0162] This application claims the benefit of Japanese Patent Application No. 2023-027211, filed on February 24, 2023, which is hereby incorporated by reference herein in its entirety.

Claims

1. A camera device, include: A photoelectric conversion element including an avalanche photodiode; at least one processor; as well as a memory coupled to the at least one processor, the memory storing instructions that, when executed by the at least one processor, cause the at least one processor to: generating an image based on the signal acquired by the photoelectric conversion element using a generating unit; using a first correction unit to correct the image based on first characteristic information related to crosstalk between pixels of the photoelectric conversion element; as well as The pixel interpolation of the image is performed by the second correction unit based on the second characteristic information for determining the crosstalk area of ​​the specific pixel to the adjacent pixel and the image.

2. The imaging device according to claim 1, in, The second characteristic information is information set based on the first characteristic information.

3. The imaging device according to claim 2, in, The second correction unit is configured to obtain the second characteristic information by subtracting values ​​of adjacent pixels of the target pixel from a pixel value of the target pixel in the image to calculate a first pixel value, and by multiplying the first pixel value by a predetermined gain multiple to calculate a second pixel value.

4. The imaging device according to claim 3, in, The second correction unit is configured to determine the second correction process based on a correction level obtained by comparing the second pixel value with a plurality of determination thresholds.

5. The imaging device according to claim 3, in, The adjacent pixels include pixels that are adjacent to the target pixel vertically, horizontally, and diagonally, and The second correction unit is configured to obtain the first pixel value by subtracting a maximum pixel value among pixel values ​​of a plurality of adjacent pixels of the target pixel from a pixel value of the target pixel.

6. The imaging device according to claim 5, in, Each pixel of the photoelectric conversion element includes a color filter, and The adjacent pixels are pixels that are adjacent to the target pixel vertically, horizontally, and diagonally and have the same color as the target pixel.

7. The imaging device according to claim 4, in, The determination threshold value changes in inverse proportion to the predetermined gain multiple.

8. The imaging device according to claim 4, in, The second correction unit is configured to determine pixels to be corrected based on the correction level and the second characteristic information.

9. The imaging device according to claim 4, in, The determination threshold increases as the predetermined gain multiple increases.

10. The imaging device according to claim 4, in, The second correction unit is configured not to determine the target pixel as a target pixel for the second correction process when the second pixel value is greater than the determination threshold and the pixel value of the adjacent pixel is not greater than the second pixel value by a predetermined value or more.

11. A method for photographing, include: generating an image based on a signal acquired by a photoelectric conversion element including an avalanche photodiode; performing a first correction process for correcting the image based on first characteristic information related to crosstalk between pixels of the photoelectric conversion element; as well as A second correction process is performed for performing pixel interpolation of the image based on second characteristic information for determining a crosstalk area of ​​a specific pixel to an adjacent pixel and the image.

12. A non-transitory computer-readable storage medium configured to store a computer program, the computer program comprising instructions for performing the following process: generating an image based on a signal acquired by a photoelectric conversion element including an avalanche photodiode; performing a first correction process for correcting the image based on first characteristic information related to crosstalk between pixels of the photoelectric conversion element; as well as A second correction process is performed for performing pixel interpolation of the image based on second characteristic information for determining a crosstalk area of ​​a specific pixel to an adjacent pixel and the image.

Citation Information

Cited By

  • Image data correction method of image sensor

    CN122294015A