You are here: Start » AVL.NET » Invoke.ShrinkRegionNTimes
Shrinks a region by a natural factor along each axis.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ShrinkRegionNTimes ( Avl.Region inRegion, int inNX, Optional<int> inNY, float inThreshold, Avl.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | inNX | int | <1, INF> | 2 | Default value: 2. |
![]() | inNY | Atl.Optional<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 | Avl.Region | Output region. |