You are here: Start » FIL.NET » Invoke.SegmentImage_Gray_Linear
Segments an image into blobs examining differences between pixels values.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void SegmentImage_Gray_Linear ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.BlobMergingMethod inMergingMethod, Fil.RegionConnectivity inConnectivity, int inMaxDifference, int inHysteresis, int inPassCount, bool inDirectional, int inMinArea, Optional<int> inMaxArea, List<Fil.Region> outBlobs )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inMergingMethod | Fil.BlobMergingMethod | Neighbor | Defines a criterion by which two pixels can be merged into one blob. Default value: Neighbor. | |
![]() | inConnectivity | Fil.RegionConnectivity | Defines if pixels can be merged only horizontally and vertically, or also diagonally. | ||
![]() | inMaxDifference | int | <0, INF> | 5 | Maximal tonal difference that allows two pixels to be merged into one blob. Default value: 5. |
![]() | inHysteresis | int | Total change of MaxDifference during all image passes. | ||
![]() | inPassCount | int | <1, 5> | Number of iterations in which the entire image is scanned for pixels that can be merged. | |
![]() | inDirectional | bool | When 'True' the filter can segment results of GradientDirAndPresenceImage. | ||
![]() | inMinArea | int | <0, INF> | 20 | Minimal area of a blob that may be accepted. Default value: 20. |
![]() | inMaxArea | Ftl.Optional<int> | Minimal area of a blob that may be accepted. Default value: ftl::NIL. | ||
![]() | outBlobs | System.Collections.Generic.List<Fil.Region> |