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(s) to be zoomed.

RegionZoom (output_object)
region(-array) -> object
Zoomed region(s).
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
Typical 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
Typical range of values: 0.0 <= ScaleHeight <= 100.0 (lin)
Minimum increment: 0.01
Recommended increment: 0.5


Parallelization Information

zoom_region is reentrant and automatically parallelized (on tuple level).


Possible Predecessors

threshold, connection, regiongrowing, pouring


Possible Successors

select_shape, disp_region


See also

zoom_image_size, zoom_image_factor


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH