Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DYNAMIC RANGE COMPRESSION METHOD
Document Type and Number:
WIPO Patent Application WO/2002/003675
Kind Code:
A2
Abstract:
A method for compressing the dynamic range of an image sensor (202) including a multiplicity of pixels. The method includes the steps of exposing each of the pixels to light and producing an associated photocurrent per pixel, representative of the light exposure. Then, on a per-pixel basis, controlling exposure time of each of the pixels on the basis of a monotonically rising convex function of the associated photocurrent of each of the pixel.

Inventors:
STARK MOSHE (IL)
Application Number:
PCT/IL2001/000612
Publication Date:
January 10, 2002
Filing Date:
July 03, 2001
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
VISION SCIENCES INC (US)
STARK MOSHE (IL)
International Classes:
G03B7/28; H04N1/00; H04N3/14; H04N5/235; H04N5/238; H04N5/353; H04N5/355; H04N5/369; H04N5/376; H04N; (IPC1-7): H04N
Foreign References:
US4471228A1984-09-11
US4706123A1987-11-10
US4839735A1989-06-13
US5666567A1997-09-09
US5712682A1998-01-27
US5812191A1998-09-22
US5867215A1999-02-02
US5877808A1999-03-02
US5887204A1999-03-23
US6137533A2000-10-24
Other References:
See also references of EP 1303978A2
Attorney, Agent or Firm:
Pearl, Zeev (Pearl, Latzer & Cohen-Zedek Gav Yam Center 2 Shenkar Street 7 Herzlia, IL)
Download PDF:
Claims:
CLAIMS
1. A method for compressing the dynamic range of an image sensor comprising a multiplicity of pixels, the method comprising the steps of: exposing each of said pixels to light and producing an associated photocurrent per pixel, representative of said light exposure; and on a perpixel basis, controlling exposure time of each said pixels on the basis of a monotonically rising convex function of said associated photocurrent of each said pixel.
2. The method according to claim 1, and further comprising the step of calculating said exposure time of each said pixel on the basis of said monotonically rising convex function.
3. The method according to claim 1, and further comprising the step of calculating said exposure time of each said pixel on the basis of said associated photocurrent.
4. The method according to claim 2, and wherein said step of controlling comprises the steps of: storing said calculated exposure times per pixel ; accessing said stored exposure times from said memory; and programming said pixels according to said accessed exposure times.
5. The method according to claim 1, further comprising calculating a first derivative of said monotonically rising convex function based upon a desired sensitivity of said exposure time of each said pixel..
6. The method according to claim 1, further comprising; accumulating charge generally linearly representative of said photocurrent; and calculating said photocurrent as a product of said accumulated charge.
7. An exposure controller for use in an image sensor comprising a multiplicity of pixels, the controller comprising: a memory for storing calculated exposure time values ; a perpixel parameter table containing local parameters of said pixels ; and a processor for combining based on a set of convergence criteria, said stored exposure time values and said parameters in order to determine, on a perpixel basis, an exposure time of said pixels.
8. The exposure controller of claim 7, wherein said set of convergence criteria is based on a set of algorithms capable of deriving an appropriate exposure time for every pixel based on said monotonically rising convex function.
9. The exposure controller of claim 8, wherein said set of algorithms is capable of deriving a fine tuned exposure time of said pixels.
10. The exposure controller of claim 7, wherein said exposure controller is a chipset external to said image sensor.
11. The exposure controller of claim 7, wherein said exposure controller is at least partially integrated on the same substrate as said image sensor.
Description:
Dynamic Range Compression Method FIELD OF THE INVENTION The present invention relates to methods and apparatus for controlling pixels in image sensors generally and per pixel manipulation in particular.

BACKGROUND OF THE INVENTION Figure 1 depicts a prior art charge integration pixel 10 located at the i-th row and a j-th column of a vision sensor (not shown). Pixel 10 comprises a photodetector represented by current source Iph (i, j), a switch 12, a capacitor 14 and a readout circuit 16. Switch 12 may be any type of sample and hold a device such as a semiconductor. Capacitor 14 functions as a storage device or, specifically, as an integration capacitor.

