copy_imagecopy_imageCopyImageCopyImagecopy_image (Operator)

Name

copy_imagecopy_imageCopyImageCopyImagecopy_image — Copy an image and allocate new memory for it.

Signature

copy_image(Image : DupImage : : )

Herror copy_image(const Hobject Image, Hobject* DupImage)

Herror T_copy_image(const Hobject Image, Hobject* DupImage)

void CopyImage(const HObject& Image, HObject* DupImage)

HImage HImage::CopyImage() const

static void HOperatorSet.CopyImage(HObject image, out HObject dupImage)

HImage HImage.CopyImage()

def copy_image(image: HObject) -> HObject

Description

copy_imagecopy_imageCopyImageCopyImagecopy_image copies the input image into a new image with the same domain as the input image. In contrast to HALCON operators such as copy_objcopy_objCopyObjCopyObjcopy_obj, physical copies of all channels are created. This can be used, for example, to modify the gray values of the new image (see get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1get_image_pointer1).

Execution Information

Parameters

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

Image to be copied.

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

Copied image.

Possible Predecessors

read_imageread_imageReadImageReadImageread_image, gen_image_constgen_image_constGenImageConstGenImageConstgen_image_const

Possible Successors

set_grayvalset_grayvalSetGrayvalSetGrayvalset_grayval, get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1get_image_pointer1

Alternatives

set_grayvalset_grayvalSetGrayvalSetGrayvalset_grayval, paint_graypaint_grayPaintGrayPaintGraypaint_gray, gen_image_constgen_image_constGenImageConstGenImageConstgen_image_const, gen_image_protogen_image_protoGenImageProtoGenImageProtogen_image_proto

See also

get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1get_image_pointer1

Module

Foundation