Back to FabImage Studio website
You are here: Start » Filter Reference » Image Segmentation » SegmentImage_Gray_Tiled
Segments an image into blobs examining differences between pixels values, first pass is tiled.
Name | Type | Range | Description | |
---|---|---|---|---|
![]() |
inImage | Image | Input image | |
![]() |
inRoi | Region* | Range of pixels to be processed | |
![]() |
inMergingMethod | BlobMergingMethod | Defines a criterion by which two pixels can be merged into one blob | |
![]() |
inMaxDifference | Integer | 0 - ![]() |
Maximal tonal difference that allows two pixels to be merged into one blob |
![]() |
inHysteresis | Integer | Change of MaxDifference between first and second iteration | |
![]() |
inTonalDrift | Bool | When 'True' blobs can be merged even if the illumination is not even | |
![]() |
inDirectional | Bool | When 'True' the filter can segment results of GradientDirAndPresenceImage | |
![]() |
inMinArea | Integer | 0 - ![]() |
Minimal area of a blob that may be accepted |
![]() |
inMaxArea | Integer* | Minimal area of a blob that may be accepted | |
![]() |
outBlobs | RegionArray |
Requirements
For input inImage only pixel formats are supported: 1xuint8, 3xuint8.
Read more about pixel formats in Image documentation.
Applications
Detection of objects of undefined shape, but characterized by uniform brightness and good contrast to the background.
Description
The filter segments the inImage image in two phases. In the first step segmentation is done within tiles, while in the second step blobs are merged between consecutive tiles.
Errors
This filter can throw an exception to report error. Read how to deal with errors here: Error Handling
Error type | Description |
---|---|
DomainError | Directional method only supports single-channel images. |
Complexity Level
This filter is available on Advanced Complexity Level.
Filter Group
This filter is member of SegmentImage filter group.
See Also
- ImageWatersheds – Computes dark basins which are separated by at least inThreshold height watershed.
- SegmentImage_Edges – Segments an image into blobs using image edges as their borders.
- SegmentImage_Gray_Linear – Segments an image into blobs examining differences between pixels values.