HALCON Reference Manual 10.0.2
Name
clip_contours_xldclip_contours_xldclip_contours_xldClipContoursXldClipContoursXld — Clip an XLD contour.
Herror clip_contours_xld(const Hobject Contours, Hobject* ClippedContours, const Hlong Row1, const Hlong Column1, const Hlong Row2, const Hlong Column2)
Herror T_clip_contours_xld(const Hobject Contours, Hobject* ClippedContours, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2)
Herror clip_contours_xld(Hobject Contours, Hobject* ClippedContours, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2)
HXLDCont HXLDCont::ClipContoursXld(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2) const
HXLDContArray HXLDContArray::ClipContoursXld(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2) const
clip_contours_xldclip_contours_xldclip_contours_xldClipContoursXldClipContoursXld clips all XLD contours given in
ContoursContoursContoursContourscontours, i.e., only contour points contained in the
rectangle given by Row1Row1Row1Row1row1, Column1Column1Column1Column1column1, Row2Row2Row2Row2row2,
and Column2Column2Column2Column2column2 are returned on output. Note, that the rectangle
behaves like a region, i.e., the rectangle encloses the pixels completely.
If necessary, coutours
are split, and several new contours are produced. The resulting
contours are returned in ClippedContoursClippedContoursClippedContoursClippedContoursclippedContours.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Row1Row1Row1Row1row1 (input_control) rectangle.origin.y → HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)
Row coordinate of the upper left corner of the clip
rectangle.
Default value: 0
Suggested values: 0, 500, 1000, 1500, 2000
Column coordinate of the upper left corner of the clip
rectangle.
Default value: 0
Suggested values: 0, 500, 1000, 1500, 2000
Row2Row2Row2Row2row2 (input_control) rectangle.corner.y → HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)
Row coordinate of the lower right corner of the clip
rectangle.
Default value: 512
Suggested values: 512, 1024, 1536, 2048
Column coordinate of the lower right corner of the clip
rectangle.
Default value: 512
Suggested values: 512, 1024, 1536, 2048
gen_contours_skeleton_xldgen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld,
lines_gausslines_gausslines_gaussLinesGaussLinesGauss,
lines_facetlines_facetlines_facetLinesFacetLinesFacet,
edges_sub_pixedges_sub_pixedges_sub_pixEdgesSubPixEdgesSubPix
gen_polygons_xldgen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXld
crop_contours_xldcrop_contours_xldcrop_contours_xldCropContoursXldCropContoursXld
clip_regionclip_regionclip_regionClipRegionClipRegion,
crop_partcrop_partcrop_partCropPartCropPart,
crop_contours_xldcrop_contours_xldcrop_contours_xldCropContoursXldCropContoursXld
Foundation
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |