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.

34 CHAPTER 2. OPERATOR DESCRIPTION (’DEF’-FILES)2.3.15 assertion××ÖØÓÒboolean expressionThis slot contains a boolean expression that determines how the passed or returned values ofparameters are absolutely or relatively connected to the values of other parameters or someabsolute values. The same expressions may appear as described above for ÚÐÙ ÒÙÑÖ, seetable 2.1.Examples:ÈÖѽ ÈÖѾ ²² ÈÖѾ ¼This means that parameter 1 and 2 must have the same value and this value is greater than0.¼ ÈÖѾ ²² ÈÖѾ ¾This means that parameter 2 must have a value between 0 and 255.ÈÖѽ ÒÙÑÖ´ÁÑÁÒµThis means that the value of parameter 1 must be less or equal the number of input images.ÈÖѾ ÛØ´ÁÑÁÒµ ²² ÈÖѾ ¼ ²² Ó´ÈÖѾµThis means that the value of parameter 2 must be between 0 and the width of the inputimage and must be an even number.2.3.16 multichannelÑÙÐØÒÒÐØÖÙ¸Ð׸ÓÔØÓÒÐThis slot is only used in connections with image objects. It contains an assertion about thenecessary or supported number of channels of an image. If set to Ð×, the processing is doneonly on the first channel (all others are ignored), if set to ØÖÙ, a multichannel image must bepassed. ÓÔØÓÒÐ specifies operators that can work on more than one channel but can alsowork on only one channel as well.2.4 Text in -filesWithin a -file the semicolon (;) is used to separate the single slots. So, when using a semicolonwithin a text, it must be quoted with a backslash ().-files are not only used to create interface code, but also allow the generation of the manuals,the HTML documentation, and the ÐÔ files used to access operator knowledge via <strong>HALCON</strong>operators like Ø ÓÔÖØÓÖ ÒÓ. For the online help and the HTML files an ASCII versionof each text is needed, whereas the manuals are produced compiling a L A TEX-file generated fromthe -files. To avoid the necessity of writing two text blocks for one operator (ASCII andL A TEX), both versions are generated by using one text. Therefore, the following conventionsmust be observed:<strong>HALCON</strong> <strong>Extension</strong> <strong>Package</strong> Interface / 2000-11-16

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

Saved successfully!

Ooh no, something went wrong!