scale_cont_xld ( Contours : ScaledContours : ScaleFactor, RowOrigin, ColOrigin, Width, Height : )
Scale an XLD contour.
scale_cont_xld scales all XLD contours given in
Contours by the scale factor ScaleFactor. The
resulting contours are returned in ScaledContours. Only
contour points contained in the rectangle given by
RowOrigin, ColOrigin, Width and
Height are returned on output. If necessary, coutours
are split, and several new contours are produced. Finally, the
contour points are shifted by (-RowOrigin,-ColOrigin).
This operator is intended to scale contours generated in an image of
low resolution to a corresponding image of high resolution such that
they will lie in the correct position in the high resolution image.
Parameters
Contours (input_object)
|
xld_cont-array -> object
|
Zu skalierende Konturen. |
ScaledContours (output_object)
|
xld_cont-array -> object
|
Skalierte Konturen. |
ScaleFactor (input_control)
|
number -> integer / real
|
Skalierungsfaktor. |
Default value: 8 |
Suggested values: 2, 4, 8, 16 |
Restriction: ScaleFactor > 0 |
RowOrigin (input_control)
|
integer -> integer
|
Zeilennummer der linken obere Ecke des Clip-Rechtecks. |
Default value: 1500 |
Suggested values: 0, 500, 1000, 1500, 2000 |
Restriction: RowOrigin >= 0 |
ColOrigin (input_control)
|
integer -> integer
|
Spaltennummer der linken obere Ecke des Clip-Rechtecks. |
Default value: 1500 |
Suggested values: 0, 500, 1000, 1500, 2000 |
Restriction: ColOrigin >= 0 |
Width (input_control)
|
integer -> integer
|
Breite des Clip-Rechtecks. |
Default value: 512 |
Suggested values: 512, 1024, 1536, 2048 |
Restriction: Width > 0 |
Height (input_control)
|
integer -> integer
|
Höhe des Clip-Rechtecks. |
Default value: 512 |
Suggested values: 512, 1024, 1536, 2048 |
Restriction: Height > 0 |
Possible Predecessors
gen_contour_xld,
gen_contour2_xld,
lines_gauss,
lines_facet,
edges_sub_pix
Possible Successors
poly_xld
See also
read_sequence,
zoom_image2,
crop_image
Copyright © 1996-1997 MVTec Software GmbH