Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “HALCON 中的算子到底是什么?它与函数有何不同?”

3 keyword matches

Understanding your question. You can explore the search results below now.

Find a method

↗

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.

Find a method

↗

The video interprets procedural orientation in HALCON as 'responding to each situation as it arises.' This means that when a specific processing need emerges, the user calls the corresponding operator or function to implement the task.

Conditions: This is the video's colloquial summary of HALCON's programming style.; The discussion remains strictly within HALCON, excluding joint programming.

Find a method

↗

The read_image example demonstrates the process by showing how to call an operator in HDevelop, pass a file path as an input parameter, and receive an image object as an output variable. After execution, the loaded image appears in the graphics window and the variable panel.

Conditions: The code is executed in the HALCON HDevelop main program region (#main).; The input is a valid image file path string.; The output is an image variable.