Back to Aurora Vision Library website

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

RemoveBordersFromRegion


Header: AVL.h
Namespace: avl
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 avl::RemoveBordersFromRegion
(
	const avl::Region& inRegion,
	int inMarginX,
	int inMarginY,
	avl::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