The present invention relates to a method for reducing the fixed pattern noise of a digital image and a device for reducing the fixed pattern noise of a digital image.
Digital imaging devices have a variety of applications. For example, they are used in endoscopic devices for medical procedures or for inspecting small pipes or for remote monitoring. One example of such endoscopic devices is an endoscope having a retrograde-viewing auxiliary imaging device, which is being developed by Avantis Medical Systems, Inc. of Sunnyvale, Calif.
There are various types of digital imaging devices. On example is a digital imaging device using complementary metal oxide semiconductor (CMOS) technology. During operation, each pixel of the device generates a charge, the charges from all pixels are used to generate an image. Each charge includes three portions. A first portion of each charge is related to the photon rate. In other words, when a CMOS pixel in an imaging device is exposed to light emitted from an image, photons in the light strike the pixel, generating this first portion of the charge, the magnitude of which is related to the photon rate. A second portion of each charge is due to inaccuracies and inconsistencies inherent in each pixel, such as those resulting from the variations in manufacturing and sensor materials. The inaccuracies and inconsistencies vary from pixel to pixel, causing this portion of the charge to vary from pixel to pixel. This second portion exists even when there is no light reaching the pixel. The third portion of each charge is a function of the location of the pixel within the imaging device and the operating condition of the pixel, such as the operating temperature and exposure parameters such as brightness. This third portion is often negative. For example, an increase in photo rate results in a reduction in pixel charge. Needless to say, the third portion also varies from pixel to pixel.
The second and third portions of the pixel charges distort the true image signals and give rise to fixed pattern noise (FPN) in the image. FPN appears as snow-like dots on a captured image and reduces the image's quality. It is highly desirable to remove the FPN from the sensed image to improve the quality of the image.
Cancellation of FPN can be achieved by capturing a “dark image” when no light is reaching the CMOS imaging device. The dark image data are presumed to represent FPN and subtracted from the sensed image data to produce “corrected” image data. However, this method does not take into consideration the third portion of the pixel charge. In other words, the level of FPN in an area of the image is not only a function of inherent pixel parameters, which this method captures, but also a function of the operating parameters, such as the brightness of the image in the area, which this method does not capture. Therefore, this conventional method of using “dark image” data to cancel FPN produces the effect that the brighter areas of the image with low levels of FPN are overcompensated, resulting in the degradation of the image in those areas.
Medical endoscopes often produce video images which have rapidly changing dark and bright areas. Although the FPN in the dark areas is adequately compensated by conventional FPN reduction methods, bright areas of the image tend to have low levels of FPN and are overcompensated by conventional FPN reduction methods, resulting in a degradation of the image in the bright areas. Therefore, the conventional methods of cancelling FPN may improve the image quality in the dark areas of an image while degrading the image quality in the bright areas of the image.
One aspect of the present invention is directed to a method or a device that reduces FPN in an image captured by a digital imaging device and adjusts the reduction based on the level of FPN, preferably on an area-by-area basis or on a pixel-by-pixel basis. A preferred embodiment of the present invention uses the brightness of each area or pixel and the gain of the image to determine the level of FPN and then subtracts the determined level of FPN from the image signals measured in the area or for the pixel. Generally, however, other operating parameters, such as the operating temperature, the captured light's color composition, and the imaging sensor's voltage level, may also be used to determine the level of FPN in an area or for a pixel.
In one embodiment, a baseline FPN is determined from a dark image or an image taken under a given light condition either periodically or initially at the manufacturer. Then the “actual” FPN is determined based on the baseline FPN and on one or more of the “relevant variables,” which are defined as the variables that affect the FPN level of the area or pixel. These relevant variables include, but are not limited to, the brightness and color composition of the area or pixel, the operating temperature, the imaging sensor's voltage level and the gain of the image. The “actual” FPN is then subtracted from the area's image signals or the pixel's image signal. This results in an improved image with reduced degradation in the bright areas of the image. This may be done for every frame or a selected number of frames in the case of a video image signal.
According to one aspect of the invention, a method for reducing a digital image's fixed pattern noise includes determining the amount of FPN in a digital image taken by a digital imaging device as a function of at least one of brightness level, operating temperature, and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis; and modifying the digital image by the determined amount of FPN on an area-by-area basis or on a pixel-by-pixel basis.
In one embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN as a function of only the brightness level of the image on an area-by-area basis or on a pixel-by-pixel basis.
In one other embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN as a function of only the brightness level and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis.
In another embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN as a function of only the gain value of the image on an area-by-area basis or on a pixel-by-pixel basis.
In still another embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN as a function of the brightness level, operating temperature, and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis.
In yet another embodiment according to this aspect of the invention, the step of determining includes obtaining a dark FPN image from the imaging device with the imaging device in a dark environment.
In yet still another embodiment according to this aspect of the invention, the step of determining includes determining a subtraction factor for each area or pixel using a look-up table having the subtraction factor as an output and the at least one of brightness level, operating temperature, and gain value of the image as one or more inputs.
In a further embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN in the digital image by using the subtraction factor for each area or pixel to reduce the dark FPN value for this area or pixel.
In a still further embodiment according to this aspect of the invention, the step of determining includes determining a subtraction factor for each area or pixel using an equation having the subtraction factor at an independent variable and the at least one of brightness level, operating temperature, and gain value of the image as one or more dependent variable.
In a yet further embodiment according to this aspect of the invention, the step of determining includes determining the amount of FPN in the digital image by using the subtraction factor for each area or pixel to reduce the dark FPN value for this area or pixel.
In a still yet further embodiment according to this aspect of the invention, the step of obtaining a dark FPN image includes obtaining the dark FPN image as part of an initial factory calibration.
In another embodiment according to this aspect of the invention, the step of obtaining a dark FPN image includes obtaining periodically during the life of the imaging device.
In a further embodiment according to this aspect of the invention, the digital image is in YUV format, the method further comprising determining the brightness level from the luma component of the YUV format digital image.
In a still further embodiment according to this aspect of the invention, the digital image is in RGB format, the method further comprising converting the RGB format digital image to a YUV format digital image, and determining the brightness level from the luma component of the YUV format digital image.
In accordance with another aspect of the invention, a device for reducing a digital image's fixed pattern noise includes an input for receiving a digital image from a digital imaging device; an output for sending a modified digital image to a display device; a processor that includes one or more circuits and/or software for processing the digital image. The processor determines the amount of FPN in the digital image as a function of at least one of brightness level, operating temperature, and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis and modifies the digital image by the determined amount of FPN on an area-by-area basis or on a pixel-by-pixel basis.
In one embodiment according to this aspect of the invention, the at least one of brightness level, operating temperature, and gain value of the image consists of the brightness level of the image.
In one other embodiment according to this aspect of the invention, the at least one of brightness level, operating temperature, and gain value of the image consists of the brightness level and gain value of the image.
In another embodiment according to this aspect of the invention, the at least one of brightness level, operating temperature, and gain value of the image consists of the gain value of the image.
In still another embodiment according to this aspect of the invention, the at least one of brightness level, operating temperature, and gain value of the image includes the brightness level, operating temperature, and gain value of the image.
In yet another embodiment according to this aspect of the invention, the processor determines the amount of FPN in the digital image by way of obtaining a dark FPN image from the imaging device with the imaging device in a dark environment.
In still yet another embodiment according to this aspect of the invention, the processor determines the amount of FPN in the digital image by way of determining a subtraction factor for each area or pixel using a look-up table having the subtraction factor as an output and the at least one of brightness level, operating temperature, and gain value of the image as one or more inputs.
In a further embodiment according to this aspect of the invention, the processor determines the amount of FPN in the digital image by way of using the subtraction factor for each area or pixel to reduce the dark FPN value for this area or pixel.
In a still further embodiment according to this aspect of the invention, the processor determines the amount of FPN in the digital image by way of determining a subtraction factor for each area or pixel using an equation having the subtraction factor at an independent variable and the at least one of brightness level, operating temperature, and gain value of the image as one or more dependent variable.
In a yet further embodiment according to this aspect of the invention, the processor determines the amount of FPN in the digital image by way of using the subtraction factor for each area or pixel to reduce the dark FPN value for this area or pixel.
In a still yet further embodiment according to this aspect of the invention, the processor obtains the dark FPN image as part of an initial factory calibration.
In another embodiment according to this aspect of the invention, the processor obtains the dark FPN image periodically during the life of the imaging device.
In still another embodiment according to this aspect of the invention, the digital image is in YUV format, and the processor determines the brightness level from the luma component of the YUV format digital image.
In yet another embodiment according to this aspect of the invention, the digital image is in RGB format, and the processor converts the RGB format digital image to a YUV format digital image and determines the brightness level from the luma component of the YUV format digital image.
In accordance with still another aspect of the invention, an endoscope system includes the device of claim 15; an endoscope including the digital imaging device and being connected to the input of the device; and a displace device that is connected to the output of the device to receive and display the modified digital image.
In one embodiment according to this aspect of the invention, the digital imaging device is a retrograde-viewing auxiliary imaging device.
In accordance with yet another aspect of the invention, a method for sharpening a digital image includes determining the amount of sharpening needed to sharpen a digital image taken by a digital imaging device as a function of at least one of brightness level, operating temperature, and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis; and sharpening the digital image by the determined amount of sharpening on an area-by-area basis or on a pixel-by-pixel basis.
In accordance with still another aspect of the invention, a device for sharpening a digital image includes an input for receiving a digital image from a digital imaging device; an output for sending a sharpened digital image to a display device; a processor that includes one or more circuits and/or software for shapening the digital image. The processor determines the amount of sharpening needed to sharpen the digital image as a function of at least one of brightness level, operating temperature, and gain value of the image on an area-by-area basis or on a pixel-by-pixel basis and sharpens the digital image by the determined amount of sharpening on an area-by-area basis or on a pixel-by-pixel basis.
For easy of description, the present invention will be described in the context of the retrograde-viewing auxiliary imaging device of Avantis Medical Systems, Inc. of Sunnyvale, Calif. However, this is meant to limit the scope of the invention, which has broader applications in other fields, such as endoscopy in general.
The endoscope 10 of
The insertion tube 12 preferably is steerable or has a steerable distal end region 18 as shown in
As shown in
As shown in
As shown in
As shown in
Each of the main and auxiliary imaging devices 32, 44 may be an electronic device which converts light incident on photosensitive semiconductor elements into electrical signals. The imaging device may detect either color or black-and-white images. The signals from the imaging device can be digitized and used to reproduce an image that is incident on the imaging device. Preferably, the main imaging device 32 is a CCD imaging device, and the auxiliary imaging device 44 is a CMOS imaging device, either imaging device can be a CCD imaging device or a CMOS imaging device.
When the imaging assembly 14 is properly installed in the insertion tube 12, the auxiliary imaging device 44 of the imaging assembly 14 preferably faces backwards towards the main imaging device 32 as illustrated in
As shown in
In the illustrated embodiment, the auxiliary light source 50 of the imaging assembly 14 is placed on the flexible link 46, in particular on the curved concave portion of the flexible link 46. The auxiliary light source 50 provides illumination for the auxiliary imaging device 44 and may face substantially the same direction as the auxiliary imaging device 44 as shown in
An endoscope of the present invention, such as the endoscope 10 shown in
In one preferred embodiment of the invention, the video processor 62 may have algorithm and/or one or more circuits for reducing FPN in the video output image of the main imaging device 32 and/or in the video output image of the auxiliary imaging device 44.
As illustrated in
In the second step 72, a digital image is sent from the imaging device 32, 44 to the video processor 62.
In the third step 74, if the output image of the imaging device 32, 44 is an RGB signal, the RGB signal is converted to a YUV signal, which has one brightness component and two color components. If the output image of the imaging device 32, 44 is a YUV signal, the conversion is unnecessary.
In the fourth step 76, from the YUV signal, the luma or brightness component is analyzed and a brightness value is obtained for each area or pixel of the image. When the luma or brightness component is analyzed on an area-by-area basis, the brightness value for an area can be represented by the brightness value of a pixel in the area or the average brightness value of a plurality of pixels in the area.
In the fifth step 78, the gain value as set by the imaging device 32, 44 for the overall image is also acquired from the image device 32, 44. This information may be acquired using a serial communication protocol that can query the imaging device 32, 44 for image control settings such as the overall gain setting for the image.
In the six step 80, a look-up table is preferably used to generate a subtraction factor for each area or pixel from the gain and luma values. Alternately, an equation may be used to calculate the subtraction factor from the luma and gain values. Preferably, the look-up table or equation is based on heuristics and empirical data. The subtraction factor is an indicator how much FPN should be subtracted from the image data to obtain the corrected FPN data. In general, an area or pixel with a high luma value would have a smaller subjection factor than one with a low luma value. In contrast, a high gain value would require a larger subtraction factor than a low gain value.
In the seventh step 82, the subtraction factor for each area or pixel may be used to modify the dark FPN value for the area or pixel by multiplying the dark FPN value with the subtraction factor for the area or pixel.
In the eighth step 84, the modified dark FPN values are then subtracted from the video image from the imaging device 32, 44 on an area-by-area basis or on a pixel-by-pixel basis. This process may be carried out repeatedly for every frame of the video image or for a selected number of frames. This process may be done dynamically in order to account for the rapid change in the brightness of the image.
As an example, the following is an illustration how the above-described procedure can be used in the colonoscopic procedure to reduce the FPN in the image captured by a retrograde imaging device. As an initial step of a colonoscopic procedure, a physician inserts the colonoscope into the patient's rectum and then advances it to the end of the colon. In order to achieve a greater viewing angle, the physician inserts a retrograde imaging device into the accessory channel of the endoscope and connects the video cable to the video processor, which includes the present invention's circuit/algorithm for FPN reduction. The video processor analyzes the image data received from the retrograde imaging device and reduces the FPN according to the above-described procedure. The physician may then carry out the procedure in a normal fashion. After the colonoscopic procedure is completed, the retrograde imaging device is retracted and the standard endoscope is removed.
In one alternate embodiment, the above-described procedure of the present invention can be modified to determine the subtraction factor for each area or pixel from not only the luma and gain values but also the operating temperature. In this embodiment, the lookup table or equation for the subtraction factor has three inputs: the luma and gain values and operating temperature.
In another alternate embodiment, the above-described procedure of the present invention can be modified to determine the subtraction factor for each area or pixel from the luma value alone without the gain value of the image. Alternatively, the procedure can be modified to determine the subtraction factor for each area or pixel from the gain value alone without the luma value.
In still another embodiment, the subtraction factor for each area or pixel can be determined from any one or more of the three parameters: the luma and gain values and operating temperature.
In yet another embodiment, in place of a dark FPN image used as a baseline for determining FPN, an FPN image, which is acquired by the imaging device 32, 44 with the imaging device 32, 44 in a given or known light conditions, can be used as a baseline for determining FPN. The given or known light condition may mean one or more of the relevant variables are known or given. As defined previously, the “relevant variables” are the variables that affect the FPN level of the area or pixel. These relevant variables include, but are not limited to, the brightness and color composition of the area or pixel, the operating temperature, the imaging device's voltage level and the gain of the image. This can be done as part of an initial factory calibration or periodically during the life of the imaging device 32, 44, such as every second during operation or at the beginning of each operation. This baseline FPN image is then stored in the memory of the imaging device 32, 44 such as an EEPROM or in the memory of the video processor 62. In this embodiment, the look-up table or equation for generating a subtraction factor for each area or pixel may have any one or more of the relevant variables as the dependent variables. These dependent variables can be obtained by analyzing the image data or from the imaging device. In the embodiment shown in
In a further alternate embodiment, as shown in
In a still further alternate embodiment, dynamic sharpening can be combined with dynamic fixed pattern nose reduction. In such an embodiment, two sets of lookup tables and/or equations are employed in order to derive a sharpening factor and a subtraction factor. Appropriate steps are then taken to subtract the dark FPN image that has been scaled according to corresponding areas on the video image, while also sharpening appropriate areas.
This application claims the benefit of U.S. Provisional Patent Application No. 60/979,368, filed Oct. 11, 2007, the entire disclosure of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60979368 | Oct 2007 | US |