You are here: Start » FIL.NET » FIL.ExtractBlobs_Color

FIL.ExtractBlobs_Color

Segments an image into blobs by color-based thresholding.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFilNet.ImageImage from which blobs are extracted.
inThresholdParamsFilNet.ColorThresholdParamsParameters for color-based thresholding.
inRegionProcessingParamsFilNet.RegionProcessingParamsParameters for opening and closing of a region.
inBlobSplittingParamsFilNet.BlobSplittingParamsParameters for splitting region into blobs.
outBlobsSystem.Collections.Generic.IList<FilNet.Region>Blobs extracted from the input image.
diagBlobAreasSystem.Collections.Generic.IList<int>Areas of extracted blobs.
diagBaseRegionFilNet.RegionRegion of pixels right after thresholding.

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 Not supported inImage pixel format in ExtractBlobs_Color.

Function Overrides

See also