Back to FabImage Studio website
You are here: Start » Filter Reference » Region » Region Spatial Transforms » ResizeRegion_Relative
Module: | FoundationBasic |
---|
Resizes region relatively along each axis.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
inHorizontalScale | Real | 0.0 - ![]() |
|
![]() |
inVerticalScale | Real | 0.0 - ![]() |
|
![]() |
outRegion | Region | Output region |
Examples
![]() |
![]() |
ResizeRegion_Relative performed on the sample region with inHorizontalScale and inVerticalScale both set to 0,5.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Output region too big in ResizeRegion_Relative. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of ResizeRegion filter group.
See Also
- ResizeRegion – Enlarges or shrinks a region to new dimensions.
- DownsampleRegion – Shrinks a region by the factor of two along each axis.
- ShrinkRegionNTimes – Shrinks a region by a natural factor along each axis.
- EnlargeRegionNTimes – Enlarges a region by a natural factor.
- ResizeImage – Enlarges or shrinks an image to new dimensions.