ExtractBlobs_Dynamic


Segments an image into blobs by dynamic thresholding.

Syntax

C++
C#
Python
 
def ExtractBlobs_Dynamic(
	inImage: Image,
	outBaseRegion: Region,
	/,
	*,
	inRoi: ShapeRegion | None = None,
	inRoiAlignment: CoordinateSystem2D | None = None,
	inThresholdParams: DynamicThresholdParams = DynamicThresholdParams(Polarity.Dark, BlobThresholdReferenceMethod.Middle, 10, 10, 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 DynamicThresholdParams DynamicThresholdParams(Polarity.Dark, BlobThresholdReferenceMethod.Middle, 10, 10, 0) Parameters for dynamic thresholding
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