ExtractBlobs_Color
Segments an image into blobs by color-based thresholding.
Syntax
C++
C#
Python
def ExtractBlobs_Color( inImage: Image, inThresholdParams: ColorThresholdParams, outBaseRegion: Region, /, *, inRoi: ShapeRegion | None = None, inRoiAlignment: CoordinateSystem2D | None = None, inProcessingParams: PreSplitProcessingParams = PreSplitProcessingParams(False, KernelShape.Box, 0, 0, 0), inSplittingParams: SplittingParams = SplittingParams(0, 0, None) ) -> outBlobs: list[Region]
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inImage | Image | Image from which blobs are extracted | |
![]() |
inRoi | ShapeRegion | None | None | Range of pixels to be processed |
![]() |
inRoiAlignment | CoordinateSystem2D | None | None | Adjusts the region |
![]() |
inThresholdParams | ColorThresholdParams | Parameters for color-based thresholding | |
![]() |
inProcessingParams | PreSplitProcessingParams | PreSplitProcessingParams(False, KernelShape.Box, 0, 0, 0) | Parameters for postprocessing of the extracted region |
![]() |
inSplittingParams | SplittingParams | SplittingParams(0, 0, None) | Parameters for splitting region into blobs |
![]() |
outBlobs | list[Region] | Blobs extracted from the input image | |
![]() |
outBaseRegion | Region | Region of pixels right after thresholding |


