Start » Filter Reference » Region » Region Morphology » PruneRegion
Module: | FoundationBasic |
---|
Removes one pixel wide branches from a region.
Name | Type | Range | Description | |
---|---|---|---|---|
inRegion | Region | Input region | ||
inMaxLength | Integer | 0 - | Maximal length of a branch of the input region to be pruned | |
outRegion | Region | Output region |
Description
The operation removes all branches with length at most inMaxLength from the input region. The branches being removed have to be at most one pixel wide, so the filter should be invoked on thinned regions such as the results of SkeletonizeRegion operation only.
Examples
Complexity Level
This filter is available on Advanced Complexity Level.
See Also
- SkeletonizeRegion – Thins a region to its skeleton.