copy_image ( Image : DupImage : : )

Copy an image and allocate new memory for it.

copy_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_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_pointer1).


Parameters

Image (input_object)
(multichannel-)image -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Image to be copied.

DupImage (output_object)
(multichannel-)image -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Copied image.


Parallelization Information

copy_image is reentrant and processed without parallelization.


Possible Predecessors

read_image, gen_image_const


Possible Successors

set_grayval, get_image_pointer1


Alternatives

set_grayval, paint_gray, gen_image_const, gen_image_proto


See also

get_image_pointer1


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH