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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.1. BASIC ACCESS TO ICONIC INPUT OBJECTS 61operator call1st input object parameter2nd input object parameter1st input object parameter1st objectof 1st input object parameterregionchannel1channel2parameter numberHGetObjHkeyobj_keyHGetCompHkey comp_keyHGetImageHimageimageHGetRLHrlregionregionFigure 5.2: Direct access to input image objects.ÁÆ̾ ÒÔÔÖ×ÁÆÌ ÒÙÑÓ×ÀÝ Ýººº» Ø ÒÙÑÖ Ó ÒÔÙØ ÓØ ÔÖÑØÖ× »» ÒÓØ Ì× ÒÙÑÖ × ÒÓÛÒ Ò ÒÖÐ ¹ Ø × ×Ô Ý »» Ø ÓÔÖØÓÖ Ö Ò Ø ÓÖÖ×ÔÓÒÒ ¹Ð Ó Ø »» ÓÔÖØÓÖ »ÀÊδÔÖÓÒиÀÒÔÓ¸²ÒÔÔÖ×µÓÖ ´Ô½ ÔÒÔÔÖ× Ô··µ ß» Ø ÒÙÑÖ Ó ÒÔÙØ ÓØ× ÔÖ ÒÔÙØ Óº ÔÖÑØÖ »ÀÊδÔÖÓÒиÀÒÙÑÓ¸²ÒÙÑÓ׸ԵÓÖ ´Ó½ ÓÒÙÑÓ× Ó··µ ßÀØÇ´ÔÖÓÒиԸӸ²Ýµ » Ø Ý Ó ÓØ »» ÙÖØÖ ÔÖÓ××Ò ººº »ÐÐFigure 5.3: Example for ÀØÇ: Data base keys of all iconic objects of all input object parameters.The number of input object parameters for an operator is specified in the corresponding file1 , but the number of objects within an input object parameter is dynamic. This value isaccessible via the <strong>Extension</strong> <strong>Package</strong> Interface routine ÀÊÎ:ÀÊδÔÖÓÒиÀÒÙÑÓ¸²ÒÙÑÓ׸Եwhere Ô denotes the parameter number and ÒÙÑ Ó× is the desired number of objects. There1 So this number is actually known by the programmer. However, using ÀÊÎ it can be read from theoperator context as well, see Fig. 5.3.<strong>HALCON</strong> 6.0

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

Saved successfully!

Ooh no, something went wrong!