10.07.2015 Views

HALCON Extension Package Programmer's Manual

HALCON Extension Package Programmer's Manual

HALCON Extension Package Programmer's Manual

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1Introduction<strong>HALCON</strong> can be extended by up to 99 additional operator packages. During the initializationof the system all packages indicated by the environment variable ÀÄÇÆÌÆËÁÇÆË areautomatically loaded. A package typically contains libraries with the new operators, their prototypes,the operator information needed by HDevelop, and the HTML online documentation.For the programming of such a package the <strong>HALCON</strong> <strong>Extension</strong> <strong>Package</strong> Interface is used,e.g., to manipulate parameters of <strong>HALCON</strong> operators and to read or write iconic data (images,regions, XLDs 1 ) from the <strong>HALCON</strong> data base.Furthermore, the operators provided by <strong>HALCON</strong> itself are also based on the functionality ofthe <strong>Extension</strong> <strong>Package</strong> Interface. Thus, the <strong>Extension</strong> <strong>Package</strong> Interface is both the interface betweenapplication programs and the operator layer of the the <strong>HALCON</strong> system and the interfacebetween the operator layer and the object data base.A reason why to extend the capabilities of <strong>HALCON</strong> by using the <strong>Extension</strong> <strong>Package</strong> Interfacemight be one of the following:¯ <strong>Extension</strong> of the pool of image processing operators,¯ Integration of special image processing hardware,¯ Integration of a special graphics software package.Once the user has extended <strong>HALCON</strong> by a package containing his/her own operators, they canbe used within all supported host-languages, and the interactive tool ÀÚÐÓÔ.This chapter gives a short introduction to <strong>HALCON</strong> packages and operators, includingan example describing the integration of a simple operator. The followingchapters present detailed information that will allow you to write your own packages.As a common example, a package called ÐÓÒÙ×Ö will be used (see±ÀÄÇÆÊÇÇ̱ÒÜÑÔÐ×ÒÜØÒ×ÓÒ ÔÒÐÓÒÙ×Ö on the <strong>HALCON</strong> CD).Except of UNIX specific sections in this manual file paths and environment variables are printedin the Windows NT/ 2000 convention, e.g.,±ÀÄÇÆÊÇÇ̱ÒÜÑÔÐ×ÒÜØÒ×ÓÒ ÔÒÐÓÒÙ×Ö1 eXtended Line Description; i.e. subpixel contours and polygons.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!