Whenever any kind of functionality is used from the HALCON library, it is done
via an operator. Most of them comprise multiple methods, which are
selected via parameters. A full list of all operators can be found in the
HALCON Operator Reference available in HDevelop, .NET, Python, C++, and C
syntax. Important features of operators are:
- There is no hierarchy among operators. From the software architecture
point of view, all operators are on the same level.
- Of course, there are logical groups of operators. For example, this can
be seen by the classes offered for C++ and .NET, where operators processing
the same data type are member functions of the corresponding classes.
- The design of the operators follows the rules of the open architecture.
Therefore, you can create your own operators and thus extend HALCON (see
section “Extension Packages”). The Extension Package Programmer's Manual contains detailed information about
extending the operator library.
- Many operators can make transparent use of automatic parallelization,
which allows an easy way of speeding up the program when using large images on
a multi-processor or multi-core computer. Detailed information on parallel
programming can be found in the technical note Parallel Programming, as well as
in the Programmer's Guide.
- Operators have standardized rules for ordering input and output
parameters: input iconic, output iconic, input control, and output
control (see section “Parameters and Data Structures”). Not all of the groups might be needed for
a given operator. In general, input parameters of operators are not modified,
which results in a clear and simple semantics. There are only a few exceptions
to this design, e.g., set_grayval, overpaint_gray, and
overpaint_region.