In accordance with the principles of the present invention, a digital imaging system implementing ambient light rejection using active illumination utilizes a digital pixel sensor to realize a high speed intra-frame capture rate. The active illumination is implemented using an external light source under the control of the digital imaging system to provide synchronized active illumination. The digital imaging system performs multiple captures of the scene to capture at least one ambient lighted image and at least one active-and-ambient lighted image within a video frame. The difference of the ambient lighted image and the active-and-ambient lighted image is obtained to generate an output image where the ambient light component of the image is removed and only the active illuminated component of the image remains. The digital imaging system provides high quality and high resolution ambient rejected images under a wide range of lighting conditions and fast motions in the scene.
The digital imaging system of the present invention exploits the massively parallel analog-to-digital conversion capability of a digital pixel sensor to realize a high capture rate. Furthermore, multiple sampling can be applied to improve the dynamic range of the final images. In this manner, the digital imaging system of the present invention generates high resolution ambient light rejected images while avoiding many of the disadvantages of the conventional methods.
More specifically, by using a digital pixel sensor to realize a very high image capture rate, the digital imaging system can capture a pair of ambient lighted and active-and-ambient lighted images in rapid succession so as to minimize the impact of lighting changes or motions in the scene. That is, each ambient lighted or active-and-ambient lighted image can be captured at a high capture speed and the pair of images can be captured as close in time as possible, with minimal delay between the ambient lighted and the active illuminated image captures. When the ambient lighted image and the active-and-ambient lighted image are capture in close temporal proximity, the two images can be in registration, or aligned, with each other so that ambient cancellation can be carried out effectively and a high resolution ambient rejected output image is obtained.
In particular, when the digital imaging system is applied in a video imaging application, the digital imaging system can carry out multiple image captures within the standard video frame rate (e.g., 60 frames per second or 16 ms per frame). By performing multiple intra-frame image captures, each pair of ambient light and active-and-ambient lighted images can be taken in close temporal proximity to avoid the impact of lightning changes or motions in the scene.
Furthermore, the digital imaging system of the present invention is capable of realizing a very high ambient light rejection ratio. In many applications, due to safety and power consumption concerns, the amount of light generated by the external light source is limited. When the light provided by the external light source is weak, it becomes challenging to distinguish the active-illuminated component of an image in the presence of bright ambient light, such as direct sunlight. The digital imaging system of the present invention achieves high ambient light rejection ratio by minimizing the exposure time while increasing the peak external light source power. Because the digital imaging system is capable of a fast capture rate, the digital imaging system can operate with the shorter exposure time while obtaining still providing a high resolution image. When the peak external light source power is increased, the duty cycle of the imaging system is shortened to maintain the total power consumption over time.
System Overview
Digital image sensor 102 is an operationally “stand-alone” imaging subsystem and is capable of capturing and recording image data independent of digital image processor 104. Digital image sensor 102 operates to collect visual information in the form of light intensity values using an area image sensor, such as sensor array 210, which includes a two-dimensional array of light detecting elements, also called photodetectors. Sensor array 210 collects image data under the control of a data processor 214. At a predefined frame rate, image data collected by sensor array 210 are read out of the photodetectors and stored in an image buffer 212. Typically, image buffer 212 includes enough memory space to store at least one frame of image data from sensor array 210.
In the present embodiment, data processor 214 of digital image sensor 102 provides a control signal on a bus 224 for controlling a light source 250 external to digital imaging system 100 to provide controlled active illumination. In this manner, data processor 214 asserts the control signal whenever active illumination is desired to enable an image capture in synchronous with the active illumination. In the present embodiment, the external light source is a light emitting diode (LED) and data processor 214 provides an LED control signal to cause LED 250 to turn on when active illumination is required. In other embodiments, the external light source can be other suitable light source, such as infrared (IR) illumination.
Image data recorded by digital image sensor 102 is transferred through an image sensor interface circuit (IM I/F) 218 to digital image processor 104. In the present embodiment, digital image sensor 102 and digital image processor 104 communicate over a pixel bus 220 and a serial peripheral interface (SPI) bus 222. Pixel bus 220 is uni-directional and serves to transfer image data from digital image sensor 102 to digital image processor 104. SPI bus 222 is a bi-directional bus for transferring instructions between the digital image sensor and the digital image processor. In digital imaging system 100, the communication interface between digital image sensor 102 and digital image processor 104 is a purely digital interface. Therefore, pixel bus 220 can implement high speed data transfer, allowing real time display of images captured by digital image sensor 102.
In one embodiment, pixel bus 220 is implemented as a low-voltage differential signaling (LVDS) data bus. By using a LVDS data bus, very high speed data transfer can be implemented. Furthermore, in one embodiment, SPI bus 222 is implemented as a four-wire serial communication and serial flash bus. In other embodiments, SPI bus 222 can be implemented as a parallel bi-directional control interface.
Digital image processor 104 receives image data from digital image sensor 102 on pixel bus 220. The image data is received at an image processor interface circuit (IP I/F) 226 and stored at a frame buffer 228. Digital image processor 104, operating under the control of system processor 240, performs digital signal processing functions on the image data to provide output video signals in a predetermined video format. More specifically, the image data stored in frame buffer 228 is processed into video data in the desired video format through the operation of an image processor 230. In one embodiment, image processor 230 is implemented in part in accordance with commonly assigned and copending U.S. patent application Ser. No. 10/174,868, entitled “A Multi-Standard Video Image Capture Device Using A Single CMOS Image Sensor,” of Michael Frank and David Kuo, filed Jun. 16, 2002 (the '868 application), which application is incorporated herein by reference in its entirety. For example, image processor 230 can be configured to perform vertical interpolation and/or color interpolation (“demosaicing”) to generate full color video data, as described in the '868 application.
In accordance with the present invention, image processor 230, under the command of system processor 240, also operates to perform ambient light cancellation between a pair of ambient lighted and active-and-ambient lighted images, as will be described in more detail below.
In one embodiment, digital imaging system 100 is implemented using the video imaging system architecture described in commonly assigned and copending U.S. patent application Ser. No. 10/634,302, entitled “Video Imaging System Including A Digital Image Sensor and A Digital Signal Processor,” of Michael Frank et al., filed Aug. 4, 2003, which application is incorporated herein by reference in its entirety.
The output video signals generated by image processor 230 can be used in any number of ways depending on the application. For example, the signals can be provided to a television set for display. The output video signals can also be fed to a video recording device to be recorded on a video recording medium. When digital imaging system 100 is a video camcorder, the TV signals can be provided to a viewfinder on the camcorder.
In the present description, digital imaging system 100 generates video signals in either the NTSC video format or the PAL video format. However, this is illustrative only and in other embodiments, digital imaging system 100 can be configured to support any video formats, including digital television, and any number of video formats, as long as image processor 230 is appropriately configured, as described in details in the aforementioned '868 application.
The detail structure and operation of digital imaging system 100 for implementing ambient light rejection will now be described with reference to
Digital Image sensor
Digital imaging system 100 uses a single image sensor to capture video images which are then processed into output video data in the desired video formats. Specifically, digital image sensor 102 includes a sensor array 210 of light detecting elements (also called pixels) and generates digital pixel data as output signals at each pixel location. Digital image sensor 102 also includes image buffer 212 for storing at least one frame of digital pixel data from sensor array 210 and data processor 214 for controlling the capture and readout operations of the image sensor. Data processor 214 also controls the external light source 250 for providing active illumination. Digital image sensor 102 may include other circuitry not shown in
In the present embodiment, sensor array 210 of digital image sensor 102 is implemented as a digital pixel sensor (DPS). A digital pixel sensor refers to a CMOS image sensor with pixel level analog-to-digital conversion capabilities. A CMOS image sensor with pixel level analog-to-digital conversion is described in U.S. Pat. No. 5,461,425 of B. Fowler et al. (the '425 patent), which patent is incorporated herein by reference in its entirety. A digital pixel sensor provides a digital output signal at each pixel element representing the light intensity value detected by that pixel element. The combination of a photodetector and an analog-to-digital (A/D) converter in an area image sensor helps enhance detection accuracy, reduce power consumption, and improves overall system performance.
In the present description, a digital pixel sensor (DPS) array refers to a digital image sensor having an array of photodetectors where each photodetector produces a digital output signal. In one embodiment of the present invention, the DPS array implements the digital pixel sensor architecture illustrated in
In the digital pixel sensor architecture shown in
In one embodiment of the present invention, the ADC circuit of each digital pixel or each group of digital pixels is implemented using the Multi-Channel Bit Serial (MCBS) analog-to-digital conversion technique described in U.S. Pat. No. 5,801,657 B. Fowler et al. (the '657 patent), which patent is incorporated herein by reference in its entirety. The MCBS ADC technique of the '657 patent can significantly improve the overall system performance while minimizing the size of the ADC circuit. Furthermore, as described in the '657 patent, a MCBS ADC has many advantages applicable to image acquisition and more importantly, facilitates high-speed readout.
In another embodiment of the present invention, the ADC circuit of each digital pixel or each group of digital pixels implements a thermometer-code analog-to-digital conversion technique with continuous sampling of the input signal for achieving a digital conversion with a high dynamic range. A massively parallel thermometer-code analog-to-digital conversion scheme is described in copending and commonly assigned U.S. patent application Ser. No. 10/185,584, entitled “Digital Image Capture having an Ultra-high Dynamic Range,” of Justin Reyneri et al., filed Jun. 26, 2002, which patent application is incorporated herein by reference in its entirety.
Returning to
In the present embodiment, digital image sensor 102 implements correlated double sampling for noise reduction. Correlated double sampling (CDS) is an image processing technique employed to reduce kT/C or thermal noise and 1/f noise in an image sensor array. CDS can also be employed to compensate for any fixed pattern noise or variable comparator offset. To implement CDS, the sensor array is reset and the pixel values at each photodetector is measured and stored in specified memory locations in the data memory (image buffer 212). The pixel value measured at sensor array reset is called “CDS values” or “CDS subtract values.” Subsequently, for each frame of pixel data captured by the sensor array 210, the stored CDS values are subtracted from the measured pixel intensity values to provide normalized pixel data free of errors caused by noise and offset.
Digital Image Processor
Digital image processor 104 is a high performance image processor for processing pixel data from digital image sensor 102 into video images in a desired video format. In the present embodiment, digital image processor 104 implements signal processing functions for supporting an entire video signal processing chain. Specifically, the image processing functions of digital image processor 104 include demosaicing, image scaling, and other high-quality video enhancements, including color correction, edge, sharpness, color fidelity, backlight compensation, contrast, and dynamic range extrapolation. The image processing operations are carried out at video rates.
The overall operation of digital image processor 104 is controlled by system processor 240. In the present embodiment, system processor 240 is implemented as an ARM (Advanced RISC Machine) processor. Firmware for supporting the operation of system processor 240 can be stored in a memory buffer. A portion of frame buffer 228 may be allocated for storing the firmware used by system processor 240. System processor 240 operates to initialize and supervise the functional blocks of image processor 104.
In accordance with the present invention, digital image processor 104 also facilitate image capture operations for obtaining pairs of ambient lighted and active-and-ambient lighted images and processing the pairs of images to generate output images with ambient light cancellation. The operation of digital image system 100 for implementing ambient light rejection in the output video signals will be described in more detail below.
Ambient Light Rejection Using Intra-Frame Image Capture
In accordance with one embodiment of the present invention, an intra-frame image capture scheme is implemented to obtain a pair of ambient lighted and active-and-ambient lighted images, successively captured in close temporal proximity, within a single video frame image of a scene. As shown in
In
The intra-frame capture scheme provides significant advantages over the conventional sequential frame capture technique. First, by capturing the pair of ambient lighted and active-and-ambient lighted images within a video frame and in close temporal proximity to each other, the correlation of the two images improves significantly so that the completeness of the ambient light cancellation is greatly improved. Furthermore, by capturing the pair of images within close temporal proximity, image artifacts due to motions in the scene are greatly reduced. Finally, because of the high speed operation of digital image sensor 102, digital imaging system 100 can provide an increased output frame rate to improve the resolution of the output video signals. In one embodiment, digital imaging system 100 is used for continuous video monitoring at a full video rate (e.g., 60 frames per second) and for motion in a scene moving at extreme speed (e.g. over 120 mph or 200 kph).
The detail of the image capture operation will now be described with reference to
Referring first to
Referring now to
In the fast image capture scheme used in
More importantly, the two fast image captures of
Multi Intra-Frame Capture
In the above described embodiment, the intra-frame capture scheme for ambient light cancellation is carried out by taking a single ambient lighted image and a single active-and-ambient lighted image within a single video frame. According to another aspect of the present invention, the intra-frame capture scheme of the present invention is extended to perform multiple intra-frame image capture for ambient light cancellation. The multiple intra-frame image capture scheme has the advantage of increasing the total integration time without incorporating undesirable motion artifacts.
The multiple intra-frame image capture scheme is particularly advantageous when the illumination provided by the external light source is limited so that a longer exposure time is desired to integrate the active illuminated image sufficiently. However, if the integration time alone is extended, the ambient light rejection ratio will be adversely affected and there will be more motion artifacts in the resulting image because the image integration was extended over a longer period of time. The multiple image capture scheme of the present invention increases the effective integration time without creating motion induced artifacts as each pair of ambient lighted and active-and-ambient lighted images are taken within close temporal proximity to each other.
Anti-Jamming
In a digital imaging system using active illumination to implement ambient light rejection, it is possible to defeat the imaging system by sensing the periodic active illumination and providing additional “jamming” illumination. The jamming illumination would be synchronized to the active illumination and shifted to illuminate the subject of interest when the active illumination is not active. When image subtraction is carried out, the subject as well as the ambient light will be rejected, rendering the output image meaningless.
According to one aspect of the present invention, a jamming resistant intra-frame image capture scheme is implemented in the digital imaging system of the present invention to prevent the digital imaging system from being jammed and rendered ineffective.
Negative Illumination
In some applications, the digital imaging system of the present invention is provided to capture a scene with a large field of view. In that case, it is sometimes desirable to block out part of the view, so as to provide privacy or to remove parts of the scene that are not of interest and are “distracting” to human or machine scene interpretation. In accordance with another aspect of the present invention, the intra-frame image capture scheme for ambient light rejection is implemented using a second controlled light source to provide a second source of illumination to portions of the scene that are to be blocked out. This second source of illumination to limited portions of the scene is referred herein as “negative” illumination. When the “negative” illumination is applied in the intra-frame image capture scheme as described below, the portions of the scene illuminated by the negative illumination will appear black in the final ambient rejected output image and those portions of the scene are thereby blocked out in the final output image.
The second external light source 252 is synchronized to the first image capture of digital image sensor 102. Referring now to
As a result, the first image capture provides a first image with the entire scene being ambient lighted and portions of the scene also lit by the “negative” illumination. The second image capture provides a second image with the entire scene being ambient lighted and active illuminated. When the first image is subtracted from the second image, the portions of the scene that are illuminated by the “negative” illumination will appear black and those portions of the scene are thus blocked out in the final ambient rejected output image.
To ensure complete cancellation, the level of “negative” illumination should match the ambient cancellation illumination for the selected parts of the scene to black out the image. The ambient cancellation illumination refers to the active illumination used to reject the ambient light and used to generate the ambient rejected output image. In one embodiment, the level of “negative” illumination is determined by using saturated arithmetic in the subtraction process and making sure that the negative illumination component is greater than the active illumination component used for ambient cancellation. In another embodiment, the level of “negative” illumination is determined by using a feedback loop to ensure that the relevant part of the scene to be blacked out possesses neither positive nor “negative” brightness.
Applications
The digital imaging system of the present invention implementing ambient light rejection using active illumination and high speed intra-frame image capture can be advantageously applied to many applications. In one embodiment, the digital imaging system is applied in an automobile for driver face monitoring. For instance, the digital imaging system can be used to capture images of the driver's face to determine if the driver may be falling asleep. The driver face monitoring application can also be used to identify the driver where the driver identification can be used to automatically set up the seat or mirror position preferences for the driver. The driver face monitoring application can also be extended for use in face recognition or monitoring of users of automatic teller machines. The face monitoring application can also be used as biometrics for access control.
In an automobile, sun and artificial lights are always in motion and can come into the automobile at any angle with varying intensity. This varying light condition makes it difficult to use conventional imaging to capture the driver's face as the image may be too dark or too bright. It is also impractical to use strong IR illumination to overwhelm the ambient light because of risk of eye injury to the driver. However, with the use of the ambient light rejection technique of the present invention, an image of the driver illuminated only with the controlled active illumination, which can be a low power light source, is obtained to allow reliable and consistent capture of the driver's face image for further image processing.
The digital imaging system of the present invention can also be applied to image objects formed using a retro-reflective medium. A retro-reflective medium refers to reflective medium which provide high levels of reflectance along a direction back toward the source of illuminating radiation. Automobile license plates are typically formed with retro-reflection. The digital imaging system of the present invention can be applied to capture automobile license plates or other objects with retro-reflection. The digital imaging system can provide ambient-rejected images of the objects regardless of the lighting conditions or the motion the objects are subjected to.
The applications of the digital imaging system of the present invention are numerous and the above-described applications are illustrative only and are not intended to be limiting.
Frame Differencing Using Look-up Table
In the digital imaging system described above, two images are obtained and they need to be subtracted from each other to obtain the ambient rejected output image. The operation of subtracting two frames is referred to as frame differencing. Typically, frame differencing is performed using dedicated circuitry such as an adder circuit. Adding an adder circuit to the digital imaging system increases the complexity and cost of the system.
According to one aspect of the present invention, the digital imaging system of the present invention implements frame differencing using a decoder look-up table (LUT). In this manner, the frame differencing can be carried out without additional circuitry for pixel data subtraction. Furthermore, linearizing of the pixel data can be carried out at the same time as the frame subtraction to further improve the speed of operation of the digital imaging system.
As described above with reference to
In accordance with the frame differencing scheme of the present invention, image buffer 212 allocates N bits for storing pixel data for each pixel and each of the ambient lighted and active-and-ambient lighted images is stored using N/2 bits of memory. The combined N bits of pixel data of the ambient light image and active-and-ambient lighted images are used to index a look-up table. The output pixel data value from the look-up table is the difference between the ambient light image and active-and-ambient lighted images. The output pixel data value may also be linearized so that the linearization and the subtraction steps are combined in one look-up table operation.
One advantage of the frame differencing scheme of the present invention is that the frame differencing scheme can be implemented using memory space required for only one frame of N-bit image data, resulting space and cost savings. In this manner, the digital imaging system of the present invention can use the same memory space to provide N-bit pixel data when the ambient light rejection is not selected and to provide N/2-bit pixel data when ambient light rejection is selected. In one embodiment, image buffer 212 stores pixel data in 12 bits and each of the ambient lighted and active-and-ambient lighted images is stored in 6 bits.
In one embodiment, LUT 400 is indexed by a 12-bit data input. As described above, the 12-bit data input represents a 12-bit pixel data pair formed by combining the 6-bit pixel data of a pixel element from the first image capture and the 6-bit pixel data of the same pixel element from the second image capture. The first and second image captures refer to the ambient lighted and active-and-ambient lighted images. In the present embodiment, LUT 400 includes 4096 entries where each entry is uniquely associated with a 12-bit pixel data pair. The generation of the output data values of LUT 400 for each 12-bit pixel data pair is described with reference to
By generating a look-up table and using the look-up table to perform the frame differencing operation, the digital imaging system of the present invention can perform ambient light rejection without added computational burden. The frame differencing scheme using a look-up table of the present invention allows the digital imaging system of the present invention to perform ambient light rejection at high speed and without complex circuitry.
The above detailed descriptions are provided to illustrate specific embodiments of the present invention and are not intended to be limiting. Numerous modifications and variations within the scope of the present invention are possible. The present invention is defined by the appended claims.
Number | Date | Country | |
---|---|---|---|
60746815 | May 2006 | US |