Back to Adaptive Vision Library website
You are here: Start » Function Reference » Region Global Transforms » CropBordersFromRegion
CropBordersFromRegion
Removes from a region the pixels that lie very close to the region's borders.
Syntax
C++
C#
void avl::CropBordersFromRegion ( const avl::Region& inRegion, int inMarginX, int inMarginY, avl::Region& outRegion )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inMarginX | int | 0 - ![]() |
Horizontal margin from the region border | |
![]() |
inMarginY | int | 0 - ![]() |
Vertical margin from the region border | |
![]() |
outRegion | Region& | Output region |



