You are here: Start » FIL.NET » Function Reference » Computer Vision » Image Segmentation » FIL.ExtractBlobs_Intensity
Segments an image into blobs by thresholding.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ExtractBlobs_Intensity ( FilNet.Image inImage, FilNet.IntensityThresholdParams inThresholdParams, FilNet.PreSplitProcessingParams inProcessingParams, FilNet.SplittingParams inSplittingParams, IList<FilNet.Region> outBlobs, FilNet.Region outBaseRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Image from which blobs are extracted. | ||
![]() | inThresholdParams | FilNet.IntensityThresholdParams | Parameters for thresholding an image. | ||
![]() | inProcessingParams | FilNet.PreSplitProcessingParams | Parameters for postprocessing of the extracted region. | ||
![]() | inSplittingParams | FilNet.SplittingParams | Parameters for splitting region into blobs. | ||
![]() | outBlobs | System.Collections.Generic.IList<FilNet.Region> | Blobs extracted from the input image. | ||
![]() | outBaseRegion | FilNet.Region | Region 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, also holes are removed by FillRegionHoles using parameters from inProcessingParams
- resulting region is split into blobs by SplitRegionIntoBlobs using parameters from inSplittingParams
Examples
![]() |
![]() |
ExtractBlobs_Intensity performed on the sample image with inThresholdParams.Polarity = Dark, inThresholdParams.Threshold = 84.0, and inProcessingParams.ClosingRadius = 10.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ExtractBlobs_Intensity. |