Method for calculating color transform in WCS pipeline
AssigneeKonica Minolta Laboratory U.S.A., Inc.
InventorWei Ming
Life of this patent
Estimating the term…
Abstract
A modified WCS (Windows Color System) pipeline is provided, which calculates the color transform off-line. More specifically, the color transform is calculated once after any profile is changed, and the calculated color transform data is stored for later use. During the printing process (i.e. when the user prints a document), the stored color transform data is retrieved and used by the pipeline to perform subsequent steps such as content color translation, without re-performing the color transform calculation.
Claims15
A method implemented in a computer equipped with Windows color system (WCS) for printing color images, comprising:
- (a) providing a plurality of custom plug-in modules;
- (b) providing one or more profiles, including a customized source color device model (CDM) profile, a customized destination CDM profile, a customized gamut map model (GMM) profile, a source color appearance model (CAM) profile, and a destination CAM profile;
- (c) upon receiving a first user instruction to change a profile,
- (c1) changing one or more of the profiles or providing additional profiles;
- (c2) performing color transform using WCS functions and the custom plug-in modules to calculate color transform data;
- and
- (c3) storing the calculated color transform data;
- (d) upon receiving a second user instruction to print a document, performing content color translation using WCS functions to translate an array of colors from a source color space to a destination color space using the stored color transform data without calculating the color transform data;
- and
- (e) repeating step (d) upon receiving a third user instruction to print another document.
A method implemented in a computer equipped with Windows color system (WCS) for printing color images, comprising:
- (a) providing a plurality of custom plug-in modules;
- (b) providing one or more profiles, including a customized source color device model (CDM) profile, a customized destination CDM profile, a customized gamut map model (GMM) profile, a source color appearance model (CAM) profile, and a destination CAM profile;
- (c) upon receiving a user instruction to print a document, determining whether a profile has been changed or added since a last document was printed;
- (d) if a profile has been changed or added since a last document was printed,
- (d1) performing color transform using WCS functions and the custom plug-in modules to calculate color transform data;
- (d2) storing the calculated color transform data by keeping a color transform handle;
- and
- (d3) performing content color translation using WCS functions to translate an array of colors from a source color space to a destination color space using the stored color transform data;
- (e) if no profile has been changed or added since a last document was printed, performing content color translation using WCS functions to translate an array of colors from a source color space to a destination color space using the stored color transform data without calculating the color transform data;
- and
- (f) repeating steps (c), (d) and (e) upon receiving another user instruction to print another document.
A computer program product comprising a computer usable non-transitory medium having a computer readable program code embedded therein for controlling a computer, the computer readable program code configured to cause the computer equipped with Windows color system (WCS) to execute a process which comprises:
- detecting a customized tag in one of a plurality of profiles;
- if the tag has first pre-determined value, regardless of other values in the profiles, calculating color transform data and storing the calculated color transform data, either by storing the calculated color transform data in a customized destination CDM profile, or by storing the calculated color transform data in a data file and providing a tag in a destination CDM profile to indicate a location and name of the data file;
- and
- if the tag has a second pre-determined value, regardless of other values in the profiles, retrieving stored color transform data without calculating the color transform data.
A computer program product comprising a computer usable non-transitory medium having a computer readable program code embedded therein for controlling a computer, the computer readable program code being a printer driver configured to cause the computer equipped with Windows color system (WCS) to execute a process for printing color images, the process comprising:
- detecting whether a profile has been changed or added since a last document was printed;
- if a profile has been changed or added since a last document was printed,
- (a) calling a first WCS function to calculate color transform data;
- (b) storing the calculated color transform data by keeping a color transform handle;
- and
- (c) calling a second WCS function to translate an array of colors from a source color space to a destination color space using the stored color transform data;
- and
- if no profile has been changed or added since a last document was printed, calling the second WCS function to translate an array of colors from a source color space to a destination color space using the stored color transform data without calculating the color transform data.
Dependencies are inferred from the claim text.