copy_imagecopy_imageCopyImageCopyImagecopy_image (Operator)
Name
copy_imagecopy_imageCopyImageCopyImagecopy_image — Copy an image and allocate new memory for it.
Signature
def copy_image(image: HObject) -> HObject
Description
copy_imagecopy_imageCopyImageCopyImageCopyImagecopy_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_objcopy_objCopyObjCopyObjCopyObjcopy_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_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1get_image_pointer1).
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ImageImageImageImageimageimage (input_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Image to be copied.
DupImageDupImageDupImageDupImagedupImagedup_image (output_object) (multichannel-)image(-array) → objectHImageHObjectHImageHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Copied image.
Possible Predecessors
read_imageread_imageReadImageReadImageReadImageread_image,
gen_image_constgen_image_constGenImageConstGenImageConstGenImageConstgen_image_const
Possible Successors
set_grayvalset_grayvalSetGrayvalSetGrayvalSetGrayvalset_grayval,
get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1get_image_pointer1
Alternatives
set_grayvalset_grayvalSetGrayvalSetGrayvalSetGrayvalset_grayval,
paint_graypaint_grayPaintGrayPaintGrayPaintGraypaint_gray,
gen_image_constgen_image_constGenImageConstGenImageConstGenImageConstgen_image_const,
gen_image_protogen_image_protoGenImageProtoGenImageProtoGenImageProtogen_image_proto
See also
get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1get_image_pointer1
Module
Foundation