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

image_to_channels(MultiChannelImage : Images : : )

Herror image_to_channels(const Hobject MultiChannelImage, Hobject* Images)

Herror T_image_to_channels(const Hobject MultiChannelImage, Hobject* Images)

void ImageToChannels(const HObject& MultiChannelImage, HObject* Images)

HImage HImage::ImageToChannels() const

static void HOperatorSet.ImageToChannels(HObject multiChannelImage, out HObject images)

HImage HImage.ImageToChannels()

def image_to_channels(multi_channel_image: HObject) -> HObject

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

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