The present specification relates generally to an apparatus and method for imaging, and more particularly to an apparatus and method of wide dynamic range imaging.
Wide dynamic range is one of the key features of complementary metal-oxide semiconductor (CMOS) cameras, indicating that the specific sensor is capable to capture successfully very bright and very dark areas of the scene, preserving the details of both regions. Due to interest of industrial and academic society in wide dynamic range capture, numerous approaches have been proposed and implemented.
Generally, wide dynamic range solutions can fall into seven categories: 1) logarithmic sensors that compress their response to light due to their logarithmic relation between voltage and photo-current; 2) lin-log sensors that have a linear and a logarithmic response at dark and bright illumination levels, respectively (i.e., sensors capable of switching between linear and logarithmic modes of operation either by means of external control over the pixel or by light induced DC point change; 3) clipping sensors, in which additional capacitance is extended for an overflowing charge and sometimes fused with extending an alternative exposure time; 4) frequency-based sensors, such as a single photon avalanche photodiode, where the sensor output is converted into a pulse frequency; 5) time-to saturation and time-to-first spike sensors, where each pixel integrates to a predetermined limit, where after surpassing the limit stops the integration until a subsequent frame and the time of the event is being memorized; 6) multiple capture sensors utilizing a global control over the integration time, where a sensor integrates globally over several separate exposures and digitizes, such that the final image is composed by choosing the best pixel values out of the available captures; and 7) autonomous control over the integration time, where each pixel is assigned an integration time adaptively. Such sensors are based on intermediate pixel samplings to determine a future possible saturation, thus each pixel is reset conditionally, based on its individual light intensity during the current frame.
A wide dynamic range apparatus and method are provided involving conditional analog to digital conversion and conditional reset. The method automatically sets an integration time for an individual pixel and employs a floating point representation of the pixel value using the mantissa and exponent terms. The time adjustment is performed by assigning the integration time of the brighter pixels first, while the darker pixels have their capture time set subsequently down the frame. Such an arrangement allows for digitizing the mantissa for the assigned pixels and for generating the exponent bits, thus eliminating repetitive read/write cycles from/to a dedicated memory, storing the wide dynamic range bits for each subsequent extension bit generation. The proposed algorithm maintains the advantages of dynamic range extension ability, signal to noise ratio, and provides the improved speed of operation, allowing the method to be implemented on any matrix size and in either rolling or global shutter operation modes.
In accordance with an aspect of the invention, there is provided a CMOS apparatus having a capture mode of operation. The apparatus includes plurality of pixels, associated with a CMOS sensor and being connected during the capture mode of operation to receive from the associated CMOS sensor an associated sensor signal that varies at a rate depending on incident light on the associated CMOS sensor. The apparatus may further sample a pixel and convert the obtained signal by at least one comparator to a binary code, upon which an analog to digital conversion (digitization) of the pixel sampled value may or may not occur. If the digitization occurs, the binary code and the digitized result of the conversion will be stored at a memory unit associated with the CMOS sensor and the associated pixel will be reset. If the digitization does not occur, the pixel is not reset. A pixel may include a photo-sensing element and plurality of transistors, implementing reset and readout.
The apparatus may include a pixel sharing the same row, and readout, digitized conditionally and assigned to a single or to a plurality of scanning channels.
The apparatus may include pixel rows converted by a plurality of comparators or single comparator per column, having a plurality of conversion thresholds or a single conversion threshold, set by an upper and lower pixel readout level, signal to noise ratio (SNR), lower and upper integration period limits.
In accordance with another aspect of the apparatus, there is provided a method of allocating integration periods to an apparatus, where those organized in an ascending order and where after each integration period, a pixel readout and a conditional digitization occur. The method may further involve a pixel scan by a plurality of comparators, which conditionally initiate the digitization of the pixel by generating a binary code. The conditional digitization may be done by an analog to digital converter (ADC). Where digitization occurs, both the digitization result and the comparators' binary code may be memorized. If the signal comprises negative charge, the first digitization and reset may be applied to every pixel, discharged below the highest threshold value of the plurality of comparators. If the signal comprises positive charge, the first digitization and reset may be applied to every pixel, charged above the lowest threshold value of the plurality of comparators. When starting from and including the second conditional digitization, if the signal is a negative charge, the digitization and reset may be applied to pixels discharged below the highest threshold and not discharged below the lowest threshold. When starting from and including the second conditional digitization, if the signal is a negative charge, the reset may be applied, but no digitization may be applied to pixels, discharged below the lowest threshold. When starting from and including the second conditional digitization, if the signal is a negative charge, neither reset, nor digitization may be applied to pixels, not discharged below the highest threshold. When starting from and including the second conditional digitization, if the signal is a positive charge, the digitization and reset may be applied to pixels, charged above the lowest threshold and not charged above an upper threshold. When starting from and including the second conditional digitization, if the signal is a positive charge, the reset, but no digitization may be applied to pixels, charged above the highest threshold. When starting from and including the second conditional digitization, if the signal is a positive charge, neither reset, nor digitization may be applied to pixels, not charged above the lowest threshold.
In accordance with another aspect of the apparatus, there is provided a method of allocating integration periods to an apparatus, where after each integration period, a digitization cycle occurs, followed by a conditional reset operation, during which the digitized value of the pixel is compared to the relevant combinations of threshold values, which can be either digital or analog voltages or currents. If the signal is negative charge, the reset may be applied to the pixel if: 1) its digitized value is below the highest threshold; or 2) its digitized value is below the highest threshold and above the lowest threshold; or 3) its digitized value is below the lowest threshold.
In accordance with another aspect of the apparatus, there is provided a method of allocating integration periods to an apparatus, where after each integration period, a digitization cycle occurs, followed by a conditional reset operation, during which the digitized value of the pixel is compared to the relevant combinations of threshold values, which can be either digital or analog. If the signal is positive charge, the reset may be applied to the pixel if: 1) its digitized value is above the lowest threshold; or 2) its digitized value is above the lowest threshold and below the lowest threshold; or 3) its digitized value is above the highest threshold.
Reference will now be made, by way of example only, to the accompanying drawings in which:
Referring to
In addition, the output from the system containing digital data can be scanned into an off-chip frame buffer 100, where the output can be stored prior to being streamed for a final processing before presentation on a screen. It is to be understood by a person of skill in the art with the benefit of this description that the data stream can be conditional as well, since the digitized pixels will be updated after a certain time check. The chip 40 may also include other components such as a bias and ramp generators 85 to provide functionality to the comparator units 60, the conditional analog to digital converter 65 and the column decoder 70. A pixel may also include a photo-sensing element and plurality of transistors, implementing reset and readout. In other examples, the photo-sensing element may be used to generate row output, which is a collection of the output from a row of pixels
Referring to
In the present embodiment, CADR realization may be subdivided to several time checks, further called digitization points D1 . . . Dk ordered in a geometrically progressive order as shown in
The first digitization check is set by an upper DR requirement. Knowing the inherent dynamic range DRi, set by an analog to digital converter and a pixel swing, and knowing the total dynamic range DRtot, the extended range DRext, can be defined as:
DR
tot
=DR
i
×DR
ext (1)
The longest exposure Tint will be scaled down accordingly to set the shortest integration period Tmin using:
The subsequent digitization points Di can be derived upon the ratio exp, and the number of bits L, generated at every point. In general the i-th digitization point can be defined as:
D
i
=T
min×(exp)(i-1)/L (3)
where L is the number of bits, generated at each digitization point.
Accordingly, it is to be appreciated by a person of skill in the art that ratios between the subsequent digitization points can be arbitrarily set to any positive real value using:
Therefore, an upper limit of the ratio between the digitization points satisfies:
(exp)kL=DRext (5)
As an example of an implementation of the present embodiment, it can be assumed that the dynamic range is to be extended by 4096 (72 dB) to generate 12 bits of wide dynamic range data. When 2 bits are generated each cycle (L=2) and base 2 (exp=2), there will be six digitization points (k=6) and according to equation (4), the time ratio between the successive digitization cycles is 4. Accordingly, if Tint can be assumed to be 16 ms, D1 will be 3.9 μs; D2 will be 15.6 μs; D3 will be 62.5 μs; D4 will be 250 μs; D5 will be 1 ms; and D6 will be 4 ms. It is to be appreciated by a person of skill in the art that the time difference between the first digitization points are so low, that it might not be possible to make the integration periods between the digitization points as overlapping as shown in
In the first digitization cycle of the present embodiment, conditional analog to digital converter cycles are implied at each of the digitization points, such that that pixels receiving saturating or near saturating intensities, are to be digitized and reset, while the pixels having less intense input, will not be digitized and/or reset. The pixel swing is subdivided such that if a certain light intensity discharges slightly above the upper threshold, the pixel will not be converted, but in the subsequent exposure, the pixel will discharge to the lower threshold, so that no signal will be skipped. In other words, until the point Di, pixel swing S is reduced by a factor of Q, whereas by the point Di+1, it is reduced by (Q−1)/Q according to:
It is to be appreciated by a person of skill in the art that S(Q−1)/Q and S/Q will be the upper threshold and the lower threshold, respectively.
As an example of an implementation of the present embodiment, it can be assumed that there are four different light intensities I4<I1<I2<I3 provided. Referring to
In subsequent digitization cycles of the present embodiment, checks may occur at the times (Q−1)×Tmin, (Q−1)2×Tmin . . . (Q−1)(k−1)×Tmin. Referring to
At the last integration time slot, the conversions are performed to all the levels, including the top slot, but still excluding the lowest one as shown in
For example, the pixel swing S can be subdivided to suite arbitrary ratios ri between the check points Di. In this embodiment, each quantization is “stitching” between the different time checks, such that the upper light intensity at the i-th check Imax_i can cover the whole available swing to the lower threshold BThr_i, whereas the lowest detectable current Imin_i will discharge to the upper threshold TThr_i and the same light intensity will discharge to the BThr_i+1 in the subsequent i+1-th check. This way, no data will be lost. An example of a method showing the stitching is generally shown at 900 in
Based on the outline above, a model can be derived for the pixel swing quantization, such as one with multiple available exposures satisfying the following:
T
min
,r
1
T
min
,r
2
T
min
, . . . r
i
T
min
r
i
>r
i−1
> . . . r
1>1 (7)
The following distribution can be obtained where intensity I3 is the greatest (Imax_1) that can be detected within Tmin:
where Ceff is the effective light integrating capacitance. It is to be appreciated that the lower threshold is not defined for the first check. However, the upper threshold TThr_1 is defined and will set the in this case I2 according to (and illustrated in
In this embodiment, the setting of I2 and TThr_1 is arbitrary, but is bounded by the comparator gain and offsets. In a second check, occurring after r1Tmin, the resulted signals by the four signals is shown in
Subsequently, I2 becomes Imax_2, and I3, which is greater will discharge below the lowest conversion limit BThr_2 and will not be converted at all as shown in
Since equation (9) equals equation (10), the following should hold:
The upper threshold TThr_2 and the lower detectable intensity I1 limit for the second check are:
Accordingly, knowing r2 and I1, TThr_2, the lower threshold for the third check will be determined similarly to the calculation shown in equation (11). The presented “stitching” should be repeated as shown in
In other embodiments, a CADR structure having separate comparator, performing wide dynamic range extension, and providing a preliminary condition to perform a full scale analog to digital converter is provided. It is to be understood that sharing components like comparators between the analog to digital converter and those, responsible for the wide dynamic range processing to reducing the amount of circuitry needed for the CADR implementation.
In another embodiment, the comparator 205 for wide dynamic range processing can be accommodated inside the analog to digital converter 210 as shown in
It is to be appreciated that further modifications are also contemplated. For example, the order of the mantissa and exponent production can be changed as shown in
Various advantages will now be apparent to a person of skill in the art. For example, an improved analog to digital conversion is provided where the conversion is conditional and starts when the signal to noise ratio is sufficient. Accordingly, this reduces under-exposed pixels, and poor signal to noise ratios at short exposures. Accordingly, the analog to digital conversion described above reduces missing codes in over-exposed pixels.
Additional advantages will now be also become apparent. Of note is that the embodiments described herein provide a wide dynamic range process involving conditional analog to digital conversion and reset (CADR), which implements a floating-point analog to digital conversion using temporally dispersed, conditional analog to digital pixel value conversions. The integration periods between the conditional conversions can be organized in an ascending order, ensuring that the brightest pixels are quantized first, such that the mantissa and exponent are produced after short captures and substantially before a frame ends. The derived thresholds provide improved pixel differentiation between successive integration periods. In particular, the lower threshold avoids a data override for already quantized pixels, while the upper threshold avoids the reset for under exposed pixels. Using CADR, the need for digital information on the previous integration cycles is not required, which reduces the number of operations required for the wide dynamic range imaging process. Accordingly, the computational resources used by the system are reduced allowing for increase speed of operation and/or reduction in the computational power of the system. Furthermore, the wide dynamic range process is independent of the matrix size.
As another example of an advantage, the wide dynamic range process sustains a uniform digital resolution and reduces the hardware circuitry for all the illumination levels compared conventional analog to digital solutions. In addition, the wide dynamic range process circumvents the data loss of over exposed pixels.
While specific embodiments have been described and illustrated, such embodiments should be considered illustrative only and should not serve to limit the accompanying claims.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/IB2018/059587 | 12/3/2018 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
62593333 | Dec 2017 | US |