PruneRegion


Removes one pixel wide branches from a region.

Syntax

C++
C#
Python
 
def PruneRegion(
	inRegion: Region,
	outRegion: Region,
	/,
	*,
	inMaxLength: int = 3
)
-> None

Parameters

Name Type Range Default Description
Input value inRegion Region Input region
Input value inMaxLength int 0 - 3 Maximal length of a branch of the input region to be pruned
Output value outRegion Region Output region