Patent ID: 7174034
Filing Date: 2007-02-06
Classification: G06K,G06T

Abstract:
1. A redeye reduction system for a digital image, 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; wherein said component-connecting module further generates 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; and a second-target-determining module coupled to said component-connecting module 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, wherein said second-target-determining modules determines that no second redeye region exists if no candidate cohesive groups are identified.