Back to FabImage Library website
You are here: Start » Function Reference » Region Global Transforms » RemoveRegionBlobs

RemoveRegionBlobs
Header: | FIL.h |
---|---|
Namespace: | fil |
Removes regions not fulfilling specific conditions
Syntax
C++
C#
void fil::RemoveRegionBlobs ( const fil::Region& inRegion, fil::RegionConnectivity::Type inConnectivity, fil::RegionFeature::Type inFeature, ftl::Optional<float> inMinimum, ftl::Optional<float> inMaximum, bool inRemoveBoundaryBlobs, fil::Region& outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inRegion | const Region& | Input region | ||
![]() |
inConnectivity | RegionConnectivity::Type | Type of connectivity used for the region foreground | ||
![]() |
inFeature | RegionFeature::Type | Region feature value to be computed | ||
![]() |
inMinimum | Optional<float> | 0.0 - ![]() |
1.0f | Minimal value of the considered feature |
![]() |
inMaximum | Optional<float> | 0.0 - ![]() |
NIL | Maximal value of the considered feature |
![]() |
inRemoveBoundaryBlobs | bool | False | Flag indicating whether the blobs on border of the input region should be removed or not | |
![]() |
outRegion | Region& | Output region |