Claims
- 1. A digital processing method of replacing an original background of a visible light image of a scene with a predetermined replacement background, said method comprising the steps of:
- making a first infrared (IR) image of the scene at a first time while illuminating the original background with first IR radiation having a first intensity;
- measuring the intensity of IR radiation at each pixel of said first IR image;
- making a second IR image of the scene at a second time after deactivating said first IR radiation, while illuminating a foreground of the scene with second IR radiation having a second intensity less than said first intensity;
- measuring the intensity of IR radiation at each pixel of said second IR image;
- making the visible light image of the scene at a third time while illuminating the scene with visible lighting;
- generating a transformed mask distinguishing said foreground from said original background by producing a difference image (DIFF), a binarized image, a binary mask and a gray-scale mask; and
- producing a modified visible light image by blending said visible light image with said predetermined replacement background, using said transformed mask.
- 2. The method of claim 1, wherein said step of generating a transform mask further comprises the steps of:
- producing the difference image by subtracting the second IR image from the first IR image;
- producing the binarized image distinguishing said foreground from said original background by comparing pixels of said difference image to a predetermined parameter .theta., then setting a pixel of the binarized image to a logic high when said pixel of the binarized image is greater than .theta., otherwise setting said pixel of the binarized image to a logic low;
- producing the binary mask from the binarized image by removing false foreground pixels of the binarized image according to a connectivity constraint;
- producing the gray-scale mask specifying how much of each pixel of the binary mask is attributed to the foreground and how much of each pixel of the binary mask is attributed to the original background by applying a predetermined modulation function of the difference image to the binary mask; and
- producing the transformed mask by pixel-to-pixel image registration of the gray-scale mask and the visible light image.
- 3. The method of claim 2, wherein for a given pixel of the gray-scale mask said predetermined modulation function equals: (DIFF-.theta..sub.L)/(.theta..sub.H -.theta..sub.L) if a corresponding pixel in the difference image is less than a predetermined parameter .theta..sub.H and greater than a predetermined parameter .theta..sub.L ; 0, if the corresponding pixel in the difference image is less than or equal to .theta..sub.L ; and 1, if the corresponding pixel in the difference image is greater than or equal to .theta..sub.H.
- 4. The method of claim 1, wherein said second IR radiation originates from a front light.
- 5. The method of claim 1, wherein said second IR radiation originates from one or more foreground lights.
- 6. The method of claim 1, wherein said second IR radiation originates from ambient light.
- 7. The method of claim 1, wherein said third time equals said second time.
- 8. The method of claim 1, wherein said first IR radiation originates from one or more background lights.
- 9. The method of claim 1, wherein said first IR radiation originates from ambient light.
- 10. The method of claim 1, wherein said first IR radiation and said second IR radiation both have wavelengths ranging from about 700 nanometers to about 1000 nanometers.
- 11. The method of claim 1, wherein a difference between said first time and said second time approximates a shutter speed of an imaging device for making said first IR image, said second IR image and said visible light image.
- 12. The method of claim 1, wherein a difference between said first time and said second time is about 1/30th of a second.
- 13. The method of claim 1, wherein a difference between said first time and said second time ensures negligible movement of objects within said scene while taking said first IR, second IR and visible light images so that said images will be in focus.
- 14. The method of claim 1, wherein both said first and second IR images are taken with a first digital imaging device, said visible light image is taken with a second digital imaging device, and said first and second digital imaging devices have the same virtual spatial location.
Parent Case Info
This application is a continuation-in-part of a copending U.S. application, Ser. No. 08/544,615, filed Oct. 18, 1995, U.S. Pat. No. 5,574,511 by Yang et al.
US Referenced Citations (6)
Foreign Referenced Citations (1)
Number |
Date |
Country |
07160869 |
Jun 1923 |
JPX |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
544615 |
Oct 1995 |
|