image_to_channelsimage_to_channelsImageToChannelsImageToChannelsimage_to_channels (Operator)
Name
image_to_channelsimage_to_channelsImageToChannelsImageToChannelsimage_to_channels
— Convert a multi-channel image into One-channel images
Signature
Description
The operator image_to_channelsimage_to_channelsImageToChannelsImageToChannelsImageToChannelsimage_to_channels
generates a one-channel
image for each channel of the multi-channel image in
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_channel_image
. The definition domains are adopted
from the input image. As many images are created as
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_channel_image
has channels.
No new storage is allocated for the output images.
Instead, the created images contain references to the existing
input image channels.
Execution Information
- Supports objects on compute devices.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_channel_image
(input_object) (multichannel-)image →
objectHImageHObjectHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Multi-channel image to be decomposed.
ImagesImagesImagesImagesimagesimages
(output_object) singlechannelimage-array →
objectHImageHObjectHImageHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Generated one-channel images.
Possible Predecessors
count_channelscount_channelsCountChannelsCountChannelsCountChannelscount_channels
Possible Successors
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
Alternatives
access_channelaccess_channelAccessChannelAccessChannelAccessChannelaccess_channel
,
decompose2decompose2Decompose2Decompose2Decompose2decompose2
,
decompose3decompose3Decompose3Decompose3Decompose3decompose3
,
decompose4decompose4Decompose4Decompose4Decompose4decompose4
,
decompose5decompose5Decompose5Decompose5Decompose5decompose5
See also
channels_to_imagechannels_to_imageChannelsToImageChannelsToImageChannelsToImagechannels_to_image
Module
Foundation