Back to Aurora Vision Studio website
You are here: Start » Filter Reference » Image » Image Spatial Transforms » TrimImageToRegion (CropImage ToRegion)
Module: | FoundationLite |
---|
Trims an image to the area of the specified region.
Name | Type | Description | |
---|---|---|---|
![]() |
inImage | Image | Input image |
![]() |
inRegion | Region | Input region |
![]() |
inBorderColor | Pixel | Color used for locations outside the region |
![]() |
outImage | Image | Output image |
Description
The operation extracts part of the inImage that corresponds to the region.
Other pixels are set to inBorderColor color.
Examples
![]() |
![]() |
TrimImageToRegion performed on the sample image and region.
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of CropImage filter group visible as ToRegion.