You are here : matlabImage Processingapplycform

applycform() - Image Processing

B = applycform(A,C) converts
the color values in A to the color space specified
in the color transformation structure C. The color
transformation structure specifies various parameters of the transformation.
See makecform for details.If A is two-dimensional, each row is interpreted
as a color unless the color transformation structure contains a grayscale
ICC profile. (See Note for this case.) A can have
1 or more columns, depending on the input color space. B has
the same number of rows and 1 or more columns, depending on the output
color space. (The ICC spec currently supports up to 15-channel device
spaces.)If A is three-dimensional, each row-column
location is interpreted as a color, and size(A,3) is
typically 1 or more, depending on the input color space. B has
the same number of rows and columns as A, and size(B,3) is
1 or more, depending on the output color space.


Syntax

B = applycform(A,C)


Example

C = makecform('named', profile, space)


Output / Return Value


Limitations


Alternatives / See Also


Reference