CMOS active pixel sensors represent a digital solution to obtaining an image of an impinging scene. CMOS technology enables integrating electronics associated with the image sensing onto the chip. This includes, for example, one or more analog-to-digital converters on the chip, as well as timing and control circuitry.
One important feature of a well-defined image is an amount exposure. Some cameras include automatic gain and exposure control. The automatic gain and exposure control determines if the image is underexposed or overexposed, and can adjust some feature of the image acquisition to correct the exposure amount.
Existing CCD cameras select the exposure time based on some feature of the scene being imaged. Some cameras, for example, compute the average intensity over the entire pixel array. Other cameras compute the average intensity over a central area of the CCD. The average is often calculated by a digital signal processor which is separate from the CCD chip.
The present system teaches a programmable threshold indicator based on accumulated and programmable measurements of image pieces. The digital image data stream is analyzed by the counting the number of samples within a given interval of intensities to form information indicating an image histogram. The sample count is compared with programmable thresholds.
The inventors recognize that in some particular images, exposure control by simply computing the average of the image could produce disadvantageous results. For example, consider a scene of black and white stripes. Fifty percent of the image could be very bright, and the other fifty percent could be completely dark. The average is fifty percent which could be considered the correct exposure. Both image portions from the bright scene and the dark scene, however, could be poor.
The present system provides a programmable threshold indicator based on measurements of various portions of the image. A block diagram of the system is shown in
Active pixel image sensor 100 includes an array of units, e.g., rows and columns, of CMOS active pixels. Each preferably includes an in-pixel buffer transistor configured as a source follower, and an in-pixel row or column select transistor. The output of the sensor can be provided either single pixel at a time, or as a parallel group of pixel units 102 to the analog-to-digital converter 104. ADC 104 preferably produces an 8-bit output 106. The two to three most-significant bits of the analog-to-digital converter are usually enough to analyze intensity distribution.
The three most-significant bits 108 are coupled to pixel characterization elements 110. These detect whether the states of the three bit output 108 have a specified characteristics. When the states have the specified characteristics, the decoder produces an output. Counters 112 count the output, effectively counting the number of times that the bits are coincident with the values. Therefore, the counters 112 keep a count, for each frame, of the number of samples which have specified values.
A number of thresholds are maintained by I/O register 114. Comparing elements 116 compare the counter outputs with the thresholds from the interface register. If one or more of these thresholds are exceeded, then decision block 118 produces a command to either increment or decrement the exposure: e.g., the shutter width or gain of image acquisition. This can be done frame by frame, or for a group of frames.
A first embodiment uses a two-threshold simple-scheme. This takes into account only the two most-significant bits. In this scheme, the relative number of data whose MsBs are “11” are counted. The number of data in the lower half segment of the data scale (e.g. the most significant bit [MSB] is equal to 0) is also counted. The data “11” is considered as being close to saturation. An exemplary threshold for the amount of that data can be thirty percent. Similarly, the tolerance for “dark” data, in which the MSB is zero, is restricted to be 75%. Step 202 detects if the first threshold in which both major bits are “11” for more than thirty percent of the data. This is taken as an overexposed condition at 204 and the integration time or gain is lowered. The second threshold is investigated at 210. If five percent of the data is dark (MSB is 0), the data is taken as underexposed data and the integration time or gain is increased.
The thresholds must be selected with an amount of hysteresis which is effective to avoid oscillations when the image has many contrasts i.e. between black and white. For example, the sum of the two percentages should exceed 100 percent.
A second embodiment which operates according to the flowchart of
If the result of step 410 is No, step 420 tests if the relative number of samples is more than 30 percent. If so, the image is considered as being normally overexposed at 422. A tuning decrement T is applied at step 422 where T less than H.
If the relative number of sample c, the very dark pixels, is more than 75 percent at step 430, then the image is considered as seriously underexposed. In this case, the exposure/gain is incremented by the higher value H at step 432.
Finally, if none of the other steps are true, the relative number of samples b, that is moderately dark pixels that are not very dark, are tested at 440. If this value is more than 75 percent detected at step 416, then the image is considered as moderately dark at 442. A tuning increment T is added to the exposure or gain.
This can be carried out on a frame by frame basis. These thresholds can also be programmable, to allow more bright or dark scenes. The programmable thresholds can be made by user manual intervention, or by an automatic intervention from the computer system.
An example circuitry is shown in
Although only a few embodiments have been disclosed above, other modifications are within the disclosed features.
For example, the system as described could be carried out using a processor or a digital signal processor. Preferably, however, all of the subjects in
Although the invention herein has been described with reference to particular embodiments, it is to be understood that these embodiments are merely illustrative of the principles and applications of the present invention. It is therefore to be understood that numerous modifications may be made to the illustrative embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims.
This application is a continuation of U.S. application Ser. No. 12/706,382 which was filed on Feb. 16, 2010 and is scheduled to issue as U.S. Pat. No. 8,054,339 on Nov. 8, 2011, which is a continuation of U.S. application Ser. No. 12/637,224, which was filed on Dec. 14, 2009, which is a continuation of U.S. application Ser. No. 11/121,956, which was filed on May 5, 2005 and issued as U.S. Pat. No. 7,646,407, which is a continuation of U.S. application Ser. No. 09/298,306, which was filed on Apr. 23, 1999, which issued as U.S. Pat. No. 6,906,745, which claims the benefit of the U.S. Provisional Application No. 60/082,793, which was filed on Apr. 23, 1998, the entire disclosures of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4684995 | Baumeister | Aug 1987 | A |
4686648 | Fossum | Aug 1987 | A |
4744623 | Prucnal et al. | May 1988 | A |
4776925 | Fossum et al. | Oct 1988 | A |
4920069 | Fossum et al. | Apr 1990 | A |
5055900 | Fossum et al. | Oct 1991 | A |
5079622 | Toshinobu | Jan 1992 | A |
5080214 | Fossum | Jan 1992 | A |
5194960 | Ota | Mar 1993 | A |
5236871 | Fossum et al. | Aug 1993 | A |
5386128 | Fossum et al. | Jan 1995 | A |
5471515 | Fossum et al. | Nov 1995 | A |
5504524 | Lu et al. | Apr 1996 | A |
5512950 | Watanabe et al. | Apr 1996 | A |
5548773 | Kemeny et al. | Aug 1996 | A |
5638123 | Yamaguchi | Jun 1997 | A |
5665959 | Fossum et al. | Sep 1997 | A |
5710954 | Inoue et al. | Jan 1998 | A |
5734426 | Dong | Mar 1998 | A |
5793322 | Fossum et al. | Aug 1998 | A |
5822222 | Kaplinsky et al. | Oct 1998 | A |
5841126 | Fossum et al. | Nov 1998 | A |
5880691 | Fossum et al. | Mar 1999 | A |
5886659 | Pain et al. | Mar 1999 | A |
5887049 | Fossum | Mar 1999 | A |
5909026 | Zhou et al. | Jun 1999 | A |
5920274 | Gowda et al. | Jul 1999 | A |
5949483 | Fossum et al. | Sep 1999 | A |
5952645 | Wang et al. | Sep 1999 | A |
5990506 | Fossum et al. | Nov 1999 | A |
5995163 | Fossum | Nov 1999 | A |
6005619 | Fossum | Dec 1999 | A |
6008486 | Stam et al. | Dec 1999 | A |
6021172 | Fossum et al. | Feb 2000 | A |
6040860 | Tamura et al. | Mar 2000 | A |
6057539 | Zhou et al. | May 2000 | A |
6061091 | Van de Poel et al. | May 2000 | A |
6124891 | Homma et al. | Sep 2000 | A |
6141047 | Kawai et al. | Oct 2000 | A |
6282462 | Hopkins | Aug 2001 | B1 |
6486503 | Fossum | Nov 2002 | B1 |
6515701 | Clark et al. | Feb 2003 | B2 |
6816200 | Gough | Nov 2004 | B1 |
6906745 | Fossum et al. | Jun 2005 | B1 |
7646407 | Fossum et al. | Jan 2010 | B2 |
8040394 | Fossum et al. | Oct 2011 | B2 |
8054339 | Fossum et al. | Nov 2011 | B2 |
20100134653 | Fossum et al. | Jun 2010 | A1 |
Number | Date | Country | |
---|---|---|---|
20120057047 A1 | Mar 2012 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12706382 | Feb 2010 | US |
Child | 13290631 | US | |
Parent | 12637224 | Dec 2009 | US |
Child | 12706382 | US | |
Parent | 11121956 | May 2005 | US |
Child | 12637224 | US | |
Parent | 09298306 | Apr 1999 | US |
Child | 11121956 | US |