applycform
Apply device-independent color space transformation
Syntax
Description
Examples
Input Arguments
Output Arguments
Algorithms
The applycform
function assumes that the input color space values
follow encoding conventions. Encoding describes the mapping
between color values and numeric values in different data types. For example, in an RGB
image of data type double
, a value of 1.0
is fully
saturated. In an RGB image of data type uint8
, a value of
255
is fully saturated.
For the L*a*b* color space, the applycform
function assumes
values follow the encoding convention described in the Algorithms section of the
lab2double
function page.
For the RGB and CMYK color spaces, the applycform
function
assumes values are scaled to the data type range. If there is a mismatch between the
data type and value range for your data, rescale the values or convert your data to the
correct data type.
The function assumes values of data type
double
are in the range[0, 1]
.The function assumes values of data type
uint8
are in the range[0, 255]
.The function assumes values of data type
uint16
are in the range[0, 65535]
.
Version History
Introduced before R2006a