Start » Filter Reference » Region » Region Global Transforms » RemoveRegionBlobs

RemoveRegionBlobs


Module: FoundationBasic

Splits a region into blobs, removes blobs not fulfilling the specified condition, and merges the rest back into one region.

Name Type Range Description
Input value
inRegion Region Input region
Input value
inConnectivity RegionConnectivity Type of connectivity used for the region foreground
Input value
inFeature RegionFeature Region feature value to be computed
Input value
inMinimum Real* 0.0 - Minimal value of the considered feature
Input value
inMaximum Real* 0.0 - Maximal value of the considered feature
Input value
inRemoveBoundaryBlobs Bool Flag indicating whether the blobs on border of the input region should be removed or not
Output value
outRegion Region Output region

Description

This filter removes regions, which don't fulfill specific conditions given in inMinimum and inMaximum inputs. Both inputs are optional, which means that you don't have to set fixed limitations of your parameter's range. Classification can be based on different region features, for example area, convexity, mass center.

Examples

Original image

Too big elements have been removed.

Too small elements have been removed.

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • ClassifyRegions – Splits an array of regions according to the selected feature and range.
  • SplitRegionIntoBlobs – Splits a region into an array of regions corresponding to its connected components.
  • RegionUnion_OfArray – Computes a region containing all the pixels that any of the input regions contains.