Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Region » Region Morphology » PruneRegion

PruneRegion


Module: FoundationBasic

Removes one pixel wide branches from a region.

Name Type Range Description
Input value inRegion Region Input region
Input value inMaxLength Integer 0 - Maximal length of a branch of the input region to be pruned
Output value 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

PruneRegion run on a sample one pixel wide region with inMaxLength = 58.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also