zoom_region ( Region : RegionZoom : ScaleWidth, ScaleHeight : )

Zoom a region.

zoom_region enlarges or reduces the regions given in Region in the x- and y-direction by the given scale factors ScaleWidth and ScaleHeight.


Parameters

Region (input_object)
region(-array) -> object
Region to be zoomed.

RegionZoom (output_object)
region(-array) -> object
Zoomed region.
Number of elements: RegionZoom == Region

ScaleWidth (input_control)
extent.x -> real
Scale factor in x-direction.
Default value: 2.0
Suggested values: 0.25, 0.5, 1.0, 2.0, 3.0
Range of values: 0.0 <= ScaleWidth <= 100.0 (lin)
Minimum increment: 0.01
Recommended increment: 0.5

ScaleHeight (input_control)
extent.y -> real
Scale factor in y-direction.
Default value: 2.0
Suggested values: 0.25, 0.5, 1.0, 2.0, 3.0
Range of values: 0.0 <= ScaleHeight <= 100.0 (lin)
Minimum increment: 0.01
Recommended increment: 0.5


Possible Predecessors

threshold__, connection, regiongrowing__, pouring


Possible Successors

select_shape, disp_region


See also

zoom_image1, zoom_image2



Copyright © 1996-1997 MVTec Software GmbH