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

AVL.ExtractBlobs_Intensity Method

Segments an image into blobs by thresholding.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ExtractBlobs_Intensity(
	AvlNet.Image inImage,
	AvlNet.Region inRoi,
	AvlNet.IntensityThresholdParams inThresholdParams,
	AvlNet.RegionProcessingParams inRegionProcessingParams,
	AvlNet.BlobSplittingParams inBlobSplittingParams,
	out AvlNet.Region[] outBlobs,
	out int[] diagBlobAreas,
	out AvlNet.Region diagBaseRegion
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageImage from which blobs are extracted.
inRoiAvlNet.RegionRange of pixels to be processed. Default value: atl::NIL, or null.
inThresholdParamsAvlNet.IntensityThresholdParamsParameters for thresholding an image.
inRegionProcessingParamsAvlNet.RegionProcessingParamsParameters for opening and closing of a region.
inBlobSplittingParamsAvlNet.BlobSplittingParamsParameters for splitting region into blobs.
outBlobsAvlNet.RegionBlobs extracted from the input image.
diagBlobAreasintAreas of extracted blobs.
diagBaseRegionAvlNet.RegionRegion of pixels right after thresholding.

Description

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

  • image is thresholded by ThresholdToRegion using parameters from inThresholdParams
  • resulting region is opened and then closed by OpenRegion and CloseRegion using parameters from inRegionProcessingParams
  • resulting region is split into blobs by SplitRegionIntoBlobs using parameters from inBlobSplittingParams

Examples

ExtractBlobs_Intensity performed on the sample image with inThresholdParams.MaxIntensity = 84.0 and inRegionProcessingParams.ClosingRadius = 10.

See also