Back to Adaptive Vision Library website

You are here: Start » Function Reference » Region Global Transforms » RemoveRegionBlobs

RemoveRegionBlobs


Header:AVL.h
Namespace:avl

Removes regions not fulfilling specific conditions

Syntax

C++
C#
 
void avl::RemoveRegionBlobs
(
	const avl::Region& inRegion,
	avl::RegionConnectivity::Type inConnectivity,
	avl::RegionFeature::Type inFeature,
	atl::Optional<float> inMinimum,
	atl::Optional<float> inMaximum,
	bool inRemoveBoundaryBlobs,
	avl::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