copy_imagecopy_imageCopyImageCopyImage (Operator)

Name

copy_imagecopy_imageCopyImageCopyImage — 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()

Description

copy_imagecopy_imageCopyImageCopyImageCopyImage 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_objCopyObjCopyObjCopyObj, 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_pointer1GetImagePointer1GetImagePointer1GetImagePointer1).

Execution Information

Parameters

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

Image to be copied.

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

Copied image.

Possible Predecessors

read_imageread_imageReadImageReadImageReadImage, gen_image_constgen_image_constGenImageConstGenImageConstGenImageConst

Possible Successors

set_grayvalset_grayvalSetGrayvalSetGrayvalSetGrayval, get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1

Alternatives

set_grayvalset_grayvalSetGrayvalSetGrayvalSetGrayval, paint_graypaint_grayPaintGrayPaintGrayPaintGray, gen_image_constgen_image_constGenImageConstGenImageConstGenImageConst, gen_image_protogen_image_protoGenImageProtoGenImageProtoGenImageProto

See also

get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1

Module

Foundation