Imaging apparatus, method for controlling imaging apparatus, and program

The imaging device uses achromatic processing with 3D-LUTs to correct color distortion in high-brightness areas and adapt to device changes, ensuring consistent image quality.

JP2024118936APending Publication Date: 2024-09-02CANON KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023025551
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-09-02

AI Technical Summary

Technical Problem

Existing image processing technologies fail to effectively suppress color distortion in high-brightness areas and are unable to account for changes in signal characteristics over time, particularly in imaging devices using avalanche photodiodes.

Method used

An imaging device employing an avalanche photodiode with image processing units that estimate changes in the device and perform achromatic processing using a 3D-LUT to adjust images based on the degree of change and input photon levels, thereby correcting color distortion.

Benefits of technology

The solution effectively suppresses color distortion in high-brightness areas by adjusting image data using 3D-LUTs, ensuring image quality is maintained despite changes in device characteristics over time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118936000001
    Figure 2024118936000001
Patent Text Reader

Abstract

To provide an imaging apparatus, a method for controlling the imaging apparatus, and a program, capable of suppressing degradation of image quality by suppressing color curving when a secular change occurs.SOLUTION: An achromatization part 200 is provided in an image processing part of an imaging apparatus, estimates a change degree of the imaging apparatus, and performs the achromatization of a high luminance part to an input image in a YUV format generated by the image processing part. A change degree estimation part estimates the change degree of the imaging apparatus for each area of the input image and temporarily records the change degree of the imaging apparatus in a RAM. A 3D-LUT (three-dimensional lookup table) generation part generates a 3D-LUT and records the same in the RAM on the basis of the change degree of the imaging apparatus read from the RAM. The 3D-LUT converts the YUV value of each pixel of the input image and outputs the YUV value of each pixel of an output image. After that, a 3D-LUT application part converts the YUV value of the input image and outputs the output image on the basis of the 3D-LUT read from the RAM.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to techniques for adjusting images. [Background technology]

[0002] Patent Document 1 discloses an image processing circuit that selects a reference color component from the color components using at least one of optical characteristics and edge information for each color component of a captured image, and generates a reference image based on the reference color component. A correction unit corrects optical degradation in the color component using the reference image and optical characteristics so as to reduce the difference between the edge width in the color component and the edge width in the reference image.

[0003] Patent Document 2 discloses an image processing device having a sensor means for outputting a signal pulse in response to the incidence of a photon, and a counting means for counting the number of signal pulses. The storage means stores parameters for compensating for the linearity of the image signal output from the imaging element for each wavelength band. The compensation means compensates for each image signal obtained from the imaging element using a parameter corresponding to the wavelength band of light received by the pixel that outputs the image signal. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-88587 A [Patent Document 2] JP 2020-107973 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, Patent Document 1 corrects optical deterioration in color components, and does not solve color bending in high-luminance areas. In addition, Patent Document 2 compensates for image signals using parameters according to the wavelength band of light, so it is difficult to suppress color bending when the image changes over time. The purpose of this disclosure is to make it possible to suppress deterioration in image quality. [Means for solving the problem]

[0006] An imaging device having an avalanche photodiode in an imaging section, the imaging device comprising: a first output means for outputting a first image from an output signal from the imaging section; a decision means for deciding an image adjustment method based on at least one of an accumulated value of the output signal or an operating time of the imaging device; and a second output means for outputting a second image obtained by adjusting the first image based on the adjustment method. Effect of the Invention

[0007] According to the present disclosure, degradation of image quality can be suppressed. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 illustrates an example of the configuration of an imaging device. [Diagram 2] FIG. 4 illustrates an example of the configuration of a color removal processing unit. [Diagram 3] 13 is a flowchart showing a processing procedure. [Figure 4] FIG. 11 is a diagram illustrating an example of a degree of change. [Diagram 5] FIG. 13 is a diagram showing a portion of 3D-LUT data. [Figure 6] 4 is a diagram showing the relationship between the number of input photons and the output signal level of an imaging unit. FIG. [Figure 7] 13 is a flowchart showing a processing procedure. [Figure 8] FIG. 13 is a diagram showing the relationship between the number of input photons and the level of achromatic processing. [Figure 9] FIG. 2 is a diagram illustrating an example of the configuration of an imaging unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (First embodiment) 1 is a block diagram showing an example of the configuration of an imaging device 100 according to the first embodiment. The imaging device 100 includes an imaging lens 101, an aperture 102, an ND filter 103, an imaging unit 110, an image processing unit 112, a memory control unit 113, a system control unit 120, a non-volatile memory 121, a system memory 122, and a system timer 123. The imaging device 100 further includes a memory 130, a power control unit 140, a power supply unit 170, and an I / F 180.

