Operator Reference

compose4compose4Compose4Compose4compose4 (Operator)

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

Signature

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)

void 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

def compose4(image_1: HObject, image_2: HObject, image_3: HObject, image_4: HObject) -> HObject

Description

The operator compose4compose4Compose4Compose4compose4 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

  • 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

Image1Image1Image1image1image_1 (input_object)  singlechannelimage(-array) objectHImageHObjectHObjectHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image 1.

Image2Image2Image2image2image_2 (input_object)  singlechannelimage(-array) objectHImageHObjectHObjectHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image 2.

Image3Image3Image3image3image_3 (input_object)  singlechannelimage(-array) objectHImageHObjectHObjectHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image 3.

Image4Image4Image4image4image_4 (input_object)  singlechannelimage(-array) objectHImageHObjectHObjectHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Input image 4.

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

Multi-channel image.

Possible Successors

disp_imagedisp_imageDispImageDispImagedisp_image

Alternatives

append_channelappend_channelAppendChannelAppendChannelappend_channel

See also

decompose4decompose4Decompose4Decompose4decompose4

Module

Foundation