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

AVL.ExtractBlobs_Intensity

Segments an image into blobs by thresholding.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ExtractBlobs_Intensity
(
	AvlNet.Image inImage,
	NullableRef<AvlNet.ShapeRegion> inRoi,
	AvlNet.CoordinateSystem2D? inRoiAlignment,
	AvlNet.IntensityThresholdParams 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.IntensityThresholdParamsParameters for thresholding an image.
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. 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.

Errors

List of possible exceptions:

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

Function Overrides

See also