You are here: Start » AVL.NET » AVL.ExtractBlobs_Color Method

AVL.ExtractBlobs_Color Method

Segments an image into blobs by color-based thresholding.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ExtractBlobs_Color(
	AvlNet.Image inImage,
	AvlNet.ColorThresholdParams inThresholdParams,
	AvlNet.RegionProcessingParams inRegionProcessingParams,
	AvlNet.BlobSplittingParams inBlobSplittingParams,
	out 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.
outBlobsAvlNet.RegionBlobs 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.

See also