ExtractBlobs_Intensity


Segments an image into blobs by thresholding using a single value.

Syntax

C++
C#
Python
 
def ExtractBlobs_Intensity(
	inImage: Image,
	outBaseRegion: Region,
	/,
	*,
	inRoi: ShapeRegion | None = None,
	inRoiAlignment: CoordinateSystem2D | None = None,
	inThresholdParams: IntensityThresholdParams = IntensityThresholdParams(Polarity.Dark, 128, 0),
	inProcessingParams: PreSplitProcessingParams = PreSplitProcessingParams(False, KernelShape.Box, 0, 0, 0),
	inSplittingParams: SplittingParams = SplittingParams(0, 0, None)
)
-> outBlobs: list[Region]

Parameters

Name Type Default Description
Input value inImage Image Image from which blobs are extracted
Input value inRoi ShapeRegion | None None Range of pixels to be processed
Input value inRoiAlignment CoordinateSystem2D | None None Adjusts the region
Input value inThresholdParams IntensityThresholdParams IntensityThresholdParams(Polarity.Dark, 128, 0) Parameters for thresholding an image
Input value inProcessingParams PreSplitProcessingParams PreSplitProcessingParams(False, KernelShape.Box, 0, 0, 0) Parameters for postprocessing of the extracted region
Input value inSplittingParams SplittingParams SplittingParams(0, 0, None) Parameters for splitting region into blobs
Output value outBlobs list[Region] Blobs extracted from the input image
Output value outBaseRegion Region Region of pixels right after thresholding