Abstract: A color processing system is provided that corrects color artifacts such as red eye typically formed in images from a camera flash. An image is captured or processed by inputting the image into the system. To correct red eye artifacts, a “redness” mask is computed by calculating the colorimetric distance, in an approximately perceptually linear color space, between a prototypical reference “red eye” color and each pixel of the image, or a selected portion thereof, containing the red eye. Each pixel of the redness mask is then reduced to one of two values by comparing the calculated colorimetric distance recorded by each mask pixel to a threshold value. Various filtering, morphological, and blob analysis techniques may be applied to the mask to eliminate noise, reduce errors, and facilitate a more natural look. The mask serves to identify pixels in the color image needing correction, and further serves to identify the amount of correction needed.
Abstract: A printer that uses a number of control state machines to reconfigure logic array circuitry to perform image data processing in preparation for printing. The logic array circuitry is programmable and adaptable to accommodate a wide variety of printer components characteristic to digital image printing systems. The logic array circuitry is reconfigured, depending on the particular printer in which the invention is implemented, by the control state machines as they receive control state machine conditions corresponding to the printer components characteristic to that specific digital image printer. For example, the physical, mechanical, and electrical characteristics of the printer constitute the printer component that modify the control state machine conditions which in turn govern the configuration of the logic array circuitry through the control state machines.