Patent ID: 7692666

Claim:
A machine-implemented method comprising: generating a color profile that conforms to a defined color profile architecture and that defines a multistage transform capable of translating an image color space to a profile connection color space; receiving an image; processing the image using the color profile; and outputting the image to an electronic device; wherein the generating, the receiving, the processing and the outputting are performed by at least one processor, and wherein the image comprises a parameterized encoding of the image color space with image parameters defining a range and an offset of an image component of the image, and a white point of the image color space; and the generating the color profile comprises affecting two or more stages of the multistage transform based on the image parameters during the generating of the color profile, the affecting comprising: determining a first processing stage of a transform-defining element of the defined color profile architecture, wherein the first processing stage comprises a multidimensional interpolation table that governs commingling of image channels and accounts for the range and the offset, and wherein the determining the first processing stage comprises making entries of the multidimensional interpolation table positive and normalizing the entries in the multidimensional interpolation table; determining a second processing stage of the transform-defining element, wherein the second processing stage comprises one dimensional transforms and defines at least a portion of a conversion of the image color space to a chromatic adaptation color space, and wherein the determining the second processing stage comprises generating a second processing stage that denormalizes output of the first processing stage, applies a nonlinear function and scales by a scaling factor; and determining a third processing stage of the transform-defining element, wherein the third processing stage comprises a matrix and defines a chromatic adaptation in the chromatic adaptation color space according to the white point, and wherein the determining the third processing stage comprises generating a third processing stage that denormalizes output of the second processing stage and performs the chromatic adaptation.