摘要 |
A method and apparatus for determining a grid structure for a set of values in a device color space is provided. A multi-step process applies heuristics to a collection of color sample data in order to determine the structure of a look-up table that best fits the samples. A first step is a sorting and counting step, in which the sampling data is sorted for each channel, and the number of steps in each channel is counted. A second step is a check for completeness of the data. A third step is a removal step in which steps are removed if they do not correspond to steps on the axes of the three-dimensional cube. The fourth step is a check for a full Look Up Table (LUT). If a full LUT has been obtained, then the structure of the LUT has been determined and the process ends. On the other hand, if the check for a full LUT is unsuccessful, then a fifth step is performed, in which steps are removed if they are under-correlated with other steps.
|