image_to_channelsimage_to_channelsImageToChannelsImageToChannels (Operator)
Name
image_to_channelsimage_to_channelsImageToChannelsImageToChannels — Convert a multi-channel image into One-channel images
Signature
Description
The operator image_to_channelsimage_to_channelsImageToChannelsImageToChannelsImageToChannels generates a one-channel
image for each channel of the multi-channel image in
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImage. The definition domains are adopted
from the input image. As many images are created as
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImage 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
MultiChannelImageMultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImage (input_object) (multichannel-)image → objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Multi-channel image to be decomposed.
ImagesImagesImagesImagesimages (output_object) singlechannelimage-array → objectHImageHImageHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Generated one-channel images.
Possible Predecessors
count_channelscount_channelsCountChannelsCountChannelsCountChannels
Possible Successors
disp_imagedisp_imageDispImageDispImageDispImage
Alternatives
access_channelaccess_channelAccessChannelAccessChannelAccessChannel,
decompose2decompose2Decompose2Decompose2Decompose2,
decompose3decompose3Decompose3Decompose3Decompose3,
decompose4decompose4Decompose4Decompose4Decompose4,
decompose5decompose5Decompose5Decompose5Decompose5
See also
channels_to_imagechannels_to_imageChannelsToImageChannelsToImageChannelsToImage
Module
Foundation