Method and apparatus for the removal of flash artifacts
First Claim
1. A method for removing flash artifacts comprising the steps of:
- a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting an intensity threshold; and
d) for each pixel to be processed performing the sub-steps of;
i) subtracting intensity of current pixel in said first digital image from intensity of current pixel in said second digital image resulting in a pixel difference; and
ii) replacing current pixel in said second digital image with current pixel from said first digital image when said pixel difference is greater than said intensity threshold.
3 Assignments
0 Petitions
Accused Products
Abstract
An image without use of a flash is taken, along with an image using a flash. A difference image is generated by subtracting the flash-less image from the flash image. A threshold is applied to the difference image such that only large differences in intensity remain in the difference image. This artifact image is then subtracted from the flash image, thereby removing flash artifacts such as specular reflections and red-eye. The threshold used may be automatically calculated or may be set by the user. For some applications it may be desirable to set separate thresholds for each dimension of the color space (such as red, green, and blue) used. Once again these separate thresholds may be automatically calculated or may be set by the user.
48 Citations
26 Claims
-
1. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting an intensity threshold; and
d) for each pixel to be processed performing the sub-steps of;
i) subtracting intensity of current pixel in said first digital image from intensity of current pixel in said second digital image resulting in a pixel difference; and
ii) replacing current pixel in said second digital image with current pixel from said first digital image when said pixel difference is greater than said intensity threshold. - View Dependent Claims (2, 3)
-
-
4. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting an intensity threshold; and
d) for each pixel to be processed performing the sub-steps of;
i) subtracting intensity of current pixel in said first digital image from intensity of current pixel in said second digital image resulting in a pixel difference; and
ii) replacing current pixel in said second digital image with current pixel from said first digital image when said pixel difference is greater than or equal to said intensity threshold. - View Dependent Claims (5, 6)
-
-
7. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting at least three primary color thresholds; and
d) for each primary color of each pixel to be processed performing the sub-steps of;
i) subtracting primary color value of current pixel in said first digital image from primary color value of current pixel in said second digital image resulting in a primary color pixel difference for the current primary color of the current pixel; and
ii) replacing primary color value of current pixel in said second digital image with primary color value of current pixel from said first digital image when said primary color pixel difference for the current primary color of the current pixel is greater than said primary color threshold for said current primary color. - View Dependent Claims (8, 9, 10, 11)
-
-
12. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting at least three primary color thresholds; and
d) for each primary color of each pixel to be processed performing the sub-steps of;
i) subtracting primary color value of current pixel in said first digital image from primary color value of current pixel in said second digital image resulting in a primary color pixel difference for the current primary color of the current pixel; and
ii) replacing primary color value of current pixel in said second digital image with primary color value of current pixel from said first digital image when said primary color pixel difference for the current primary color of the current pixel is greater than or equal to said primary color threshold for said current primary color. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting at least three primary color thresholds; and
d) for each primary color of each pixel to be processed performing the sub-steps of;
i) subtracting primary color value of current pixel in said first digital image from primary color value of current pixel in said second digital image resulting in a primary color pixel difference for the current primary color of the current pixel; and
ii) replacing primary color value of current pixel in said second digital image with a color value calculated from said primary color value of current pixel in said first digital image, and said primary color value of current pixel in said second digital image, when said primary color pixel difference for the current primary color of the current pixel is greater than said primary color threshold for said current primary color. - View Dependent Claims (18, 19, 20, 21)
-
-
22. A method for removing flash artifacts comprising the steps of:
-
a) capturing a first digital image of a subject;
b) capturing a second digital image of said subject with the use of a flash;
c) selecting at least three primary color thresholds; and
d) for each primary color of each pixel to be processed performing the sub-steps of;
i) subtracting primary color value of current pixel in said first digital image from primary color value of current pixel in said second digital image resulting in a primary color pixel difference for the current primary color of the current pixel; and
ii) replacing primary color value of current pixel in said second digital image with a color value calculated from said primary color value of current pixel in said first digital image, and said primary color value of current pixel in said second digital image, when said primary color pixel difference for the current primary color of the current pixel is greater than or equal to said primary color threshold for said current primary color. - View Dependent Claims (23, 24, 25, 26)
-
Specification