Back to Adaptive Vision Studio website
You are here: Start » Filter Reference » Image Segmentation » ExtractBlobs_Color
Segments an image into blobs by color-based thresholding.
Name | Type | Description | |
---|---|---|---|
![]() |
inImage | Image | Image from which blobs are extracted |
![]() |
inRoi | Region* | Range of pixels to be processed |
![]() |
inThresholdParams | ColorThresholdParams | Parameters for color-based thresholding |
![]() |
inRegionProcessingParams | RegionProcessingParams | Parameters for opening and closing of a region |
![]() |
inBlobSplittingParams | BlobSplittingParams | Parameters for splitting region into blobs |
![]() |
outBlobs | RegionArray | Blobs extracted from the input image |
![]() |
diagBlobAreas | IntegerArray | Areas of extracted blobs |
![]() |
diagBaseRegion | Region | Region of pixels right after thresholding |
Requirements
For input inImage only pixel formats are supported: 1⨯uint8, 2⨯uint8, 3⨯uint8, 4⨯uint8.
Read more about pixel formats in Image documentation.
Description
This filter can be used to quickly segment an image using color-based thresholding. It performs a series of operations on inImage:
- image is thresholded by ThresholdToRegion_Color 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_Color performed on the sample image with inThresholdParams.RgbColor = (189, 36, 25), inThresholdParams.MaxDifference = 40.0 and inRegionProcessingParams.ClosingRadius = 5.
Complexity Level
This filter is available on Basic Complexity Level.
Filter Group
This filter is member of ExtractBlobs filter group.
See Also
- ExtractBlobs_DoG – Segments an image into blobs by thresholding Difference of Gaussians.
- ExtractBlobs_Dynamic – Segments an image into blobs by dynamic thresholding.
- ExtractBlobs_Intensity – Segments an image into blobs by thresholding.