Hardware-accelerated color data processing
First Claim
1. A method for mapping color data, which has a color associated therewith, to an output device based on an input-device profile and an output-device profile, each of the input-device profile and the output-device profile having a tone curve and a color matrix, the method comprising:
- receiving by a processing unit color data from an input device;
determining by the processing unit that the color data is not in a linear space;
applying by the processing unit the tone curve of the input-device profile to the color data to convert the color data into an input linear space;
determining whether performance considerations are more important to mapping the color data than fidelity considerations;
converting by the processing unit the color data from the input linear space to an output linear space by applying the color matrix of the input-device profile and the inverse color matrix of the output-device profile thereto to create color-converted color data,wherein, if performance considerations are more important than fidelity considerations to mapping the color data, the color matrix of the input-device profile is multiplied by the inverse color matrix of the output-device profile before being applied to the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile being applied in a single color-conversion operation, andwherein, if fidelity considerations are more important than performance considerations to mapping the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile are not concatenated and are applied in separate color-conversion operations; and
mapping by the processing unit the inverse tone curve of the output-device profile into the color-converted color data to convert the color-converted color data into mapped color data.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods for mapping color data having at least one color associated therewith to an output device based on an input-device profile and an output-device profile, each profile having a tone curve and a color matrix, are provided. In one embodiment, the method includes receiving color data from an input device and determining whether the color data is in a linear space. If it is determined that the color data is not in a linear space, the method further includes applying the tone curve of the input device profile to the color data to convert it into a linear space. The method further includes converting the color(s) associated with the color data from the input linear space to an output linear space by applying the color matrix of the input device profile and the inverse color matrix of the output device profile to create color-converted image data.
-
Citations
6 Claims
-
1. A method for mapping color data, which has a color associated therewith, to an output device based on an input-device profile and an output-device profile, each of the input-device profile and the output-device profile having a tone curve and a color matrix, the method comprising:
-
receiving by a processing unit color data from an input device; determining by the processing unit that the color data is not in a linear space; applying by the processing unit the tone curve of the input-device profile to the color data to convert the color data into an input linear space; determining whether performance considerations are more important to mapping the color data than fidelity considerations; converting by the processing unit the color data from the input linear space to an output linear space by applying the color matrix of the input-device profile and the inverse color matrix of the output-device profile thereto to create color-converted color data, wherein, if performance considerations are more important than fidelity considerations to mapping the color data, the color matrix of the input-device profile is multiplied by the inverse color matrix of the output-device profile before being applied to the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile being applied in a single color-conversion operation, and wherein, if fidelity considerations are more important than performance considerations to mapping the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile are not concatenated and are applied in separate color-conversion operations; and mapping by the processing unit the inverse tone curve of the output-device profile into the color-converted color data to convert the color-converted color data into mapped color data. - View Dependent Claims (2, 3, 4)
-
-
5. A computer memory device storing computer-executable instructions that, when executed by a computing device, perform a method of mapping color data, which has a color associated therewith, to an output device based on an input-device profile and an output-device profile, each of the input-device profile and the output-device profile having a tone curve and a color matrix, the method comprising:
- receiving color data from an input device;
determining that the color data is not in a linear space;
applying the tone curve of the input-device profile to the color data to convert the color data into an input linear space;
determining whether performance considerations are more important to mapping the color data than fidelity considerations;
converting the color from the input linear space to an output linear space by applying the color matrix of the input-device profile and the inverse color matrix of the output-device profile thereto to create color-converted color data, wherein, if performance considerations are more important than fidelity considerations to mapping the color data, the color matrix of the input-device profile is multiplied by the inverse color matrix of the output-device profile before being applied to the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile being applied in a single color-conversion operation, and wherein, if fidelity considerations are more important than performance considerations to mapping the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile are not concatenated and are applied as separate color-conversion operations; and
mapping the inverse tone curve of the output-device profile into the color-converted color data to convert the color-converted color data into mapped color data.
- receiving color data from an input device;
-
6. A system including one or more processing units that execute instructions stored on computer storage media to perform a method of mapping color data, which has a color associated therewith, to an output device based on an input-device profile and an output-device profile, each of the input-device profile and the output-device profile having a tone curve and a color matrix, the method comprising:
-
receiving color data from an input device; determining that the color data is not in a linear space; applying the tone curve of the input-device profile to the color data to convert the color data into an input linear space; determining whether performance considerations are more important to mapping the color data than fidelity considerations; converting the color from the input linear space to an output linear space by applying the color matrix of the input-device profile and the inverse color matrix of the output-device profile thereto to create color-converted color data, wherein, if performance considerations are more important than fidelity considerations to mapping the color data, the color matrix of the input-device profile is multiplied by the inverse color matrix of the output-device profile before being applied to the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile being applied in a single color-conversion operation, and wherein, if fidelity considerations are more important than performance considerations to mapping the color data, the color matrix of the input-device profile and the inverse color matrix of the output-device profile are not concatenated and are applied as separate color-conversion operations; and mapping the inverse tone curve of the output-device profile into the color-converted color data to convert the color-converted color data into mapped color data.
-
Specification