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.

5.3. LOOP MACROS FOR ACCESSING SINGLE INPUT OBJECTS 695.3 Loop Macros for Accessing Single Input ObjectsThis section describes two macros that ease accessing all iconic objects and image componentswithin an input object parameter, see Fig. 5.15. Please see also the additional loop macros insection 6.1 that further facilitate programming typical supply procedure.NamesÀÐÐǸ ÀÐÐÓÑÔSynopsisÒÐÙ ÀÐÓÒºÀÐÐÇ´ ÀÔÖÓÒÐÁÆÌÀÝÁÆÌÀÐÐÓÑÔ´ÀÔÖÓÒÐÀÝÀÝÀÑÁÆÌÔÖÓÒиÔÖÒÙѸ²Óݸ²ÒܵÔÖÓÒиÓݸ²ÑÒݸ²ÑÒ¸²ÒܵFigure 5.15: Basic loop macros to access iconic objects. “&” denotes output parameters of themacros. This is only a special notation to make clear that these parameters are changed bythe macros. So do not pass pointers to variables but the variables itself to the macro.5.3.1 ÀÐÐÇÀÐÐÇ (see Fig. 5.15) performs a loop over all iconic objects of a specified input objectparameter and returns their data base keys.ÀÝ ÓÝÀÖÐÖÓÒ ÖÓÒÀÑ ÑÁÆÌ ÒܺººÀÐÐÇ´ÔÖÓÒи½¸ÓݸÒܵ ßÀØÊÄ´ÔÖÓÒиÓݸ²ÖÓÒµÀØÁÑ´ÔÖÓÒиÓݸÁÅÁƸ²ÑµÐFigure 5.16: Application of ÀÐÐÇ: Get the area of definition and the first gray value channelof all input objects of the first input object parameter.<strong>HALCON</strong> 6.0

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

Saved successfully!

Ooh no, something went wrong!