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.4. CREATING OBJECTS AND WRITING OUTPUT OBJECT PARAMETERS 77parameter ÜÐ. In both cases not the underlying XLD data but only the pointers to the data arecopied to the data base. Thus, you must not deallocate or overwrite the XLD structures aftercalling ÀÖÄ.ÀÔÖÁÆÌÀÝÀÓÒØÖÓÛ×℄¸ ÓÐ×℄¸ÒÙÑÔÓÒØ×ÝÓÙØÓÒغººÀØÈÖ´ÔÖÓÒи½¸ÄÇÌÈʸÖÓÛ׸½¸¸²ÒÙÑÔÓÒØ×µÀØÈÖ´ÔÖÓÒи¾¸ÄÇÌÈʸÓÐ׸½¸¸²ÒÙÑÔÓÒØ×µ» ÖØ ÓÒØÓÙÖ ´Ò ÒÖи Ø× ×ÓÙÐ ÓÒ »» ÐÐÒ Ò ÔÔÖÓÔÖØ ØÓÒ ÔÖÓÙÖµ »ÀÈ´ÀÐÐÓÄÓÒØ´ÔÖÓÒи²ÓÒظÒÙÑÔÓÒØ×µµÓÖ ´¼ ÒÙÑÔÓÒØ× ·· ßÓÒعÖÓÛ℄ ÖÓÛ×℄ºÔÖºÓÒعÓÐ℄ ÓÐ×℄ºÔÖºÐÓÒعÒÙÑ ÒÙÑÔÓÒØ×ÀÖÄ´ÔÖÓ¸½¸ÓÒظÄÇÆÌÇÍÊÁ¸ÆÍÄĸ¼¸´ÖÈÖÓµÀÄÖÓÒØÓÙÖ¸²ÝÓÙصFigure 5.24: A typical example for using ÀÖÄ: Create an XLD contour from a list of points.ÀÝÀÓÒØÀÔÓÐÝÓݸÝÓÙØÓÒØÔÓÐݺººÀÐÐÇ´ÔÖÓÒи½¸Óݸµ ßÀØÄ´ÔÖӸݸÄÇÆÌÇÍÊÁ¸´ÚÓµ²ÓÒصÀÈ´ÀÐÐÓ´ÔÖÓÒи´×Þص×ÞÓ´ÀÔÓÐݵ¸²ÔÓÐݵµµ» ÔÔÖÓÜÑØ ÓÒØ Ý ÔÓÐÝ »ÀÈ´ÀÄÈÓÐÝÓÒ´ÔÖÓÒиÓÒظººº¸²ÔÓÐݵµÀÖÄ´ÔÖÓÒи½¸ÔÓÐݸÄÈÇÄÇÆÁ¸²Óݸ½¸´ÖÈÖÓµÀÄÖÈÓÐÝÓÒ¸²ÝÓÙصÐFigure 5.25: Another typical example for using ÀÖÄ: Create XLD polygons based on XLDcontours.XLD polygons contain a reference to the underlying contours (if any), see the definition ofÀÔÓÐÝ in Fig. 4.10, section 4.3. Such a dependency between XLDs can be specified in ÀÖÄby passing an array of data base keys in Ù× ÜÐ× and the corresponding number of keys inÒÙÑ Ù× ÜÐ×. For contours these parameters typically are set to ÆÍÄÄ and ¼.ÀÖÄ expects an appropriate deallocation routine for the XLD data in the parameterÖ ÔÖÓ. Please use<strong>HALCON</strong> 6.0

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

Saved successfully!

Ooh no, something went wrong!