decompose4Decompose4Decompose4decompose4decompose4
Short description
decompose4Decompose4Decompose4decompose4decompose4 — Convert a four-channel image into four images.
Signature
decompose4( image MultiChannelImage, out image Image1, out image Image2, out image Image3, out image Image4 )void Decompose4( const HObject& MultiChannelImage, HObject* Image1, HObject* Image2, HObject* Image3, HObject* Image4 )static void HOperatorSet.Decompose4( HObject multiChannelImage, out HObject image1, out HObject image2, out HObject image3, out HObject image4 )def decompose4( multi_channel_image: HObject ) -> Tuple[HObject, HObject, HObject, HObject]
Herror decompose4( const Hobject MultiChannelImage, Hobject* Image1, Hobject* Image2, Hobject* Image3, Hobject* Image4 )
Herror T_decompose4( const Hobject MultiChannelImage, Hobject* Image1, Hobject* Image2, Hobject* Image3, Hobject* Image4 )
HImage HImage::Decompose4( HImage* Image2, HImage* Image3, HImage* Image4 ) const
HImage HImage.Decompose4( out HImage image2, out HImage image3, out HImage image4 )
Description
The operator decompose4Decompose4 converts a 4-channel image into
four one-channel images with the same definition domain.
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).
-
Automatically parallelized on tuple level.
Parameters
MultiChannelImagemultiChannelImagemulti_channel_image (input_object) multichannel-image(-array) → 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.
Image1image1image_1 (output_object) singlechannelimage(-array) → 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)
Output image 1.
Image2image2image_2 (output_object) singlechannelimage(-array) → 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)
Output image 2.
Image3image3image_3 (output_object) singlechannelimage(-array) → 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)
Output image 3.
Image4image4image_4 (output_object) singlechannelimage(-array) → 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)
Output image 4.
Combinations with other operators
Combinations
Possible predecessors
count_channelsCountChannels
Possible successors
disp_imageDispImage
Alternatives
access_channelAccessChannel, image_to_channelsImageToChannels
See also
compose4Compose4
Module
Foundation