Information related to parallelization can be found at different parts of the HALCON documentation. In the following, we provide you with hints, where to look for further information.
General information related to parallelization can be found in the Programmer's Guide. In particular, for the automatic operator parallelization, it is described how to initialize HALCON, which levels of data parallelism are available for the different operators and how to query them for specific operators. For parallel programming using HALCON, amongst others the different levels of reentrancy are explained, program design issues are addressed, and a list of suitable examples using the language interfaces is provided. For threading issues with HALCON graphic operators, the restrictions for the different platforms are listed. Finally, it is explained how to customize the parallelization mechanisms and what to consider when using image acquisition interfaces on multi-core or multi-processor hardware.
Note that HALCON is designed for shared-memory systems, i.e., systems in which multiple processors share a common memory as it is the case for typical multi-processor or multi-core boards. The main reason is that only in a shared-memory system threads can share the HALCON object database and do not need to copy images. This limitation means that HALCON's parallelization techniques are not suited to the use on workstation clusters or other multi-processor or multi-core hardware that does not offer shared memory.
If you use HDevelop, you should have a look at the HDevelop User's Guide addresses issues that are specific for parallelization within HDevelop. Amongst others, the qualifier par_start and the HDevelop operator par_join are explained in more detail, the execution of procedure and operator calls within HDevelop is addressed, and it is described how to inspect, suspend, and resume threads within HDevelop.
Additionally, the HDevelop User's Guide contains information about restrictions concerning the export of manually parallelized code.
If you use the HDevEngine, additional information can be found in the Programmer's Guide (.NET).
Operator References related to Parallelization
Several operators exist that are related to parallelization. In particular, the following chapters of the reference manual are important:
The explanation of the slots “Execution Information” (“parallelization”) and “postprocessing” within the operator descriptions in the reference manual can be found in the Extension Package Programmer's Manual.
A list of suitable examples for parallel programming using the language interfaces is provided in the Programmer's Guide.
For HDevelop example programs, we recommend to use the Browse HDevelop Example Programs... dialog to search for suitable examples.