To obtain the width and height of an image in HALCON, you use the get_image_size operator. You pass the loaded image variable as an input, and declare Width and Height variables as outputs to receive the pixel dimensions.
Conditions: The image must already be loaded into a variable (e.g., using read_image).; The operator get_image_size is called in the HDevelop environment.
To obtain the width and height of an image in HALCON, you use the get_image_size operator. You pass the loaded image variable as an input, and declare Width and Height variables as outputs to receive the pixel dimensions.
Conditions: The image must already be loaded into a variable (e.g., using read_image).; The operator get_image_size is called in the HDevelop environment.