Redeye reduction of digital images
First Claim
1. A redeye reduction system for a digital image including at least one redeye region, said system comprising:
- a first matrix generating module for cycling through pixels of said digital image and comparing a color-based parameter of each of said pixels to a first threshold value, assigning a first logic level to pixels whose color-based parameter is not less than said first threshold value and a second logic level to pixels whose color-based parameter is less than said first threshold value, pixels assigned with said first logic level being defined as candidate pixels and pixels not assigned with said first logic level being defined as non-candidate pixels;
a component-connecting module coupled to said first matrix generating module for identifying a plurality of cohesive groups of candidate pixels, and for identifying a first target cohesive group among said plurality of cohesive groups within which lies the candidate pixel having the color-based parameter of highest value among all of said plurality of cohesive groups, said first target cohesive group defining a first redeye region;
an image modifying module coupled to said component-connecting module and having access to said digital image, said image modifying module being effective for identifying first image pixels within said digital image corresponding to said first target cohesive group, and for changing the color of said first image pixels to a common predetermined color.
2 Assignments
0 Petitions
Accused Products
Abstract
A redeye reduction system creates a first matrix of candidate pixels by comparing a color-and-brightness parameter of image pixels to a first threshold. Cohesive groups of candidate pixels are collected into components, and the component having the pixel with the highest color-and-brightness parameter is identified as first redeye region. The average color-and-brightness parameter and the size of the remaining components are compared to a range dependent on the values of the first redeye region, and the components having values within the range are defined as candidate components. The candidate component with the densest pixel population is defined as a second redeye pupil region. The defined redeye pupils are dilated and compared with a second threshold lower than the first threshold to generate a new list of candidate pixels. The new candidate pixels are colored dark gray and their adjacent pixels are colored a lighter gray.
60 Citations
50 Claims
-
1. A redeye reduction system for a digital image including at least one redeye region, said system comprising:
-
a first matrix generating module for cycling through pixels of said digital image and comparing a color-based parameter of each of said pixels to a first threshold value, assigning a first logic level to pixels whose color-based parameter is not less than said first threshold value and a second logic level to pixels whose color-based parameter is less than said first threshold value, pixels assigned with said first logic level being defined as candidate pixels and pixels not assigned with said first logic level being defined as non-candidate pixels;
a component-connecting module coupled to said first matrix generating module for identifying a plurality of cohesive groups of candidate pixels, and for identifying a first target cohesive group among said plurality of cohesive groups within which lies the candidate pixel having the color-based parameter of highest value among all of said plurality of cohesive groups, said first target cohesive group defining a first redeye region;
an image modifying module coupled to said component-connecting module and having access to said digital image, said image modifying module being effective for identifying first image pixels within said digital image corresponding to said first target cohesive group, and for changing the color of said first image pixels to a common predetermined color. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
-
19. A redeye reduction system for a digital image including at least one redeye region, said system comprising:
-
a first matrix generating module for cycling through pixels of said digital image and comparing a color-based parameter of each of said pixels to a first threshold value, assigning a first logic level to pixels whose color-based parameter is not less than said first threshold value and a second logic level to pixels whose color-based parameter is less than said first threshold value, pixels assigned with said first logic level being defined a candidate pixels and pixels not assigned with said first logic level being defined as a non-candidate pixels;
a component-connecting module coupled to said first matrix generating module for identifying a plurality of cohesive groups of candidate pixels, and for generating statistical data for each of said plurality of cohesive groups including a high parameter value indicating the highest color-based parameter value of its corresponding candidate pixels, an average parameter value indicating the average color-based parameter value of its corresponding candidate pixels, and a size parameter value indicating its size;
a first target-determining module coupled to said component-connecting module for identifying a first target cohesive group among said plurality of cohesive groups characterized as having the high parameter value of greatest magnitude, said first target cohesive group defining a first redeye region;
a second target-determining module coupled to said component-connecting module and effective for identifying candidate cohesive groups among said plurality of cohesive groups characterized by having an average parameter value within a first range dependent on the average parameter value of said first target cohesive group and by having a size parameter value within a second range dependent on the size parameter value of said first target cohesive group, and further effective for calculating the boundary square population value of each candidate cohesive group and identifying as a second target cohesive group the candidate cohesive group having the largest boundary square population value, said second target-determining module identifying no second redeye region if no candidate cohesive groups are identified and otherwise identifying said second target cohesive group as a second redeye region;
an image modifying module coupled to said first and second target-determining modules and having access to said digital image, said image modifying module being effective for identifying first image pixels within said digital image corresponding to said first target cohesive group and for changing the color of said first image pixels to a common predetermined color, and further effective for identifying second image pixels within said digital image corresponding to said second target cohesive group in response to said second target-determining module identifying a second redeye region, and for changing the color of said second image pixels to said common predetermined color.
-
-
33. A method of redeye reduction for a digital image including at least one redeye region, said method comprising:
-
(a) a first matrix generating step for cycling through pixels of said digital image and comparing a color-based parameter of each of said pixels to a first threshold value, assigning a first logic level to pixels whose color-based parameter is not less than said first threshold value, and a second logic level to pixels whose color-based parameter is less than said first threshold value, wherein pixels assigned with said first logic level are defined as candidate pixels and pixels not assigned with said first logic level are defined as non-candidate pixels;
(b) a component-connecting step for identifying a plurality of cohesive groups of candidate pixels, and for identifying a first target cohesive group among said plurality of cohesive groups within which lies the candidate pixel having the color-based parameter of highest value among all of said plurality of cohesive groups, wherein said first target cohesive group is defined as a first redeye region;
(c) an image modifying step for identifying first image pixels within said digital image corresponding to said first target cohesive group, and for changing the color of said first image pixels to a common predetermined color. - View Dependent Claims (34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50)
-
Specification