Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Spatial Transforms » CropRegion
Creates a region from a rectangular fragment of another one.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CropRegion ( const avl::Region& inRegion, const avl::Box& inSelection, avl::Region& outRegion )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inRegion | const Region& | Input region | ||
inSelection | const Box& | Box defining the range of cropping | ||
outRegion | Region& | Output region |
Examples
See Also
- SetRegionFrame – Changes the width and the height of a region's frame (but does not rescale the content).
- UncropRegion – Inverse of CropRegion