You are here: Start » FIL.NET » Function Reference » Region » Region Spatial Transforms » 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, int? inNY, float inThreshold, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inNX | int | <1, INF> | 2 | Default value: 2. |
![]() | inNY | int? | <1, INF> | ||
![]() | inThreshold | float | <0.0f, 1.0f> | 0.5f | How much of the input pixels must be present to produce output pixel. When 0 - any pixel, when 1 - all pixels. Default value: 0.5f. |
![]() | outRegion | FilNet.Region | Output region. |