[0010] The imaging lens 101 is a lens group including a zoom lens, a focus lens, and a shift lens, and forms a subject image. The aperture 102 is an aperture used to adjust the amount of light. The ND filter 103 is a neutral density filter.

[0011] The imaging unit 110 has an imaging element including a SPAD sensor, performs photoelectric conversion, and outputs digital image data. SPAD stands for Single Photon Avalanche Diode. The imaging unit 110 also has functions such as controlling accumulation by an electronic shutter, changing gain, and changing readout speed.

[0012] The image processing unit 112 performs image processing on image data from the imaging unit 110 or the memory control unit 113. The image processing includes, for example, predetermined pixel interpolation processing, resizing processing such as reduction processing, detection processing of luminance information, color information, characteristic objects, etc., color conversion processing, gamma correction processing, digital gain addition processing, etc. Image processing methods include image processing by a dedicated arithmetic circuit, image processing by a 3D-LUT processing circuit, etc. Furthermore, the image processing unit 112 performs predetermined arithmetic processing using image data from the imaging unit 110, and transmits the arithmetic result to the system control unit 120.

[0013] The system control unit 120 performs exposure control, distance measurement control, white balance control, etc. based on the transmitted calculation results, thereby performing TTL (through-the-lens) AF (autofocus) processing, AE (automatic exposure) processing, AWB (auto white balance) processing, etc.

[0014] Output data from the imaging unit 110 is written to the memory 130 via the image processing unit 112 and the memory control unit 113, or via the memory control unit 113. The memory 130 stores image data from the imaging unit 110 or the image processing unit 112. The memory 130 can also be used to temporarily store an image that has been processed by the image processing unit 112, and then return the image to the image processing unit 112 for application of another image processing. The memory 130 has a storage capacity sufficient to store moving images and audio for a predetermined period of time.

[0015] The non-volatile memory 121 is an electrically erasable and recordable memory, for example, an EEPROM. Constants, programs, etc. for the operation of the system control unit 120 are stored in the non-volatile memory 121. The programs referred to here are programs for executing various flowcharts described later.

[0016] The system control unit 120 controls the imaging device 100. The system control unit 120 executes each process of this embodiment described below by executing a program recorded in the non-volatile memory 121 described above. The system memory 122 uses a RAM, and expands constants and variables for the operation of the system control unit 120, programs read from the non-volatile memory 121, and the like.

[0017] The system timer 123 is a timing unit that measures the time used for various controls and the time of a built-in clock.

[0018] The power supply control unit 140 is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching between blocks to be energized, and detects whether a battery is attached, the type of battery, and the remaining battery power. Based on the detection results and instructions from the system control unit 120, the power supply control unit 140 controls the DC-DC converter to supply the required voltage for the required period to each unit including the external recording medium 150.

[0019] The power supply unit 170 is made up of a primary battery such as an alkaline battery or a lithium battery, a secondary battery such as a NiCd battery, a NiMH battery, or a Li-ion battery, an AC adapter, etc. The I / F 180 is an interface with an external recording medium 150 such as a memory card or a hard disk, and an external display device 160. The external recording medium 150 is a recording medium such as a memory card for recording captured images and exchanging data with the outside, and a semiconductor memory or the like is used.

[0020] FIG. 9 is a diagram showing an example of the configuration of the imaging unit (SPAD sensor) 110 in FIG. 1. Hereinafter, the configuration of the imaging unit 110 and a method of reading out an image signal from the imaging unit 110 will be described with reference to FIG. 9. As shown in FIG. 9, the imaging unit 110 has a plurality of pixels 901, a vertical scanning unit 908, a column memory 909, and an output unit 910. Note that, for the sake of explanation, FIG. 9 shows two pixels 901 having the same structure arranged in the row direction and two pixels in the column direction, but in reality, more pixels 901 are arranged. Furthermore, the two pixels 901 arranged in the column direction are connected to a vertical signal line 907.

[0021] The imaging unit 110 is a light receiving element using a SPAD, and each pixel 901 has an avalanche photodiode (APD) 902, a quench resistor 903, an inverter 904, a counter 905, and a read switch 906. The pixel 901 is covered with color filters of multiple colors to obtain a color image. Light of different wavelength bands that has passed through the color filters is incident on each pixel 901. There are various types of color filters, and for example, they may be of a primary color system or a complementary color system, and the type is not limited as long as a color image can be obtained. Note that, as an example, a case where R, G, and B color filters are arranged in a Bayer array will be described here.

