channels_to_imagechannels_to_imageChannelsToImageChannelsToImagechannels_to_imagechannels_to_image
Short description
channels_to_imagechannels_to_imageChannelsToImageChannelsToImagechannels_to_imagechannels_to_image — Convert one-channel images into a multi-channel image
Signature
channels_to_image( image Images, out image MultiChannelImage )channels_to_image( Images : MultiChannelImage : : )void ChannelsToImage( const HObject& Images, HObject* MultiChannelImage )static void HOperatorSet.ChannelsToImage( HObject images, out HObject multiChannelImage )def channels_to_image( images: HObject ) -> HObject
Herror channels_to_image( const Hobject Images, Hobject* MultiChannelImage )
Herror T_channels_to_image( const Hobject Images, Hobject* MultiChannelImage )
HImage HImage::ChannelsToImage( ) const
HImage HImage.ChannelsToImage( )
Description
The operator channels_to_imageChannelsToImage converts several
one-channel images into a multi-channel image. The new definition
domain is the intersection of the definition domains of the input
images.
No new storage is allocated for the multi-channel images, unless images
of different dimensions are combined. In that case, new storage is allocated
for all images that do not have both maximum width and height among all
input images.
For all images with maximum dimensions, the created multi-channel image
contains references to the existing input images.
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
Imagesimagesimages (input_object) singlechannelimage-array → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HImage (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)Hobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
One-channel images to be combined into a
one-channel image.
MultiChannelImagemultiChannelImagemulti_channel_image (output_object) multichannel-image → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HImage (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)Hobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Multi-channel image.
Combinations with other operators
Combinations
Possible successors
count_channelsCountChannels, disp_imageDispImage
See also
image_to_channelsImageToChannels
Module
Foundation