HALCON Reference Manual 10.0.2
Table of Contents / Image / Creation ClassesClassesClasses | | | Operators

copy_imagecopy_imagecopy_imageCopyImageCopyImage (Operator)

Name

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

Herror copy_image(Hobject Image, Hobject* DupImage)

HImage HImage::CopyImage() const

HImageArray HImageArray::CopyImage() const

void HOperatorSetX.CopyImage(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*DupImage)

IHImageX* HImageX.CopyImage()

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

HImage HImage.CopyImage()

Description

copy_imagecopy_imagecopy_imageCopyImageCopyImage 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_objcopy_objCopyObjCopyObj, 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_pointer1get_image_pointer1GetImagePointer1GetImagePointer1).

Parallelization

Parameters

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

Image to be copied.

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

Copied image.

Possible Predecessors

read_imageread_imageread_imageReadImageReadImage, gen_image_constgen_image_constgen_image_constGenImageConstGenImageConst

Possible Successors

set_grayvalset_grayvalset_grayvalSetGrayvalSetGrayval, get_image_pointer1get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1

Alternatives

set_grayvalset_grayvalset_grayvalSetGrayvalSetGrayval, paint_graypaint_graypaint_grayPaintGrayPaintGray, gen_image_constgen_image_constgen_image_constGenImageConstGenImageConst, gen_image_protogen_image_protogen_image_protoGenImageProtoGenImageProto

See also

get_image_pointer1get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1

Module

Foundation


Table of Contents / Image / Creation ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH