HALCON Reference Manual / XLD / Creation Operators

gen_contour_polygon_xld (Operator)

Name

gen_contour_polygon_xld — Generate an XLD contour from a polygon (given as tuples).

Synopsis

gen_contour_polygon_xld( : Contour : Row, Col : )

Description

gen_contour_polygon_xld generates an XLD contour Contour from a polygon given in the tuples Row and Col. This operator is useful if contours have been obtained from routines outside the core library, but higher level operators, e.g., polygon approximation and extraction of parallels, are to be performed on the contours.

Parameters

Contour (output_object) xld_cont object
Resulting contour.

Row (input_control) number-array (real / integer)
Row coordinates of the polygon.
Default value: [0,1,2,2,2]
Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

Col (input_control) number-array (real / integer)
Column coordinates of the polygon.
Default value: [0,0,0,1,2]
Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

Parallelization Information

gen_contour_polygon_xld is reentrant and processed without parallelization.

Possible Predecessors

get_region_contour

Possible Successors

smooth_contours_xld, gen_polygons_xld

See also

gen_contours_skeleton_xld

Module

Foundation


HALCON Reference Manual / XLD / Creation Operators
Version 9.0.1 Copyright © 1996-2009 MVTec Software GmbH