You are here: Start » AVL.NET » 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.Region inRoi, AvlNet.DynamicThresholdParams inThresholdParams, AvlNet.RegionProcessingParams inRegionProcessingParams, AvlNet.BlobSplittingParams inBlobSplittingParams, out AvlNet.Region[] outBlobs )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Image from which blobs are extracted. | ||
![]() | inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | ||
![]() | inThresholdParams | AvlNet.DynamicThresholdParams | Parameters for dynamic thresholding. | ||
![]() | inRegionProcessingParams | AvlNet.RegionProcessingParams | Parameters for opening and closing of a region. | ||
![]() | inBlobSplittingParams | AvlNet.BlobSplittingParams | Parameters for splitting region into blobs. | ||
![]() | outBlobs | AvlNet.Region[] | Blobs extracted from the input image. |
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 using parameters from inRegionProcessingParams
- resulting region is split into blobs by SplitRegionIntoBlobs using parameters from inBlobSplittingParams
Examples
![]() |
![]() |
ExtractBlobs_Dynamic performed on the sample image with inThresholdParams.MaxRelativeValue = -5.0 and inRegionProcessingParams.ClosingRadius = 3
See also
- ExtractBlobs_Dynamic(AvlNet.Image, AvlNet.DynamicThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[])
- ExtractBlobs_Dynamic(AvlNet.Image, AvlNet.DynamicThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[], int[], AvlNet.Region)
- ExtractBlobs_Dynamic(AvlNet.Image, AvlNet.Region, AvlNet.DynamicThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[], int[], AvlNet.Region)
- Class Reference
- AVL Class