摘要 |
Even if a calculation result is out of range (e.g., below 0 or over 255 in the case of an 8-bit color signal) of a destination color signal when a color conversion table is generated by matrix calculation, clipping (non-reversible operation) is not performed, and a constant is evenly added to the matrix calculation result irrespectively of whether the value range is exceeded or not, to fit the calculation result in a predetermined data type and store as a table value. Further, subtraction of the added constant is defined as an operation immediately after table interpolation, to obtain a final correct color conversion output.
|