You are here: Start » AVL.NET » Function Reference » Computer Vision » Image Segmentation » AVL.ExtractBlobs_Dynamic
Segments an image into blobs by dynamic thresholding.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ExtractBlobs_Dynamic ( AvlNet.Image inImage, AvlNet.DynamicThresholdParams inThresholdParams, AvlNet.PreSplitProcessingParams inProcessingParams, AvlNet.SplittingParams inSplittingParams, IList<AvlNet.Region> outBlobs, AvlNet.Region outBaseRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which blobs are extracted. | |||
inThresholdParams | AvlNet.DynamicThresholdParams | Parameters for dynamic thresholding. | |||
inProcessingParams | AvlNet.PreSplitProcessingParams | Parameters for postprocessing of the extracted region. | |||
inSplittingParams | AvlNet.SplittingParams | Parameters for splitting region into blobs. | |||
outBlobs | System.Collections.Generic.IList<AvlNet.Region> | Blobs extracted from the input image. | |||
outBaseRegion | AvlNet.Region | Region of pixels right after thresholding. |
Description
This filter can be used to quickly segment an image with uneven illumination. It performs a series of operations on inImage:
- image is thresholded by ThresholdToRegion_Dynamic using parameters from inThresholdParams
- resulting region is opened and then closed by OpenRegion and CloseRegion, also holes are removed by FillRegionHoles using parameters from inProcessingParams
- resulting region is split into blobs by SplitRegionIntoBlobs using parameters from inSplittingParams
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ExtractBlobs_Dynamic. |