You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inRegion | AvlNet.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 | AvlNet.Region | Output region. |