[0022] The APD902 is an avalanche photodiode (APD) operated in Geiger mode to detect single photons. Geiger mode is an operation mode of an APD in which a reverse bias voltage larger than the breakdown voltage is applied. When a reverse bias voltage Vbias larger than the breakdown voltage Va is applied to the APD902 to enter Geiger mode, carriers generated by the incidence of a single photon cause avalanche multiplication, generating a large current. Here, Vbias is, for example, -20V.

[0023] The quench resistor 903 is a resistive element for stopping avalanche multiplication of the APD 902. When photons are incident on the APD 902 and a current is generated by avalanche multiplication, a voltage drop (voltage fluctuation) occurs in the quench resistor 903. When this voltage drop causes the voltage of the cathode of the APD 902 to swing from Vbias to a breakdown voltage Va or lower, the avalanche multiplication stops. After that, when the cathode of the APD 902 is charged via the quench resistor 903, the voltage returns to Vbias (the voltage before the fluctuation).

[0024] In this way, one voltage signal pulse is generated in response to the incidence of a single photon at the cathode of the APD 902. At this time, the width of the voltage signal pulse changes in response to a time constant determined by the resistance value of the quench resistor 903. The APD 902 and the quench resistor 903 constitute a sensor means.

[0025] The inverter 904 as a buffer means functions as a shaping section, shapes the waveform of the voltage signal pulse generated by the APD 902 as described above, and outputs the waveform-shaped signal pulse to its output terminal.

[0026] Counter 905 receives as an input the signal pulse output by inverter 904 and counts the rising edges of the signal pulse. Note that inverter 904 is used as a buffer means because counter 905 is configured to count rising edges, and if a buffer that does not invert polarity is used, counter 905 only needs to count falling edges of the signal pulse output by the buffer.

[0027] The counter 905 is configured to be able to count the number of pulses of 16 bits, for example. In the following description, the "count value" refers to the value counted by the counter 905. In addition, the counter 905 receives a signal pulse res output by a vertical scanning unit 908, and the reset operation of the count value and the timing of starting the count operation are controlled.

[0028] The read switch 906 is turned on upon receiving a signal pulse sel output by a vertical scanning unit 908 sequentially for each row, and the count value held in the counter 905 is written to a column memory 909 via a vertical signal line 907 .

[0029] As described above, the vertical scanning unit 908 sequentially selects rows of pixels arranged in a matrix and outputs a signal pulse sel to each row. The vertical scanning unit 908 also outputs a signal pulse res that resets the count value of the counter 905 and controls the start timing of the count operation.

[0030] In the column memory 909, the count values ​​of each pixel 901 in the row selected by the vertical scanning unit 908 in response to the signal pulse sel are written via the vertical signal line 907, and the count values ​​for each column are stored. In addition, the vertical scanning unit 908 sequentially selects the count values ​​of each pixel 901 stored in the column memory 909 for each column, thereby sequentially outputting the count values ​​of each pixel 901 to the output unit 910.

[0031] The output unit 910 performs digital processing such as gain processing and signal rearrangement on the count values ​​of each pixel 901 output from the column memory 909 , and outputs the processed image signal to the outside of the imaging unit 110 .

[0032] As described above, the SPAD sensor counts photons that enter the pixel 901, and as soon as a photon enters the pixel 901, it is converted into an electric charge. The electrons undergo avalanche amplification, and can be detected as a large signal charge. Because of the way the SPAD sensor works, no noise is introduced during signal readout, so it can capture a clear image of a subject without being affected by noise even in dark places. For this reason, it is expected to be widely used as a sensor for surveillance applications, etc.

[0033] However, in the image signal obtained from the SPAD sensor, color bending may occur in the high brightness area. The color bending will be described below. The image processing unit 112 performs signal processing such as gain, white balance correction, and color tone correction on the RGB signal obtained from the image signal captured by the image capture unit 110, and outputs the signal. At that time, if any of the RGB signals becomes saturated during the output of the image capture unit 110 or during the signal processing, a phenomenon called "color bending" occurs in which the hue shifts from the original state. For example, when an orange subject with a relationship of R>G>B is being captured, if the exposure amount is increased, R will saturate first. If the exposure amount is further increased from the state where the R signal is just saturated, the G signal and B signal increase while R remains saturated, so the hue shifts toward the yellow side from the original state. If the color bending phenomenon occurs in this way, the image obtained by the image capture device 100 may differ from the actual appearance, and may be undesirable as the image obtained.

[0034] The causes of color bending include changes in the SPAD sensor due to aging and the fact that the output signal of the SPAD sensor is not linear. If the sensor is constantly operated, such as in surveillance applications, the DCR changes according to the time of use, and color bending may occur. The DCR is the dark count rate, which is the average value of the count value of the counter 905 detected when there is no incident light. In addition, the counter 905 counts photons using clock control, so that the photon count number is less than the number of photons that actually entered when the illuminance is high. As a result, the linearity of the output signal of the SPAD sensor is lost, and color bending may occur.