Pixel 10 generates photocurrent ph (i, j), which is generally proportional to the intensity of the light impinging on the photodetector. When closed, switch 12 conducts photocurrent ph (i, j) and charges the capacitor 14. In some embodiments, prior to charge integration, capacitor 14 is completely discharged.

In this instance, initial voltage Vinitial across the capacitor 14 is 0 and rises linearly with the accumulation of charge.

If photocurrent Iph (i, j) is time invariant during charge integration, and if switch 12 is shut for an exposure time t = tE (i, j), then an accumulated charge Qa may be calculated as per equation (1).

# (1)Qa(i,j) = Iph(i,j)#tE(i,j) The accumulated voltage VC (i, j) across capacitor 14 is: (2) (i, Iph(i,j)#tE(i,j) where Ci is the capacitance of capacitor 14.

Proof for the following is described in full in the attached Appendix.

Herein are some of the equations necessary for understanding the present

invention. For ease of understanding, the equation numbers in the specification correspond to those in the Appendix.

The ratio between the saturation voltage Vsca, and the cutoff voltage V,, is defined in equation (5) as the electrical signal dynamic range DRs.

From the Appendix it can be seen that for conventional sensors with global exposure time setting, the captured image dynamic range DR can be defined as in equation (12), For prior art image sensors with globally set exposure time, the captured image dynamic range DRL is equal to the electric signal dynamic range DRS and is exposure time invariant.

Some image sensors have individually per-pixel-controlled electronic shutters, such as those described in U. S. patent applications 09/426,452"Image Sensor's Unit Cell with Individually Controllable Electronic Shutter Circuit"and 09/516,168"Image Sensor Architecture for Per-Pixel Charge Integration Control". For those image sensors, the captured image dynamic range can be shown by equation (17): (17) DRL = DRs. DRT -twhere the shutter or exposure time dynamic range DRT is the ratio of the maximum to the minimum exposure time TE.

One result from (12) and (17) is that for image sensors with per-pixel-controlled electronic shutters, the captured scene dynamic range DRL may be at most an electrical signal dynamic range DRS times better than the prior art image sensor's dynamic range. For instance, if the electric signal dynamic range DRS is 1,000: 1, and the exposure time setup is in the same, then the captured scene dynamic range DRL can be 1,000,000: 1, or about

120db. Thus there is still an incentive to improve the electrical signal dynamic range, since it directly affects the results for image sensors with per-pixel-controlled electronic shutters.

In image sensors with per-pixel exposure time control, since the dynamic range is time dependant and can be significantly improved by efficient management of the exposure time tE, there is a need to develop a method and apparatus for definition of a generally optimal exposure time per cell, or pixel.

SUMMARY There is therefore provided, in accordance with an embodiment of the present invention, a method for compressing the dynamic range of an image sensor including a multiplicity of pixels. The method includes the steps of exposing each of the pixels to light and producing an associated photocurrent per pixel, representative of the light exposure. Then, on a per-pixel basis, controlling exposure time of each the pixels on the basis of a monotonically rising convex function of the associated photocurrent of each the pixel.

-The method may further include calculating the exposure time of each the pixel on the basis of the monotonically rising convex function and/or calculating the exposure time of each the pixel on the basis of the associated photoourrent. The method may also include calculating a first derivative of the monotonically rising convex function based upon a desired sensitivity of the exposure time of each the pixel.

The step of controlling may include storing the calculated exposure times per pixel, accessing the stored exposure times from the memory, and programming the pixels according to the accessed exposure times.

The method may further include accumulating charge generally linearly representative of the photocurrent and calculating the photocurrent as a product of the accumulated charge.

There is therefore provided, in accordance with an embodiment of the present invention, an exposure controller for use in an image sensor including a multiplicity of pixels. The controller may include a memory, a per-pixel parameter and a processor. The memory may store calculated exposure time values. The per-pixel parameter table may contain local parameters of the pixels. The processor may combine, based on a set of convergence criteria, the stored exposure time values and the parameters in order to determine, on a per-pixel basis, an exposure time of the pixels.

The set of convergence criteria may be based on a set of algorithms capable of deriving an appropriate exposure time for every pixel based on the monotonically rising convex function. The set of algorithms may be capable of deriving a fine tuned exposure time of the pixels.

The exposure controller may be a chip-set external to the image sensor, or alternatively, at least partially integrated on the same substrate as the image sensor.

BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the drawings, in which: Fig. 1 depicts a prior-art charge integration pixel located at the i-th row and a j-th column of a vision sensor; Fig. 2 is a graphic illustration (prior-art) voltage vc as a function of ph and exposure time TE ; Fig. 3 depicts the dynamic range compression function vc = f (Ip,,) ; Figs. 4A/B details one embodiment of an initial setup algorithm ;

Fig. 5 details one embodiment of a fine tune algorithm to be used in conjunction with the algorithm of Fig. 4; Fig. 6 is a block diagram representing the present invention as constructed and operated on an image sensor that facilitates individually controlled pixels.

DETAILED DESCRIPTION The present invention is a method for controlling dynamic range compression via usage of a monotonically rising convex function. The present specification outlines a set of methods, analytical and tabular functions, and algorithms for capturing images. The methods and algorithms described herein may be used in conjunction with the image sensors described in U. S. patent applications 09/426,452"Image Sensor's Unit Cell with Individually Controllable Electronic Shutter Circuit"and 09/516,168"Image Sensor Architecture for Per-Pixel Charge Integration Control", or with other image sensors capable of per-pixel electronic shutter control. The present invention may be applied to generally dynamic range compression.

In one embodiment of the present invention each pixel's exposure is controlled on the basis of its photocurrent, and is done in a way that allows implementation of a desirable dynamic range compression function.

Another embodiment of the present invention is a per-pixel exposure control hardware/firmware/software apparatus and an exposure time processor usable to derive the per-pixel electronic shutter value.

The present invention defines a class of dynamic range compression functions selectable from a generally infinite set of functions The class of functions exclusively used for compression is mathematically defined as monotonically rising convex functions, or functions which fulfill the following conditions: for phi >) ph2, f (<phi) > f (tph2), and f (Iphl) < f (Iph2), where f is the first

derivative of the function f by its argument Iph. Thus the derivative function is a monotonically falling function.

Out of an infinite range of possibilities, only the logarithmic function of the kind f (lph) = Ci + c2'log1o (Iph) is known to be used in prior art image sensors.

This function is implemented in logarithmic sensors; thus the sensors are capable of a logarithmic response but are incapable of individual per-pixel electronic shutter control.

Fig. 3 depicts three different functions for varying exposure times tE, including a representation of a dynamic range compression function vc = f (lph) useful in the shaping of the response in a pixel or unit cell. Typically, the function may be a monotonically rising convex function of ph.

A linear representation 30 illustrates the accumulated voltage V° when exposure time tE = tEMiN. A linear representation 34 illustrates the accumulated voltage vc when the exposure time tE = tEMAX. Finally, a linear representation 32 illustrates the accumulated voltage V° according to the monotonically rising convex function. For representation 32, when photocurrent phi > ph2 is in the cutoff photocurrent lah cl to saturation photocurrent IphSat range: (23) f (Iph1) > f (lph2), and The monotonically rising characteristics of the function ensure that original scene features are preserved.

# The monotonically falling characteristics of the first derivative result in larger accumulated voltage vc increments for photocurrents ph closer to the cutoff photocurrent IphC°, which equates to weaker light intensity signals.

Conversely, the voltage vc increments are smaller for photocurrents ph closer to saturation photocurrent lph, which equates to stronger signals. This results in generating greater signal swings for the weaker signals around the level of cutoff photocurrentlphco and smaller swings for the stronger signals around the saturation photocurrent Iphsat.

