You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Segmentation » AVL.ExtractBlobs_Dynamic

AVL.ExtractBlobs_Dynamic

Segments an image into blobs by dynamic thresholding.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ExtractBlobs_Dynamic
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.ShapeRegion> inRoi,
	AvlNet.CoordinateSystem2D? inRoiAlignment,
	AvlNet.DynamicThresholdParams inThresholdParams,
	AvlNet.RegionProcessingParams inRegionProcessingParams,
	AvlNet.BlobSplittingParams inBlobSplittingParams,
	IList<AvlNet.Region> outBlobs,
	IList<int> diagBlobAreas,
	AvlNet.Region diagBaseRegion
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage from which blobs are extracted.
inRoiAvlNet.NullableRef<AvlNet.ShapeRegion>Range of pixels to be processed. Default value: atl::NIL.
inRoiAlignmentAvlNet.CoordinateSystem2D?Adjusts the region. Default value: atl::NIL.
inThresholdParamsAvlNet.DynamicThresholdParamsParameters for dynamic thresholding.
inRegionProcessingParamsAvlNet.RegionProcessingParamsParameters for opening and closing of a region.
inBlobSplittingParamsAvlNet.BlobSplittingParamsParameters for splitting region into blobs.
outBlobsSystem.Collections.Generic.IList<AvlNet.Region>Blobs extracted from the input image.
diagBlobAreasSystem.Collections.Generic.IList<int>Areas of extracted blobs.
diagBaseRegionAvlNet.RegionRegion of pixels right after thresholding.

Description

This filter can be used to quickly segment an image with uneven illumination. It performs a series of operations on inImage:

Examples

ExtractBlobs_Dynamic performed on the sample image with inThresholdParams.MaxRelativeValue = -5.0 and inRegionProcessingParams.ClosingRadius = 3

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ExtractBlobs_Dynamic.

Function Overrides

See also