[0035] The present embodiment aims to suppress color distortion in high-luminance areas even when the DCR changes depending on the duration of use.

[0036] In this embodiment, an operation will be described in which the image processing unit 112 estimates the degree of change in the imaging device 100 and performs color erasure processing on high-luminance areas. Changes in the imaging device 100 include, for example, deterioration of the imaging device 100 including the imaging unit (SPAD sensor) 110 and the optical system (imaging lens 101, aperture 102, and ND filter 103), differences in shooting conditions, and the like.

[0037] FIG. 2 is a diagram showing an example of the configuration of the achromatic processing unit 200. The achromatic processing unit 200 is provided in the image processing unit 112 of FIG. 1, and includes a change degree estimation unit 201, a RAM 202, a 3D-LUT generation unit 203, a RAM 204, and a 3D-LUT application unit 206. The achromatic processing unit 200 estimates the change degree of the imaging device 100, and performs achromatic processing of high-luminance parts on the input image 205. The image processing unit 112 generates an input image 205 in, for example, a YUV format based on the count value output by the imaging unit 110. Y is a luminance signal. U is a difference between the luminance signal and the blue component. V is a difference between the luminance signal and the red component. The input image 205 is an image based on the output signal of the imaging unit 110. As described above, the image processing unit 112 is an output unit that outputs the input image 205 from the output signal from the imaging unit 110.

[0038] First, the change degree estimation unit 201 estimates the degree of change of the imaging device 100 for each region of the input image 205, and temporarily records the degree of change of the imaging device 100 in the RAM 202. Next, the 3D-LUT generation unit 203 generates a 3D-LUT based on the degree of change of the imaging device 100 read from the RAM 202, and records the 3D-LUT in the RAM 204. The 3D-LUT (three-dimensional lookup table) is, for example, a conversion table between the YUV values ​​of the input image 205 and the YUV values ​​of the output image 207, as shown in Figures 5(a) and (b), and converts the YUV values ​​of each pixel of the input image 205 and outputs the YUV values ​​of each pixel of the output image 207.

[0039] Thereafter, a 3D-LUT application unit 206 converts the YUV values ​​of the input image 205 based on the 3D-LUT read from the RAM 204, and outputs an output image 207. Note that, although the RAM 202 and the RAM 204 are expressed as separate RAMs here, they may be separate areas of the same RAM.

[0040] 3 is a flowchart showing a control method of the image processing unit 112 in FIG. 1. In step S301, the change degree estimation unit 201 estimates the degree of change of the imaging device 100 for each region of the image and records it in the RAM 202. For example, the change degree estimation unit 201 estimates the degree of change of the imaging device 100 based on the driving time of the imaging device 100 obtained from the system timer 123 or the number of input photons for each region of the imaging unit 110. The number of input photons corresponds to a count value output by the imaging unit 110. The image processing unit 112 acquires the degree of change of the imaging device 100 from the RAM 202.

[0041] 4(a) and (b) show an example of the degree of change of the imaging device 100 for each region of an image. When the imaging device 100 is fixed at the angle of view of the image shown in FIG. 4(a) and driven constantly, the degree of change is scored and estimated for each 6×4 region as shown in FIG. 4(b). The score is expressed from 0 to 10, and the higher the number, the more the change in the imaging device 100 progresses and the higher the possibility of color distortion occurring. The upper part of the image in FIG. 4(a) has a high score because the number of input photons to the imaging unit 110 is always large due to the influence of sunlight, and the lower part of the image has a low score because the luminance level is low even during the day and the number of input photons to the imaging unit 110 is small.

[0042] The change degree estimation unit 201 may estimate the degree of change of the imaging device 100 for each region of the image based on the cumulative value of the output signal for each region of the imaging unit 110 for each frame. The degree of change of the imaging device 100 may be the degree of change of the imaging unit 110. In that case, the degree of change of the imaging device 100 for each region of the image described above becomes the degree of change for each region of the imaging unit 110. The change degree estimation unit 201 may estimate the degree of change of the imaging device 100 based on at least one of the cumulative value of the output signal from the imaging unit 110 and the driving time of the imaging device 100.

[0043] In step S302, the image processing unit 112 calculates a change degree index to be used in the color erasure process based on the degree of change of the image capture device 100 for each region of the image. For example, the image processing unit 112 sets the maximum value of the degree of change of the image capture device 100 for each region of the image as the change degree index. For example, in the case of FIG. 4(b), the change degree index is 10. Note that the change degree index may be the average value or median value of the degree of change of the image capture device 100 for each region of the image.

