Modification of red-eye-effect in digital image
First Claim
Patent Images
1. A process at least partially implemented by a computer for automatic red-eye artifact modification in a digital representation of an image comprising:
- detecting, by a processor, regions corresponding to facial images within the digital representation; and
locating, by a processor, red-eye regions within the detected regions, the locating comprising;
denoting red pixels as satisfying R>
50;
R/(R+G+B)>
0.40;
G/(R+G+B)<
0.31 and B/(R+G+B)>
0.36;
determining when RGB values for a region about a denoted red pixel satisfy conditions;
G/(R+G+B)>
0.4(Original) 0 or B/(R+G+B)>
0.45;
when the RGB values for the region satisfy the conditions, removing the region from a pool of red-eye candidate regions; and
when the RGB values for the region do not satisfy the conditions, maintaining the regions in the pool.
2 Assignments
0 Petitions
Accused Products
Abstract
In one aspect, the present disclosure describes a process for automatic artifact compensation in a digital representation of an image. The process includes detecting, by a processor, regions corresponding to facial images within the digital representation; locating, by the processor, red-eye regions within the detected regions; and automatically modifying, by the processor, the located red-eye regions to provide a modified image.
-
Citations
17 Claims
-
1. A process at least partially implemented by a computer for automatic red-eye artifact modification in a digital representation of an image comprising:
-
detecting, by a processor, regions corresponding to facial images within the digital representation; and locating, by a processor, red-eye regions within the detected regions, the locating comprising; denoting red pixels as satisfying R>
50;
R/(R+G+B)>
0.40;
G/(R+G+B)<
0.31 and B/(R+G+B)>
0.36;determining when RGB values for a region about a denoted red pixel satisfy conditions;
G/(R+G+B)>
0.4(Original) 0 or B/(R+G+B)>
0.45;when the RGB values for the region satisfy the conditions, removing the region from a pool of red-eye candidate regions; and when the RGB values for the region do not satisfy the conditions, maintaining the regions in the pool.
-
-
2. A process at least partially implemented by a computer for automatic red-eye artifact modification in a digital representation of an image comprising:
-
detecting, by a processor, regions corresponding to facial images within the digital representation; locating, by the processor, red-eye regions within the detected regions, the locating comprising; filtering pixels comprising the digital representation for RGB content to denote red pixels and to denote non-skin-tone pixels; finding highlight pixels within the denoted red pixels; grouping highlight pixels to form a pool of highlight areas; eliminating groups not characteristic of red-eye regions from the pool; winnowing groups by size to remove some groups from the pool; winnowing groups based on comparison of colors of nearby pixels to remove additional groups from the pool; merging groups to form red-eye candidate regions; and second winnowing groups based on comparison of colors of nearby pixels to remove further groups from the pool; and automatically modifying, by the processor the located red-eye regions to provide a modified image. - View Dependent Claims (3, 4)
-
-
5. A system for image manipulation comprising:
-
a processor; a memory coupled to the processor and configured to store data representing an image; and an artifact modification module configured to cause the processor to access the data representing the image and to; identify first pixels having a red content above a first threshold; identify second pixels having coloration inconsistent with a skin color model by comparing pixel to a set of threshold values; sort the first and second pixels to form a pool of red-eye candidate regions; winnow the pool to eliminate red-eye candidate regions that (i) are not associated with nearby second pixels and (ii) are not associated with images corresponding to an image of an eye to provide red-eye regions; and modify and blend the red-eye regions to provide a modified image; and wherein the artifact modification module configured to modify and blend the red-eye regions is configured to; decrease the red value within the red-eye region; increase the values of green and blue within the red-eye region; decrease contrast within the red-eye region to provide a modified red-eye region; and blend the modified red-eye region with the original image linearly based on the distance from each pixel in the red-eye region to a nearest edge of the red-eye region. - View Dependent Claims (6, 7, 8, 9, 10, 11)
-
-
12. A process at least partially implemented by a computer for detection and modification of specific types of regions in a digital representation of an image comprising:
-
identifying first pixels in a first set of regions including red values above a first threshold; identifying second pixels adjacent the first pixels having coloration inconsistent with a color model for human skin; identifying a third set of regions taken from the second set that are bordered by regions having coloration consistent with the color model; locating highlight regions within the third set of regions; grouping the highlight regions into a pool of red-eye candidate regions; determining red-eye regions from the pool which satisfy predetermined criteria; and modifying and blending the determined red-eye regions to provide a modified image. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A tangible computer readable medium having a plurality of instructions thereon that, when executed by a processor, cause the processor to:
-
automatically process a digital image to identify red-eye regions within the digital image, and wherein the plurality of instructions to cause the processor to process the image further comprise instruction to cause the processor to; (a) identify first pixels in a first set of regions including red values above a first threshold; (b) identify second pixels adjacent the first pixels having coloration inconsistent with a color model for human skin; (c) identify a third set of regions taken from the second set that are bordered by regions having coloration consistent with the color model; (d) locate highlight regions within the third set of regions; (e) group the highlight regions into a pool of red-eye candidate regions; (f) determine red-eye regions from the pool which satisfy predetermined criteria; and (g) modify the red-eye regions and blend the modified red-eye regions to provide a modified image; and modify the red-eye regions to provide a more natural appearance to the image.
-
Specification