Skip to content

compose4Compose4Compose4compose4compose4🔗

Short description🔗

compose4Compose4Compose4compose4compose4 — Convert 4 images into a four-channel image.

Signature🔗

compose4( image Image1, image Image2, image Image3, image Image4, out image MultiChannelImage )void Compose4( const HObject& Image1, const HObject& Image2, const HObject& Image3, const HObject& Image4, HObject* MultiChannelImage )static void HOperatorSet.Compose4( HObject image1, HObject image2, HObject image3, HObject image4, out HObject multiChannelImage )def compose4( image_1: HObject, image_2: HObject, image_3: HObject, image_4: HObject ) -> HObject

Herror compose4( const Hobject Image1, const Hobject Image2, const Hobject Image3, const Hobject Image4, Hobject* MultiChannelImage )

Herror T_compose4( const Hobject Image1, const Hobject Image2, const Hobject Image3, const Hobject Image4, Hobject* MultiChannelImage )

HImage HImage::Compose4( const HImage& Image2, const HImage& Image3, const HImage& Image4 ) const

HImage HImage.Compose4( HImage image2, HImage image3, HImage image4 )

Description🔗

The operator compose4Compose4 converts 4 one-channel images into a 4-channel image. The definition domain is calculated as the intersection of the definition domains of the input images. No new storage is allocated for the multi-channel image. Instead, the created multi-channel image contains references to the existing input images.

Execution information🔗

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).

Parameters🔗

Image1image1image_1 (input_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)

Input image 1.

Image2image2image_2 (input_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)

Input image 2.

Image3image3image_3 (input_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)

Input image 3.

Image4image4image_4 (input_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)

Input image 4.

MultiChannelImagemultiChannelImagemulti_channel_image (output_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.

Combinations with other operators🔗

Combinations

Possible successors

disp_imageDispImage

Alternatives

append_channelAppendChannel

See also

decompose4Decompose4

Module🔗

Foundation