[0044] In step S303, the image processing unit 112 determines whether or not decolorization processing is necessary based on the change degree index calculated in step S302. For example, the image processing unit 112 determines that decolorization processing is necessary if the change degree index is equal to or greater than a threshold, and determines that decolorization processing is not necessary if the change degree index is not equal to or greater than the threshold. If it is determined that decolorization processing is necessary, the process proceeds to step S304. If it is determined that decolorization processing is not necessary, the process of the flowchart in FIG. 3 ends.

[0045] In step S304, the 3D-LUT generating unit 203 generates a 3D-LUT based on the change degree index calculated in step S302 and records it in the RAM 204. FIGS. 5(a) and 5(b) are diagrams showing a part of the data of the 3D-LUT. FIG. 5(a) is an example of data that does not take into account the achromatic processing, and FIG. 5(b) is an example of data that has been subjected to the achromatic processing. The data that has been subjected to the achromatic processing has a smaller UV component data, and the effect of the achromatic processing is obtained by lowering the saturation. Here, the 3D-LUT is a 17Grid 3D-LUT for a YUV signal, and an LUT that is incremented from the Y component is taken as an example, but it may be an LUT for a signal other than YUV, and the data arrangement may be different. As described above, the 3D-LUT generating unit 203 is a determination unit that determines a method of adjusting the input image 205 based on at least one of the cumulative value of the output signal from the imaging unit 110 and the driving time of the imaging device 100.

[0046] In step S305, the 3D-LUT application unit 206 acquires the data of the 3D-LUT generated in step S304 from the RAM 204, and converts the YUV values ​​of the input image 205 based on the data, thereby acquiring the output image 207 subjected to the achromatic processing. That is, the 3D-LUT application unit 206 functions as an adjustment unit, adjusts the color of the input image 205 using the 3D-LUT, and outputs the output image 207. For example, in the case of FIGS. 5(a) and (b), the 3D-LUT application unit 206 adjusts the U value and the V value of the input image 205 in the YUV format based on the output signal of the imaging unit 110. As described above, the 3D-LUT application unit 206 is an output unit that outputs the output image 207 obtained by adjusting the input image 205 based on the adjustment method determined in step S304.

[0047] As described above, according to this embodiment, even if the DCR changes depending on the usage time, the image processing unit 112 can suppress the influence of color bending by performing color erasure processing based on the degree of change in the imaging device 100. The image processing unit 112 can suppress color bending in high-luminance areas even if the DCR changes depending on the usage time or if the DCR changes depending on the usage time.

[0048] In this embodiment, the operation of generating a 3D-LUT as the achromatic processing and converting the input image 205 has been described, but the achromatic processing may be performed by arranging an arithmetic circuit that adjusts the saturation component. That is, the 3D-LUT application unit 206 uses the 3D-LUT to adjust the saturation of the input image 205 based on the output signal of the imaging unit 110. In this case, the achromatic processing may be performed when the change degree index is equal to or greater than a threshold value, or the achromatic processing level may be continuously adjusted based on the change degree index.

[0049] Furthermore, in this embodiment, the degree of change in the imaging device 100 is estimated from the driving time, the number of photons input to each region, and the like, but it may be estimated from environmental factors such as temperature information from a thermistor.

[0050] Furthermore, in this embodiment, the degree of change in the imaging device 100 is expressed by a score from 0 to 10, but it may be expressed in a more abstract way, such as large, medium, small, etc.

[0051] Second Embodiment Next, a second embodiment will be described. Note that the description of the components of the second embodiment that are the same as those of the first embodiment will be omitted. In the first embodiment, the 3D-LUT is generated based on the degree of change of the imaging device 100, but depending on the level of the output signal of the imaging unit 110, the effect of the achromatic processing may be too strong or too weak. Therefore, in the second embodiment, a method of generating a 3D-LUT that changes the level of the achromatic processing by considering the number of input photons in addition to the degree of change of the imaging device 100 will be described.

[0052] FIG. 6 is a diagram showing an example of the relationship between the number of input photons and the output signal level of the imaging unit (SPAD sensor) 110. The horizontal axis indicates the number of input photons of the imaging unit 110, and the vertical axis indicates the level of the output signal of the imaging unit 110. A relationship 602 indicates the actual input / output relationship of the imaging unit 110. A relationship 601 indicates an ideal linear input / output relationship. As the number of input photons of the imaging unit 110 increases, the photon count number becomes smaller than the number of photons that actually entered, and therefore the output signal level becomes a relationship 602 in which the linearity is broken compared to the linear relationship 601. At points 603 and 604 where the number of incident photons is small, the linearity of the relationship 602 is maintained. However, at points 605, 606, and 607 where the number of incident photons is large, the linearity of the relationship 602 breaks down and the output signal level becomes small.

