Method and system for detecting and correcting defects in a digital image
First Claim
1. A method of correcting a red-eye effect in a digital image provided by a cluster of pixels, the method comprising:
- (a) conducting at least one tophat operation over each pixel in the digital image to provide a tophat image;
(b) conducting an intensity threshold operation on the tophat image to provide a segmentation mask for segmenting objects in the digital image;
(c) for each segmented object in the segmentation mask, extracting at least one feature from at least one of the segmented object and a border region surrounding the segmented object and classifying the segmented object based on the at least one feature; and
(d) for each segmented object in the segmentation mask classified as red-eye effect in step (c), correcting the red-eye effect by re-coloring the segmented object to generate a corrected image.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention relates to a method, system and computer program product for correcting a red-eye effect in a digital image provided by a cluster of pixels. It comprises (a) conducting at least one tophat operation over each pixel in the digital image to provide a tophat image; (b) conducting an intensity threshold operation on the tophat image to provide a segmentation mask for segmenting objects in the digital image; (c) for each segmented object in the segmentation mask, extracting at least one feature from at least one of the segmented object and a border region surrounding the segmented object and classifying the segmented object based on the at least one feature; and (d) for each segmented object in the segmentation mask classified as red-eye effect in step (c), correcting the red-eye effect by re-coloring the segmented object to generate a corrected image.
104 Citations
20 Claims
-
1. A method of correcting a red-eye effect in a digital image provided by a cluster of pixels, the method comprising:
-
(a) conducting at least one tophat operation over each pixel in the digital image to provide a tophat image;
(b) conducting an intensity threshold operation on the tophat image to provide a segmentation mask for segmenting objects in the digital image;
(c) for each segmented object in the segmentation mask, extracting at least one feature from at least one of the segmented object and a border region surrounding the segmented object and classifying the segmented object based on the at least one feature; and
(d) for each segmented object in the segmentation mask classified as red-eye effect in step (c), correcting the red-eye effect by re-coloring the segmented object to generate a corrected image. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for correcting a red-eye effect in a digital image provided by a cluster of high intensity pixels, the system comprising:
-
a memory for storing the digital image; and
means for performing the steps of (a) conducting at least one tophat operation over each pixel in the digital image to provide a tophat image;
(b) conducting an intensity threshold operation on the tophat image to provide a segmentation mask for segmenting objects in the digital image;
(c) for each segmented object in the segmentation mask, extracting at least one feature from at least one of the segmented object and a border region surrounding the segmented object and classifying the segmented object based on the at least one feature; and
(d) for each segmented object in the segmentation mask classified as red-eye effect in step (c), correcting the red-eye effect by re-coloring the segmented object to generate a corrected image. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product for use on a computer system to correct a red-eye effect in a digital image defined over a cluster of pixels, the computer program product comprising:
-
a recording medium;
means recorded on the medium for instructing the computer system to perform the steps of;
(a) conducting at least one tophat operation over each pixel in the digital image to provide a tophat image;
(b) conducting an intensity threshold operation on the tophat image to provide a segmentation mask for segmenting objects in the digital image;
(c) for each segmented object in the segmentation mask, extracting at least one feature from at least one of the segmented object and a border region surrounding the segmented object and classifying the segmented object-based on the at least one feature; and
(d) for each segmented object in the segmentation mask classified as red-eye effect in step (c), correcting the red-eye effect by re-coloring the segmented object to generate a corrected image. - View Dependent Claims (18, 19, 20)
-
Specification