access_channel — Access a channel of a multi-channel image.
access_channel(MultiChannelImage : Image : Channel : )
The operator access_channel accesses a channel of the
(multi-channel) input image. The result is a one-channel image.
The definition domain of the input is adopted. The channels are
numbered from 1 to n. The number of channels can be determined via
the operator count_channels.
MultiChannelImage (input_object) (multichannel-)image → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Multi-channel image.
Image (output_object) singlechannelimage → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
One channel of MultiChannelImage.
Channel (input_control) channel → (integer)
Index of channel to be accessed.
Default value: 1
Suggested values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
Typical range of values: 1
≤
Channel
read_image(&Color,"patras"); /* read color image */ access_channel(Color,&Red,1); /* extract red channel */ disp_image(Red,WindowHandle);
decompose2,
decompose3,
decompose4,
decompose5
Foundation