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

FIL.ShrinkRegionNTimes

Shrinks a region by a natural factor along each axis.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inRegionFilNet.RegionInput region.
inNXint<1, INF>2Default value: 2.
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.
outRegionFilNet.RegionOutput region.

Function Overrides

See also