Back to FabImage Library website

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

RemoveBordersFromRegion


Header: FIL.h
Namespace: fil
Module: FoundationBasic

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

Applications: Assures that the resulting region is not "touching" the borders.

Syntax

C++
C#
 
void fil::RemoveBordersFromRegion
(
	const fil::Region& inRegion,
	int inMarginX,
	int inMarginY,
	fil::Region& outRegion
)

Parameters

Name Type Range Default Description
Input value
inRegion const Region& Input region
Input value
inMarginX int 0 - Horizontal margin from the region border
Input value
inMarginY int 0 - Vertical margin from the region border
Output value
outRegion Region& Output region