About this Manual
This manual describes how to extend HALCON by additional operators
encapsulated in HALCON packages using the Extension Package Interface.
Before starting to use the Extension Package Interface, MVTec strongly recommends that
the user should be familiar with the normal HALCON system.
This manual is written for the expert HALCON user who wants to extend
the system for specific requirements. Thus, the reader should be familiar
with the normal HALCON system. Furthermore, programming skills are
required. Finally, the reader should know about his/her development
environment (that is how to invoke the compiler/linker etc.).
This manual is divided into the following parts:
- Introduction
This chapter provides a short overview of HALCON
packages and their creation. Furthermore, an example showing the
integration of a simple operator is presented.
- Operator Description (def-file)
This chapter summarizes the minimum required operator description
used by the HALCON compiler hcomp as well as the complete
operator description which is needed to provide a full integration of new
operators in HDevelop and to generate documentation files.
- Style Guide for Programming
This chapter introduces basic style guides for how to program
HALCON operators. Especially, the HALCON memory management is
explained.
- HALCON Data Types
In this chapter the most important HALCON data structures to
handle iconic data and control parameters are presented.
- Handling Iconic Objects and Control Parameters
This chapters contains a set of routines to facilitate the programming
of the operator interface and accessing the basic HALCON data structures.
- Special Routines for Typical Supply Procedures
This chapter describes a set of convenience routines for standard
situations.
- Creating a New HALCON Package
The last chapter explains how to use the HALCON compiler hcomp
to generate HALCON packages for different platforms.