The first derivative of the function thus produces a change in the accumulated voltage vc as a result of a change in photocurrent Iph, and may be <BR> <BR> <BR> <BR> defined as a sensitivity function S (Iph), where,<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> df(Iph)<BR> (25) S(Inh) =<BR> <BR> <BR> dips For some applications it is desirable that the sensitivity be-high at or close to the cutoff photocurrent IphC°. This is advantageous even allowing for the tradeoff of less sensitivity closer to the saturation photocurrent lph Sat where stronger light-intensity swings are anticipated.

Please note that although the sensitivity itself is compression function dependant, the maximum captured scene dynamic range DRL is not, as has been demonstrated in formulas (17) and (18).

Another feature of the monotonically rising convex function is that there is a one-to-one correspondence between the accumulated voltage V° function values and the photocurrent ph function. The monotonically rising convex function is inverse only in the range between cutoff and saturation photocurrents IphCO and IphSat. This means that there exists a function fl for which, (26) Iph = f-1 in the range [VccOy Vsat] It is important to note that this feature enables the calculation of photocurrent ph on the basis of a measurable voltage vc (Fig. 1). This in-turn allows for determining the exposure time tE for every pixel, to be described hereinbelow.

The dynamic range compression function can be selected to meet the required performance or the observer's taste. Included within the scope of this invention are other applicable functions that are of the monotonically rising, convex type, which can be presented either in an analytical or in a tabular form.

While prior art has emphasized the usage of logarithmic functions, it is asserted that alternative functions, such as the monotonically rising convex function, are applicable.

Logarithmic function, such as that followed by the human eye's retina response, is well-known and widely used. For the logarithmic function, which spans the entire dynamic range, it can be demonstrated that, Thus, for a logarithmic dynamic range compression function, the sensitivity S is inversely proportional to photocurrent ph or inversely proportional to the light intensity.

One method for shaping the dynamic range to meet the required compression function is described now. The present invention describes a method and apparatus for setting the exposure time tE for each pixel to accomplish a high dynamic range which complies with the selected dynamic range compression function on one hand and with the captured scene on the other.

The exposure time setup may be divided into two parts, an initial setup and fine tuning, illustrated in Figs. 4A/B and 5 respectively.

Reference is now made to Figs. 4A/B, a block diagram illustrating an initial setup process 40. Process 40 comprises three phases: a charge integration phase (steps 42-56), an identification of always-off pixels phase (steps 58-80) and an identification of always-on pixels phase (steps 82-102).

Charge integration phase: Process 40 commences (step 42) with selection of the pixel at location (i = 0, j = 0) (step 44). The time exposure te of the pixel at (i = 0, j = 0) is set to tEMIN (step 46). Via steps 48-54, process 40

increments from pixel to pixel along both the V and the H axis, setting the time exposure tE of each pixel to tE MIN. The loop of steps 46-54 is completed when the time exposure tE of the last pixel at the location (i=H-1, j = V-1) (steps 48 and 54, respectively) is set to tEMIN. In step 56 an image is captured and there is charge integration of all the pixels.

