Herror ::clip_contours_xld (
Hobject Contours,
Hobject *ClippedContours,
const HTuple &Row1,
const HTuple &Column1,
const HTuple &Row2,
const HTuple &Column2
)
HXLDContArray HXLDContArray::ClipContoursXld (
const HTuple &Row1,
const HTuple &Column1,
const HTuple &Row2,
const HTuple &Column2
) const
Clip an XLD contour.
::clip_contours_xld clips all XLD contours given in
Contours, i.e., only contour points contained in the
rectangle given by Row1, Column1, Row2,
and Column2 are returned on output. If necessary, coutours
are split, and several new contours are produced. The resulting
contours are returned in ClippedContours.
Parameters
Contours (input_object)
|
xld_cont-array -> Hobject: HXLDContArray
|
|
Contours to be clipped. |
ClippedContours (output_object)
|
xld_cont(-array) -> Hobject * : HXLDCont(Array)
|
|
Clipped contours. |
Row1 (input_control)
|
rectangle.origin.y -> HTuple.long
|
|
Row coordinate of the upper left corner of the clip
rectangle. |
|
Default value: 0 |
|
Suggested values: 0, 500, 1000, 1500, 2000 |
Column1 (input_control)
|
rectangle.origin.x -> HTuple.long
|
|
Column coordinate of the upper left corner of the clip
rectangle. |
|
Default value: 0 |
|
Suggested values: 0, 500, 1000, 1500, 2000 |
Row2 (input_control)
|
rectangle.corner.y -> HTuple.long
|
|
Row coordinate of the lower right corner of the clip
rectangle. |
|
Default value: 512 |
|
Suggested values: 512, 1024, 1536, 2048 |
Column2 (input_control)
|
rectangle.corner.x -> HTuple.long
|
|
Column coordinate of the lower right corner of the clip
rectangle. |
|
Default value: 512 |
|
Suggested values: 512, 1024, 1536, 2048 |
Possible Predecessors
::gen_contours_skeleton_xld,
::lines_gauss,
::lines_facet,
::edges_sub_pix
Possible Successors
::gen_polygons_xld
See also
::clip_region,
::crop_part
Module
Sub-pixel operators
Copyright © 1996-2002 MVTec Software GmbH