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

AVL.ExtractBlobs_Color

Segments an image into blobs by color-based thresholding.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ExtractBlobs_Color
(
	AvlNet.Image inImage,
	AvlNet.ColorThresholdParams inThresholdParams,
	AvlNet.RegionProcessingParams inRegionProcessingParams,
	AvlNet.BlobSplittingParams inBlobSplittingParams,
	IList<AvlNet.Region> outBlobs
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage from which blobs are extracted.
inThresholdParamsAvlNet.ColorThresholdParamsParameters for color-based 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.

Description

This filter can be used to quickly segment an image using color-based thresholding. It performs a series of operations on inImage:

Examples

ExtractBlobs_Color performed on the sample image with inThresholdParams.RgbColor = (189, 36, 25), inThresholdParams.MaxDifference = 40.0 and inRegionProcessingParams.ClosingRadius = 5.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ExtractBlobs_Color.
DomainError Not supported inImage pixel format in ExtractBlobs_Color.

Function Overrides

See also