EP0635972A2

Automated detection and correction of eye color defects due to flash illumination.

Abstract

A method of determining and correcting for eye color defects in an image due to flash illumination includes determining whether an eye color defect group candidate corresponds to a defective eye base based on group shape, coloration and brightness. The method is implemented using a digitizing scanner (10), a control and logic device (24) (computer) and an optical disc writer (36). A strip of film (15), containing one or more frames (18) of developed film, is placed into a scan gate (12). As each frame (18) is scanned the resultant image is digitized and transmitted to a memory (28) for storage. The computer (24) processes the stored data to provide output image data (32) which may be written to an optical disc (34) by the optical disc writer (36) to provide a report as to the characteristics of the anomalies.

EP0635972A2, drawing sheet 1
Sheet 1 of 12

Term

Term ended

Projected expiry passed 1 July 2014, 12.2 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

25 claims: 6 independent, 19 dependent

  1. 1
    A method of detecting for eye color defects of a subject in a digital image due to flash illumination, comprising the steps of:a) defining a spatial region within the digital image in which one or more eye color defects may exist, which region includes at least a portion of the subject's head;b) sampling pixels within such spatial region for their color content and comparing each such sample pixel with a plurality of threshold values which are representative of eye color defects to identify possible eye color defect pixels;c) segmenting the identified possible eye color defective pixels into one or more spatially contiguous groups;d) calculating a first score for each pixel of each segmented group and for each group based upon a plurality of features including group size, group shape, coloration, and brightness to identify eye color defect group candidates;e) selecting a seed pixel based on its score from each identified eye color defect group candidate and determining all the neighboring pixels which are within a predetermined score range of their neighboring pixels and those pixels in a group which represent a significant pixel score transition so that the determined transitions identify the outer boundary of an eye color defect group candidate;and f) calculating a second score for each pixel for each eye color defect group candidate based on a plurality of features including group size, group shape, coloration, and brightness to determine an eye color defect group.
  2. 7
    A method of detecting for eye color defects of a subject in a digital image due to flash illumination, comprising the steps of:a) defining a spatial region within the digital image in which one or more eye color defects may exist, which region includes at least a portion of the subject's head;b) sampling pixels within such spatial region for their color content and comparing each such sampled pixel with a plurality of threshold values which are representative of eye color defects to identify possible eye color defect pixels;c) segmenting the identified possible eye color defect pixels into one or more spatially contiguous groups;d) calculating a first score for each pixel of each segmented group and for each group based upon a plurality of features including group size, group shape, coloration, and brightness to identify eye color defect group candidates;e) selecting a seed pixel based on its score from each identified eye color defect group candidate and determining all the neighboring pixels which are within a predetermined score range of their neighboring pixels and those pixels in a group which represent a significant pixel score transition so that the determined transitions identify the outer boundary of an eye color defect group candidate;f) calculating a second score for each pixel for each eye color defect group candidate based on a plurality of features including group size, group shape, coloration, and brightness to determine an eye color defect group;g) selecting the best group score of an eye color defect group candidate and comparing it relative to a predetermined threshold group score to determine whether an eye is present and identify the most likely eye;and h) determining whether another eye color defect group is present based on whether the area of that eye is within a predetermined threshold ratio of the area of the color defect group corresponding to the most likely eye, and whether this group must be within a predetermined threshold angular subtense of the most likely eye along the predetermined horizontal axis of the subject's head.
  3. 13
    A method of detecting and correcting for eye color defects of a subject in a digital image due to flash illumination, comprising the steps of:a) defining a spatial region within the digital image in which one or more eye color defects may exist, which region includes at least a portion of the subject's head;b) sampling pixels within such spatial region for their color content and comparing each such sampled pixel with a plurality of threshold values which are representative of eye color defects to identify possible eye color defect pixels;c) segmenting the identified possible eye color defect pixels into one or more spatially contiguous groups;d) calculating a first score for each pixel of each segmented group and for each group based upon a plurality of features including group size, group shape, coloration, and brightness to identify eye color defect group candidates;e) selecting a seed pixel based on its score from each identified eye color defect group candidate and determining all the neighboring pixels which are within a predetermined score range of their neighboring pixels and those pixels in a group which represent a significant pixel score transition so that the determined transitions identify the outer boundary of an eye color defect group candidate;f) calculating a second score for each pixel for each eye color defect group candidate based on a plurality of features including group size, group shape, coloration, and brightness to determine an eye color defect group;g) selecting the best group score of an eye color defect group candidate and comparing it relative to a predetermined threshold group score to determine whether an eye is present and identify the most likely eye;and h) determining whether another eye color defect group is present based on whether the area of that eye is within a predetermined threshold ratio of the area of the color defect group corresponding to the most likely eye, and whether this group must be within a predetermined threshold angular subtense of the most likely eye along the predetermined horizontal axis of the subject's head;i) correcting the defective color in each eye color defect group by: (i) determining the correct resolution and whether each pixel at the corrected resolution is an eye color defect pixel;(ii) categorizing the eye color defect pixels at the corrected resolution into either body, border, or glint categories;and (iii) correcting the eye color defect pixels in the body, border, or glint categories.
  4. 21
    A method of correcting eye color defects of a subject in an image due to flash illumination, comprising the steps of:a) providing the location of each eye color defect pixel in the subject's eye;and b) correcting the defective color in each eye color defect pixel as a function of whether the corrected resolution will be at a higher or lower resolution.
  5. 24
    Apparatus for detecting for eye color defects of a subject in an image due to flash illumination, comprising the steps of:a) means for scanning an image containing the subject in a medium to produce a digital image;b) means for defining a spatial region within such digital image wherein one or more eye color defects may exist, which region includes at least a portion of the subject's head;c) means for sampling pixels within such spatial region for their color content and comparing each such sampled pixel with a plurality of threshold values which are representative of eye color defects to identify possible eye color defect pixels;d) means for segmenting the identified possible eye color defect pixels into one or more spatially contiguous groups;e) means for calculating a first score for each pixel of each segmented group and for each group based upon a plurality of features including group size, group shape, coloration, and brightness to identify eye color defect group candidates;f) means for selecting a seed pixel based on its score from each identified eye color defect group candidate and determining all the neighboring pixels which are within a predetermined score range of their neighboring pixels and those pixels in a group which represent a significant pixel score transition so that the determined transitions identify the outer boundary of an eye color defect group candidate;g) means for calculating a second score for each pixel for each eye color defect group candidate based on a plurality of features including group size, group shape, coloration, and brightness to determine an eye color defect group;h) means for selecting the best group score of an eye color defect group candidate and comparing it relative to a predetermined threshold group score to determine whether an eye is present and identify the most likely eye;and i) means for determining whether another eye color defect group is present based on whether the area of that eye is within a predetermined threshold ratio of the area of the color defect group corresponding to the most likely eye, and whether this group must be within a predetermined threshold angular subtense of the most likely eye along the predetermined horizontal axis of the subject's head.
  6. 25
    Apparatus for detecting and correcting for eye color defects of a subject in an image due to flash illumination, comprising the steps of:a) means for scanning an image containing the subject in a medium to produce a digital image;b) means for defining a spatial region within which one or more eye color defects may exist, which region includes at least a portion of the subject's head;c) means for sampling pixels within such spatial region for their color content and comparing each such sampled pixel with a plurality of threshold values which are representative of eye color defects to identify possible eye color defect pixels;d) means for segmenting the identified possible eye color defect pixels into one or more spatially contiguous groups;e) means for calculating a first score for each pixel of each segmented group and for each group based upon a plurality of features including group size, group shape, coloration, and brightness to identify eye color defect group candidates;f) means for selecting a seed pixel based on its score from each identified eye color defect group candidate and determining all the neighboring pixels which are within a predetermined score range of their neighboring pixels and those pixels in a group which represent a significant pixel score transition so that the determined transitions identify the outer boundary of an eye color defect group candidate;g) means for calculating a second score for each pixel for each eye color defect group candidate based on a plurality of features including group size, group shape, coloration, and brightness to determine an eye color defect group;h) means for selecting the best group score of an eye color defect group candidate and comparing it relative to a predetermined threshold group score to determine whether an eye is present and identify the most likely eye;and i) means for determining whether another eye color defect group is present based on whether the area of that eye is within a predetermined threshold ratio of the area of the color defect group corresponding to the most likely eye, and whether this group must be within a predetermined threshold angular subtense of the most likely eye along the predetermined horizontal axis of the subject's head;j) means for correcting the defective color in each eye color defect group by: (i) determining the correct resolution and whether each pixel at the corrected resolution is an eye color defect pixel;(ii) categorizing the eye color defect pixels at the corrected resolution into either body, border, or glint categories;and (iii) correcting the eye color defect pixels in the body, border, or glint categories.