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_channelsImageToChannelsImageToChannelsimage_to_channels generates a one-channel image for each channel of the multi-channel image in MultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_channel_image. The definition domains are adopted from the input image. As many images are created as MultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_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

MultiChannelImageMultiChannelImageMultiChannelImagemultiChannelImagemulti_channel_image (input_object)  (multichannel-)image objectHImageHObjectHObjectHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Multi-channel image to be decomposed.

ImagesImagesImagesimagesimages (output_object)  singlechannelimage-array objectHImageHObjectHObjectHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Generated one-channel images.

Possible Predecessors

count_channelscount_channelsCountChannelsCountChannelscount_channels

Possible Successors

disp_imagedisp_imageDispImageDispImagedisp_image

Alternatives

access_channelaccess_channelAccessChannelAccessChannelaccess_channel, decompose2decompose2Decompose2Decompose2decompose2, decompose3decompose3Decompose3Decompose3decompose3, decompose4decompose4Decompose4Decompose4decompose4, decompose5decompose5Decompose5Decompose5decompose5

See also

channels_to_imagechannels_to_imageChannelsToImageChannelsToImagechannels_to_image

Module

Foundation