You are here: Start » AVL.NET » AVL.UncropRegion(AvlNet.Region, AvlNet.Box, int, int, AvlNet.Region)
AVL.UncropRegion(AvlNet.Region, AvlNet.Box, int, int, AvlNet.Region)
Inverse of CropRegion
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void UncropRegion( AvlNet.Region inRegion, AvlNet.Box inSelection, int inWidth, int inHeight, out AvlNet.Region outRegion )
Parameters
- inRegion
- Type: AvlNet.Region
Input region - inSelection
- Type: AvlNet.Box
Box defining the range of the original cropping - inWidth
- Type: System.Int32
Width of the uncropped region - inHeight
- Type: System.Int32
Height of the uncropped region - outRegion
- Type: AvlNet.Region
Output region
Description
The operation translates a region to original coordinates. The value of inSelection describes region coordinates before the cropping.
Dimensions of outRegion depends on inWidth and inHeight.
Examples
Images below show a typical usage of the filter CropRegion.
![]() |
![]() |
![]() |
| An input region. | A region after CropRegion. | Result of applying UncropRegion on the cropped region. |
Remarks
This operation is an inversion of filter CropRegion.



