RemoveBordersFromRegion


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#
Python
 
def RemoveBordersFromRegion(
	inRegion: Region,
	inMarginX: int,
	inMarginY: int,
	outRegion: Region,
	/
)
-> None

Parameters

Name Type Range Default Description
Input value inRegion 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