Start » Filter Reference » Image » Image Spatial Transforms » TrimImageToRegion

TrimImageToRegion


Module: FoundationLite

Trims an image to the area of the specified region.

Name Type Description
Input value
inImage Image Input image
Input value
inRegion Region Input region
Input value
inBorderColor Pixel Color used for locations outside the region
Output value
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.