You are here: Start » AVL.NET » AVL.ExtractBlobs_DoG
Segments an image into blobs by thresholding Difference of Gaussians.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ExtractBlobs_DoG ( AvlNet.Image inImage, float inStdDev, float inStdDevRatio, float inKernelRelativeSize, 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 | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Image from which blobs are extracted. | ||
![]() | inStdDev | float | <0.0f, INF> | 3.0f | Smoothing standard deviation for the smaller Gaussian kernel. Default value: 3.0f. |
![]() | inStdDevRatio | float | <1.0f, INF> | 1.6f | Defines how many times larger is the second Gaussian kernel. Default value: 1.6f. |
![]() | inKernelRelativeSize | float | <0.0f, 3.0f> | 3.0f | A multiple of the standard deviation determining the size of the Gaussian kernel. Default value: 3.0f. |
![]() | inThresholdParams | AvlNet.IntensityThresholdParams | Parameters for thresholding an image. | ||
![]() | 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. | ||
![]() | diagBlobAreas | int[] | Areas of extracted blobs. | ||
![]() | diagBaseRegion | AvlNet.Region | Region of pixels right after thresholding. |
Description
This filter can be used to quickly segment an image by thresholding Difference of Gaussians. It performs a series of operations on inImage:
- Difference of Gaussians is computed by DifferenceOfGaussians
- Difference of Gaussians 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_DoG performed on the sample image with inStdDev = 6.0 and inThresholdParams.MaxIntensity = -4.0.
See also
- ExtractBlobs_DoG(AvlNet.Image, float, float, float, AvlNet.IntensityThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[])
- ExtractBlobs_DoG(AvlNet.Image, AvlNet.Region, float, float, float, AvlNet.IntensityThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[])
- ExtractBlobs_DoG(AvlNet.Image, AvlNet.Region, float, float, float, AvlNet.IntensityThresholdParams, AvlNet.RegionProcessingParams, AvlNet.BlobSplittingParams, AvlNet.Region[], int[], AvlNet.Region)
- Class Reference
- AVL Class