You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.ShrinkRegionNTimes

AVL.ShrinkRegionNTimes

Shrinks a region by a natural factor along each axis.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ShrinkRegionNTimes
(
	AvlNet.Region inRegion,
	int inNX,
	int? inNY,
	float inThreshold,
	AvlNet.Region outRegion
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
inNXint<1, INF>2Default value: 2.
inNYint?<1, INF>
inThresholdfloat<0.0f, 1.0f>0.5fHow much of the input pixels must be present to produce output pixel. When 0 - any pixel, when 1 - all pixels. Default value: 0.5f.
outRegionAvlNet.RegionOutput region.

Function Overrides

See also