Back to FabImage Library website

You are here: Start » Function Reference » Region Global Transforms » CropBordersFromRegion

CropBordersFromRegion


Header:FIL.h
Namespace:fil

Removes from a region the pixels that lie very close to the region's borders.

Syntax

C++
C#
 
void fil::CropBordersFromRegion
(
	const fil::Region& inRegion,
	int inMarginX,
	int inMarginY,
	fil::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