Copy an image and allocate new memory for it.
::copy_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 HALCON 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_pointer1).
|
Image (input_object) |
image -> Hobject: HImage |
| Image to be copied. | |
|
DupImage (output_object) |
image -> Hobject * : HImage |
| Copied image. | |
::read_image, ::gen_image_const
::set_grayval, ::get_image_pointer1
::set_grayval, ::paint_gray, ::gen_image_const, ::gen_image_proto
Basic operators