[0053] When the number of input photons is “×3”, in the case of the relationship 601 where linearity is maintained, y3′ should be detected as the output level signal level of point 608, but in the case of the relationship 602 where linearity is broken, y3 is detected as the output level signal level of point 605. Similarly, when the number of input photons is “×4”, in the case of the relationship 601 where linearity is maintained, y4′ should be detected as the output level signal level of point 609, but in the case of the relationship 602 where linearity is broken, y4 is detected as the output level signal level of point 606. Similarly, when the number of input photons is “×5”, in the case of the relationship 601 where linearity is maintained, y5′ should be detected as the output level signal level of point 610, but in the case of the relationship 602 where linearity is broken, y5 is detected as the output level signal level of point 607.

[0054] Therefore, the image processing unit 112 needs to convert the nonlinear relationship 602 into a linear relationship 601. The image processing unit 112 outputs the input image 205 based on the output signal from the imaging unit 110 so that the relationship between the number of input photons to the imaging unit 110 and the output signal from the imaging unit 110 approaches a linear relationship. The nonlinearity of the relationship 602 can be determined by defining and applying a conversion function or the like as known information, but as the imaging device 100 continues to change, the conversion is performed while including the influence of the change, and the conversion error becomes large. In particular, at a point such as point 607 where the number of input photons is large, the amount of change due to the conversion also becomes large, so the conversion error becomes large and the influence of color bending becomes large. Therefore, achromatic processing is performed according to the number of input photons for each degree of change in the imaging device 100.

[0055] Fig. 7 is a flowchart showing a control method of the image processing unit 112 according to the second embodiment. In step S701, the image processing unit 112 performs the same process as in step S301 in Fig. 3. In step S702, the image processing unit 112 performs the same process as in step S302 in Fig. 3.

[0056] In step S703, the image processing unit 112 acquires an input level for generating a 3D-LUT. The input level is, for example, a count value (number of input photons) of each pixel output by the imaging unit 110, and is an output signal level of the imaging unit 110.

[0057] In step S704, the image processing unit 112 determines whether or not color erasure processing is necessary based on the change degree index calculated in step S702 and the input level acquired in step S703. For example, the image processing unit 112 calculates a color distortion concern score based on the change degree index and the input level, and determines that color erasure processing is necessary if the color distortion concern score is equal to or greater than a threshold, and determines that color erasure processing is not necessary if the color distortion concern score is not equal to or greater than the threshold. If it is determined that color erasure processing is necessary, the process proceeds to step S705. If it is determined that color erasure processing is not necessary, the process proceeds to step S706.

[0058] In step S705, the 3D-LUT generation unit 203 generates a 3D-LUT that provides a level of achromatic processing based on the change degree index calculated in step S702 and the input level acquired in step S703, and records the 3D-LUT in the RAM 204.

[0059] FIG. 8 is a diagram showing an example of the level of the achromatic processing. The horizontal axis indicates the number of input photons of the imaging unit 110, and the vertical axis indicates the level of the achromatic processing reflected by the 3D-LUT generating unit 203. Three curves 801 to 803 are curves corresponding to the change degree index. The curve 801 is a curve when the change degree index is small. The curve 802 is a curve when the change degree index is medium. The curve 803 is a curve when the change degree index is large. When the change degree index is small, the influence of color bending is small even in high luminance parts, so a small level of the achromatic processing is sufficient. As the change degree index increases, the influence of color bending increases especially in high luminance parts, so the level of the achromatic processing must also be increased. Here, an example is shown in which the level of the achromatic processing is continuously increased according to the number of input photons, but a threshold value may be set to increase the level of the achromatic processing step by step. The 3D-LUT generating unit 203 determines the adjustment method so that the amount of adjustment for pixels in the input image 205 whose pixel values ​​are equal to or greater than a predetermined value becomes greater.

[0060] In step S706, the image processing unit 112 judges whether or not all input levels necessary for generating the 3D-LUT have been processed. If it is judged that the processing has been completed, the process proceeds to step S707. If it is judged that the processing has not been completed, the process returns to step S703 to continue the above-mentioned processing for each input level.

[0061] In step S707, the 3D-LUT application unit 206 acquires the data of the 3D-LUT generated in step S705 from the RAM 204, and converts the YUV values ​​of the input image 205 based on the data, thereby acquiring the output image 207 subjected to the achromatic processing. That is, the 3D-LUT application unit 206 adjusts the high-luminance part of the input image 205 based on the output signal of the imaging unit 110 so that the relationship between the number of input photons of the imaging unit 110 and the output signal of the imaging unit 110 approaches a linear relationship, as shown in FIG. 6. In addition, the 3D-LUT application unit 206 adjusts the high-luminance part of the input image 205 based on the output signal of the imaging unit 110 using the 3D-LUT at the achromatic processing level in FIG. 8. The achromatic processing level in FIG. 8 indicates the adjustment level.

[0062] As described above, according to this embodiment, the image processing unit 112 can suppress the influence of color bending by the achromatic processing that takes into account the input level (number of input photons) in step S703 in addition to the degree of change in the imaging device 100.

[0063] In the first and second embodiments, the 3D-LUT generating unit 203 and the 3D-LUT applying unit 206 are described separately, but the 3D-LUT generating unit 203 and the 3D-LUT applying unit 206 may be integrated.

[0064] Furthermore, the system control unit 120 may execute a program to perform the processing of the image processing unit 112. The imaging device 100 is applicable to digital cameras, video cameras, smartphones, tablets, industrial cameras, medical cameras, vehicle-mounted cameras, and the like.

[0065] (Other embodiments) The present disclosure can also be realized by a process in which a program for implementing one or more functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC) for implementing one or more functions.

[0066] Although the above has been described in detail based on the above-mentioned embodiment, the present invention is not limited to the specific embodiment, and various forms are also included within the scope of the present invention without departing from the spirit of the present invention. Parts of the above-mentioned embodiment may be appropriately combined.

[0067] The disclosure of this embodiment includes the following configuration, method, and program. (Configuration 1) An imaging device having an avalanche photodiode in an imaging section, a first output means for outputting a first image from an output signal from the imaging unit; a determination unit that determines an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; and second output means for outputting a second image obtained by adjusting the first image based on the adjustment method. (Configuration 2) 2. The imaging device according to configuration 1, wherein the determination means determines the adjustment method so that an amount of adjustment for a pixel in the first image whose pixel value is equal to or greater than a predetermined value becomes greater. (Configuration 3) The imaging device according to configuration 1 or 2, characterized in that the first output means outputs the first image based on the output signal from the imaging unit so that the relationship between the number of input photons to the imaging unit and the output signal from the imaging unit approaches a linear relationship. (Configuration 4) The imaging unit includes: The avalanche photodiode; 4. The imaging device according to any one of configurations 1 to 3, further comprising a counter that counts a signal from the avalanche photodiode. (Configuration 5) the imaging unit further includes a shaping unit that shapes a waveform of a signal from the avalanche photodiode; 5. The imaging device according to configuration 4, wherein the counter counts the signal shaped by the shaping unit. (Configuration 6) the imaging unit includes a plurality of avalanche photodiodes; 6. The imaging device according to any one of configurations 1 to 5, wherein the determining means determines the adjustment method based on an accumulated value of the output signals for each region of the imaging section. (Configuration 7) an estimation unit that estimates a degree of change of the imaging device based on at least one of an accumulated value of the output signal and a driving time of the imaging device; 7. The imaging device according to any one of configurations 1 to 6, wherein the determination means determines the adjustment method based on a degree of change in the imaging device. (Configuration 8) The imaging device described in configuration 7, characterized in that the decision means decides to execute the adjustment method when an index based on a degree of change in the imaging device for each region of the image is equal to or greater than a threshold, and decides not to execute the adjustment method when an index based on a degree of change in the imaging device for each region of the image is not equal to or greater than a threshold. (Configuration 9) 9. The imaging device according to configuration 8, wherein the index is a maximum value, an average value, or a median value of a degree of change of the imaging device for each region of the image. (Configuration 10) 10. The imaging device according to any one of configurations 1 to 9, wherein the adjustment method is a process of adjusting a color of the first image. (Configuration 11) 11. The imaging device according to configuration 10, wherein the adjustment method is a process of adjusting U values ​​and V values ​​of the first image in a YUV format based on an output signal from the imaging section. (Configuration 12) 11. The imaging device according to configuration 10, wherein the adjustment method is a process of adjusting saturation of the first image based on an output signal from the imaging section. (Configuration 13) 13. The imaging device according to any one of configurations 1 to 12, wherein the adjustment method is a process of adjusting the first image based on the output signal from the imaging section by using a lookup table. (Configuration 14) The imaging device according to any one of configurations 1 to 13, characterized in that the decision means decides, for each level assigned to the output signal from the imaging unit, to adjust the first image if a score based on that level is equal to or greater than a threshold, and decides not to adjust the first image if the score based on that level is not equal to or greater than a threshold. (Configuration 15) The imaging device described in configuration 14, characterized in that the determination means determines to adjust the first image based on the level and an adjustment level determined based on the cumulative value of the output signal and the operating time of the imaging device. (Method 1) A method for controlling an imaging device having an avalanche photodiode in an imaging section, comprising the steps of: a first output step of outputting a first image from an output signal from the imaging unit; a determination step of determining an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; and a second output step of outputting a second image obtained by adjusting the first image based on the adjustment method. (Program 1) A method for controlling an imaging device having an avalanche photodiode in an imaging section, comprising the steps of: a first output step of outputting a first image from an output signal from the imaging unit; a determination step of determining an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; a second output step of outputting a second image obtained by adjusting the first image based on the adjustment method; A program for causing a computer to execute the following. [Explanation of symbols]

[0068] 110 imaging unit, 112 image processing unit, 200 achromatic processing unit, 201 change degree estimation unit, 202 RAM, 203 3D-LUT generation unit, 204 RAM, 206 3D-LUT application unit

Claims

1. An imaging device having an avalanche photodiode in an imaging section, a first output means for outputting a first image from an output signal from the imaging unit; a determination unit that determines an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; and second output means for outputting a second image obtained by adjusting the first image based on the adjustment method.

2. 2 . The imaging device according to claim 1 , wherein the determining unit determines the adjustment method so that an amount of adjustment is increased for pixels in the first image whose pixel values ​​are equal to or greater than a predetermined value.

3. 2. The imaging device according to claim 1, wherein the first output means outputs the first image based on the output signal from the imaging unit so that the relationship between the number of input photons to the imaging unit and the output signal from the imaging unit approaches a linear relationship.

4. The imaging unit includes: The avalanche photodiode; 2. The image pickup apparatus according to claim 1, further comprising a counter for counting the signal from the avalanche photodiode.

5. the imaging unit further includes a shaping unit that shapes a waveform of a signal from the avalanche photodiode; 5. The imaging device according to claim 4, wherein the counter counts the signal shaped by the shaping unit.

6. the imaging unit includes a plurality of avalanche photodiodes; The imaging apparatus according to claim 1 , wherein the determining unit determines the adjustment method based on a cumulative value of the output signal for each region of the imaging section.

7. an estimation unit that estimates a degree of change of the imaging device based on at least one of an accumulated value of the output signal and a driving time of the imaging device; 2. The image pickup apparatus according to claim 1, wherein the determining unit determines the adjustment method based on a degree of change in the image pickup apparatus.

8. The imaging device according to claim 7, characterized in that the decision means decides to execute the adjustment method when an index based on the degree of change in the imaging device for each region of the image is equal to or greater than a threshold value, and decides not to execute the adjustment method when the index based on the degree of change in the imaging device for each region of the image is not equal to or greater than a threshold value.

9. 9. The imaging device according to claim 8, wherein the index is a maximum value, an average value, or a median value of a degree of change of the imaging device for each region of the image.

10. The imaging apparatus according to claim 1 , wherein the adjustment method is a process of adjusting a color of the first image.

11. 11. The image pickup apparatus according to claim 10, wherein the adjustment method is a process of adjusting U values ​​and V values ​​of the first image in a YUV format based on an output signal from the image pickup section.

12. 11. The imaging device according to claim 10, wherein the adjustment method is a process of adjusting saturation of the first image based on an output signal from the imaging section.

13. 2 . The imaging device according to claim 1 , wherein the adjustment method is a process of adjusting the first image based on the output signal from the imaging section by using a lookup table.

14. The imaging device according to claim 1, characterized in that the decision means decides, for each level assigned to the output signal from the imaging unit, to adjust the first image if a score based on that level is equal to or greater than a threshold, and decides not to adjust the first image if the score based on that level is not equal to or greater than the threshold.

15. The imaging device according to claim 14 , wherein the determination means determines to adjust the first image based on the level and an adjustment level determined based on a cumulative value of the output signal and an operating time of the imaging device.

16. A method for controlling an imaging device having an avalanche photodiode in an imaging section, comprising the steps of: a first output step of outputting a first image from an output signal from the imaging unit; a determination step of determining an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; and a second output step of outputting a second image obtained by adjusting the first image based on the adjustment method.

17. A method for controlling an imaging device having an avalanche photodiode in an imaging section, comprising the steps of: a first output step of outputting a first image from an output signal from the imaging unit; a determination step of determining an image adjustment method based on at least one of an accumulated value of the output signal and a driving time of the imaging device; a second output step of outputting a second image obtained by adjusting the first image based on the adjustment method; A program for causing a computer to execute the following.

Citation Information

Patent Citations

  • Image processing method and image processing apparatus

    JP2018088587A

  • Image processing apparatus and method, imaging apparatus, and imaging element control method

    JP2020107973A