2.5   Chapter Description

Chapters and sections define the structuring of HALCON operators. Sometimes, it is desirable to add an introductory text to a certain chapter or section, e.g., to explain some common concepts of the contained operators.

These chapter descriptions are defined at an arbitrary place in the def-file outside of an operator description. They are linked to the corresponding chapter using a header that lists the English chapter name, and optionally the English section name:

  chapter_ref chapter[,section] <- user_chapter

The chapter/section names must match the English names of an existing chapter definition, see section “chapter”.

The text of the chapter description is given within the slot abstract. It follows the rules of the slot abstract used in the operator descriptions. The syntax is explained in section “abstract”.

Thus, a full chapter description looks like this:

  chapter_ref Filter,Edges <- user_chapter

  abstract.english
    Text of the chapter description
    ...
    ;

  abstract.german
    ...
    ;

  ...

Again, refer to section “Text in def-Files” for the special syntax of text.