dup_image ( Image : DupImage : : )

Copy an image and allocate new memory for it.

dup_image copies the first channel of the input image into a new (single-channel) image with the same domain as the imput image. In contrast to HORUS operators such as copy_obj, the image is copied into a newly allocated memory segment. This can be used to modify the gray values of the new image, for example (see get_image_pointer__).


Parameters

Image (input_object)
image -> object
Image to be copied.

DupImage (output_object)
image -> object
Copied image.


Possible Predecessors

read_image, new_image__


Possible Successors

set_greyval__, get_image_pointer__


Alternatives

set_greyval__, paint_grey__, new_image__, clear_image


See also

get_image_pointer__



Copyright © 1996-1997 MVTec Software GmbH