It is noted that, similarly, process 40 could commence with initializing all the pixels to tEmax rather than to tE""".

Identification of the"Always off'Pixels (always saturated). This phase commences with selection of the pixel at location (i = 0, j = 0) (step 58).

In step 60, the voltage Vu ouf the pixel is read. If the voltage Vc accumulated (during the exposure time tEmin) is greater than the saturation value VCsat (step 62), their exposure setup is left unchanged at tEmin.

It is noted that the assumption is that the voltage VC (i, j) over the integration capacitor is directly measurable. Alternatively, even without this assumption, an output voltage Vout (i, j)-video output signal may represent the VC (i, j). There are also Vout values that correspond to Vco, and Vcsat.

For pixels whose voltage V° (i, j) is in the linear range, e. g. Vcco < VC (i, j) < VcSat, (step 64) the photocurrent ph is calculated (step 66), and the exposure time tE is adjusted (step 68) to match the dynamic range compression function f (Iph). Pixels that fall below the cutoff (step 64) are assigned maximal exposure time tE (step 70).

Via steps 72-78, the process 40 increments from pixel to pixel along both the V and the H axis, repeating steps 60-70, as appropriate, until the last pixel at the location (i =H-1, j = V-1) (steps 72 and 78, respectively) are assigned an exposure time. In step 80 an image is captured and there is charge integration of all the pixels.

Identification of the"Always On"Pixels. This phase commences with selection of the pixel at location (i = 0, j = 0) (step 82). Only pixels that were at cutoff in the previous cycle are checked, e. g. those pixels whose exposure time

is set to tEmax in step 70. In an alternative embodiment, all the pixels may be rechecked.

In step 84, the voltage V° of the pixel is read. If the measured-VC (i, j) is below the cutoff (VC (i, j) < V°co) (step 88), the exposure time is left at maximum, i. e. temax. If the measured value is in the linear range (step 88), the photocurrent Iph is calculated (step 90) and voltage VC (i, j) is adjusted (step 92) to match the dynamic range compression functionf(tph)..*" Via steps 94-100, process 40 increments from pixel to pixel along both the V and the H axis, repeating steps 84-92, as appropriate until the last pixel at the location (i =H-1, j = V-1) (steps 94 and 100, respectively) are assigned an exposure time. Process 40 ends at step 102.

Reference is now made to Fig. 5, a block diagram illustrating a fine tuning process 110. During process 110 corrections are made to those pixels that fall within the linear operation range. The corrections are performed cyclically for all the pixels, such that the match-up to the dynamic range compression function is improved. The corrections may be aborted if a desirable convergence is accomplished or based upon other criteria or considerations.

In theory, an image sensor behaves linearly and the integration capacitor's voltage rises linearly with time for a constant photocurrent ph between the cutoff and saturation photocurrent IphC and Iph, respectively. In this case, the photocurrent ph derived during the initial setup process 40 may be generally precise. Also, the exposure time tE derived to match the desired dynamic range compression function is generally accurate.

In practice, the linearity assumption may be correct to the first order approximation. Also, the integration capacitor value Cl may vary somewhat with voltage vC and with pixel location.

The method described in Fig. 5 is adapted to account for inaccuracies and to finely tune the exposure time tE to compensate for non-linearity and for skews. The method is based on the accurate tracking by the voltage vc of the dynamic range compression function.

The method corrects the exposure time tE values until the disparity between the measured integration capacitor's voltage vC and the dynamic range compression function value reaches a desirable accuracy.

It is noted that when the f (Iph) function value is equal to the measured voltage VC (i, j), the current exposure time tE (l, j) and the new calculated exposure time tE new are the same. The method also takes into account-. that during the process of tuning the exposure time tE (l, j), the accumulated voftage V° (i, j) may exceed the"linear"range and corrects the exposure time tE accordingly.

Process 110 starts (step 112) with the assumption that the exposure time for each pixel has been initially set as described in process 40. Then, an image capture takes place, e. g. charge integration (step 114). In step 116 the process commences with the pixels at location (i = 0, j = 0) and the voltage vc is read (step 118). If the VC (i, j) falls into the linear range (step 120), an exposure time tE correction takes place (steps 122-124); First, photocurrent Iph is calculated on the basis of the measured VC (i, j) and the integration capacitor capacitance C, (step 122). A new exposure time tE new is then calculated to adjust for the measured integration capacitor voltage vc (step 124).

The new exposure time tEnew is checked to see if it falls in the exposure time range of [tEmin, tEmax] (step 126). If the newly calculated exposure time is below the minimum (step 128), it is set to tEmin (step 130). If it is above the maximum, it is set to tEmax (Step 131). If the exposure time tE new is in the exposure time range of [tEmin, tEmax], and if the difference between the exposure time new and the current value tE is greater than C-tE (step 134), the current exposure time tE value is replaced with the newly calculated value tEnew. EtE is an empirically set programmable value.

After the entire array is scanned (steps 138-142 are used for incrementation of the pixels, and steps 118 to 138 are repeated for all pixels), a decision is made (step 142) whether to continue or discontinue (step 144) the fine-tune process. This decision may be based upon reaching a desirable convergence criteria, in average, or in the worst case. Also, the decision may be based upon the observer's subjective impression.

The exposure time fine-tuning method 110 is one representation of many potential variations, all of which are encompassed by the principles of the present invention. Alternatives or variations to the present invention are as follows : Per-pixel parametric tables: The capacitance cl, saturation voltage VCsatX cutoff voltage VCco, and other parameters which might vary with the pixel location, may be determined on a per-pixel basis and-stored in the image-sensor's pixel-associated memory tables (not shown). The methods described here above and similar methods may be modified accordingly.

The photocurrent Iph and the exposure time tE may be calculated using local parameters rather than global constants. That is, capacitance Cl, saturation voltage VcSat, cutoff voltage VcCO may be replaced by C, (i, j), Vcsat (i, j), and VCco (i, j) respectively. This may result in a faster convergence.

Accounting for noise: Due to noise, the exposure time tE may fluctuate. In order to reduce noise dependant fluctuations, the evaluation of the new exposure time new may be modified as follows : where N (i, j) is the number of image acquisition iterations per pixel in the (i, j) location, for which the integration capacitor's voltage Vc is in the linear region.

Convergence Criteria: Convergence criteria based upon the standard deviation may be used: {[N(i,j)-1)#[#tE(i,j)]2+[tnewE(i,j)-tE(i,j)2}1/2 (30) #tnewE(i,j)= N (i, i) where atE (i, j), is the standard deviation in tE (i, j) after the N-1 th iteration, and #tEnew(i,j) is the new standard deviation calculated after the

current iteration. Further exposure time iterations can be stopped, if the worst case otE (i, j) for any i, and j is below a certain otE value. That is, (31) (TtE (i, j) < #tE, for any 0 # i # H-1, and any 0 # j # V-1 Alternatively, the average exposure time deviation being below a certain o tE value can serve as the fine-tune termination criteria, that is, The two convergence criteria may be combined. Also, the convergence criteria may be combined with the observer's subjective judgement as to when the result accomplished is satisfactory.

Reference is now made to Fig. 6, a block diagram of a pixel electronic shutter control system 200 and associated image sensor, based on the considerations and the methods presented in Figs. 4 and 5. System 200 facilitates individually controlling each pixel.

System 200 may comprise an image sensor 202, an analog-to-digital (A-to-D) converter 204, an exposure controller 206, an exposure memory array 208 and an optional pixel parameter memory array 209.

A-to-D converter 204 may comprise an analog input that is connectable to video output of image sensor 202 for receipt of an analog video Vout. Converter 204 samples video output Vout in-sync with the video pixel-outgoing rate, and converts the analog video Vout into digital video DVout.

Thet digital video DVout may be output from converter 204 on the n-bit DVout, where n may be equal to or greater than q, the number of bits of the digitally-stored exposure time tE (i, j) values.

The exposure controller 206 receives digital video DVout from the converter 204 and calculates the new set of exposure time values tE (i, j). An exposure controller program 214 may be stored in an internal or external program memory 210.

Controller 206 may calculate the photocurrent ph on the basis of the digital video DVout. Digital video DVout corresponds to voltage which in-turn corresponds to the integrated charge Qa stored in the capacitor.

Controller 206 may also calculate the initial and the finely-tuned exposure time value tE (i, j) to match the selected dynamic range compression function f (lph), for each pixel individually. These calculations may be based on processes 40 and 110. Alternatively, the dynamic range compression function f (lph) may be selected from a dynamic range compression function menu, such as a parameter table 212.

Controller 206 may then store the calculated q-bits wide tE (i, j) values in exposure time memory 208. The storage may be done at pixel video rate.

Memory 208 may then load the new exposure time tE into the image sensor 202. Controller 206 may control the loading.

The loading may be performed after the completion of the next-to-be-used exposure time values calculation and their storage in the exposure memory 208. Alternatively, the tE (i, j) calculations, their storage in the memory 208, and their loading to image sensor 202 may be performed concurrently. This is especially useful for real-time video image sensors that have to keep up with the video frame rate.

Controller 206 may decide whether to continue image acquisitions and subsequent exposure time calculation iterations or to stop.

Memory 208 may be an H X V memory array, which stores the q-bit tE (I,) values.

The array may be addressed using the column, the row-, and-i, j indexes. During the charge integration process, the image sensors may be programmed by loading, in one batch for the entire image sensor array, the k-th exposure time bit, which is then subject to integration of length Tl. It is noted that the integration time can be of any length.

Concurrently with the integration for the k-th bit, the image sensor is programmed for the i-th bit integration. After the integration, that corresponds

to the k-th bit is completed, the integration for the i-th bit can start. It is noted that the programming/integration of all the q bit-planes can be done in any sequence, and the plane bits may be loaded line after line, p bits at a time.

It is noted that each of the functions described can be integrated on the same die with the image sensor or be a part of a separate chip.

The per-pixel exposure time processor may be implemented either externally to the image sensor in a form of a chip-set, or to be partially, or fully integrated on the same substrate with the pixel.

The algorithm for the calculation on the new exposure value tE" (i, J) may be based on a per pixel parameter table formulated in equation (29). It is noted that additional memory array may be required to store the N (i, j) values.

The algorithm for the calculation of the standard deviation in exposure time a tE (i, j) formulated in equation (30) also requires an array storage for N(i, j).

An image sensor with per-pixel electronic shutter control enables individual control of each pixel's exposure time and thus allows implementation not only of dynamic range compression but many other useful effects as well.

Thus, an image sensor along with the apparatus described herein, may select a variety of functions given in an analytical or a tabular form that can be used to achieve a variety of effects.

It will be appreciated by persons skilled in the art that the present invention is not limited to what has been particularly shown and described hereinabove. Rather the scope of the present invention is defined by the claims that follow :

APPENDIX Accumulated voltage V° (i, j) complies with equation (2) in the region between a lower cutoff voltage V°co and an upper saturation voltage VCsat.

Cutoff voltage V°co is typically the lowest possible voltage, in absolute potential value, that can be separated from noise. Below the cutoff value, the signals are too small to represent meaningful information and are considered to be in the cutoff region. Saturation voltage Vsat is the highest possible voltage, in absolute potential value, that does not result in signal clipping.

Although saturation voltage VcSat and cutoff voltage VcCO may vary slightly due to the die, location, and process dependant skews of each individual image sensor, for the present analysis, it will be assumed that voltages Visa, and V°co are constant in their value.

Based upon equation (2) and for a specific exposure time tE, the saturation photocurrent lph Sat (i, j) and the cutoff photocurrent IphC° (i, j) that cause saturation and cutoff, respectively, are: The values of saturation photocurrent Iphsat (i, ;) and cutoff photocurrent IphCO (i, j) define, for a specific exposure time tE, the photocurrent ph boundaries that define the image sensor's region of operation, and also the electronic limitations of the sensing circuit. It is noted that each image sensor may have different boundary values, resulting from variables such as quality of the optics, degree of quantum efficiency, choice of processes used to manufacture the sensor, and differing circuit designs.

The ratio between the saturation photocurrent IphSat(i,j) and cutoff photocurrent IphC° (i, j) is defined in equation 5 as the electrical signal dynamic range DRs.

A typical image sensor's electric signal dynamic range DRs is in the order of 1000: 1. The dynamic range DRs is sometimes described in decibels, which is, For a typical image sensor, and in decibels, the electrical signal dynamic range DRs is about 60 dB.

It is noted that the electric signal dynamic range DRs is not a captured image dynamic range DR', although the two values may be the same for the some common types of image sensors. The captured image dynamic range DR'is defined as, where DRL is the light-intensity dynamic range or the ratio between the maximum saturation photocurrent IphSat(i,j) and minimum cutoff photocurrent IphCO (i, j), for any (i, j) in the 0 # i < V-1 and 0 < j < H-1 range.

For prior art image sensors, all pixels are exposed for the same exposure time tE. Exposure time tE may vary in the range tEmin to tEmax where, tEmin is the image sensor's minimal exposure time, and tEmax is the image sensor's maximal exposure time.

It is noted that for the prior art image sensor the exposure time tE may vary, however all pixels vary together and their charge integration is identical.

For the purpose of analysis let us assume that the stared-at [ ? ?] scene is of extremely wide dynamic range (infinite), and is limited only by the image sensor's capabilities. For the prior art image sensors where the exposure time is set to tEmin, the corresponding saturation and cutoff photocurrent values Iphsat and lph co are :

For this particular situation the captured scene dynamic range DR derived from (8) and (9) is, Similarly, for the maximum exposure it can be derived that the dynamic range is, and for any exposure time tE set between the minimum and the maximum, for prior art image sensors, the captured image dynamic range DR is, and thus, with globally set exposure time tE, the captured image dynamic range DRL is equal to the electric signal dynamic range DRS and is exposure time invariant.

Reference is now made to Fig. 2 a graphic demonstration of equation 12.

Fig. 12 depicts the accumulated voltage Vc as a function of photocurrent Iph, and exposure time tE for three different voltages vc A linear representation 20 illustrates the accumulated voltage V° when exposure time tE = tE MIN. A linear representation 22 illustrates the accumulated voltage vc when exposure time tE < tE < tE A linear representation 24 illustrates the accumulated voltage V° when the exposure time tE = tE

The basic observation is that although the function of the accumulated voltage vc varies as a function of the exposure time tE, the function slope is invariant, and so is the captured scene dynamic range.

In image sensors per-pixel electronic shutters the exposure time tE of each pixel can be individually set within a range of exposure times from tEmin to tEmax such that when photocurrent lphl (i, j) > Iph2 (i, j), the exposure time tE2 (i, j) < tE1 (i, j) and the accumulated voltage Vc2 > Vc1.

Based on these assumptions, the image sensor's maximum saturation photocurrent Zizis : and the minimum cutoff photocurrent Ici ils ; Therefore, for image sensors with per-pixel electronic shutters, the captured scene dynamic range DRL when the shutter is set according to (13) and (14) is: Therefore, for image sensors with individually per-pixel-controlled electronic shutters, the shutter or exposure time dynamic range DRT is the ratio of the maximum to the minimum exposure time tE. The electronic shutter values may be set within the exposure time range.

The maximum exposure time dynamic range DRT is a quality indicator for this type of an image sensor. It determines, along with the electrical signal dynamic range DRS, the captured scene dynamic range DRL.

For image sensors that support real-time video, DR of 1,000: 1 is feasible. For still video image sensors of this type, DRT is theoretically limitless, as there are no constraints on the total programming of the exposure time.

However, there is a practical useful limit to DRT.

Assuming that DRT, DRS and that the available electric signal is utilized to the maximum, for tE""", vc = VCco, and for tEmax, vc = VCsat. This set-up provides complete utilization of the entire linear region. As such, DRT = DRS.

For tE tE'", and for tE 3 tEmax, Vc # VcSat, the Vc range must be set in such a way that. V° 3 VccOX and V° # VcSat. Otherwise, the output signal infringes the saturation or/and cut-off regions, respectively. Therefore, (19) DRT s DRS, and therefore (20) DRL # (DRS)2 One result of (19) and (20) is that for image sensors with per-pixel-controlled electronic shutters, the captured scene dynamic range DRL may be at most an electrical signal dynamic range DRS times better than the prior art image sensors'dynamic range. For instance, if the electric signal dynamic range DRS is 1,000: 1, and the exposure time setup is in the same, then the captured scene dynamic range DRL can be 1,000,000: 1, or about 120db. Thus there is still an incentive to improve the electrical signal dynamic range, since it directly affects the results for image sensors with per-pixel-controlled electronic shutters.

Dynamic range may also be expressed in decibels : For image sensors with per-pixel exposure time control, the following is true: (22) DRLdb # 2XDRSdb