| Table of Contents / Image / Creation | Operators |
gen_image_proto — Create an image with a specified constant gray value.
gen_image_proto(Image : ImageCleared : Grayval : )
gen_image_proto creates an output image ImageCleared with the constant gray value Grayval. ImageCleared has the same dimensions and pixel type as the input image Image.
Input image.
Image with constant gray value.
Gray value to be used for the output image.
Default value: 0
Suggested values: 0, 1, 2, 5, 10, 16, 32, 64, 128, 253, 254, 255
gen_image_proto returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.
set_grayval, paint_gray, gen_image_const, copy_image
Foundation
| Table of Contents / Image / Creation | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |