You are here: Start » AVL.NET » Invoke.SegmentImage_Gray_Linear
Segments an image into blobs examining differences between pixels values.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SegmentImage_Gray_Linear ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.BlobMergingMethod inMergingMethod, Avl.RegionConnectivity inConnectivity, int inMaxDifference, int inHysteresis, int inPassCount, bool inDirectional, int inMinArea, Optional<int> inMaxArea, List<Avl.Region> outBlobs )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Input image. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | inMergingMethod | Avl.BlobMergingMethod | Neighbor | Defines a criterion by which two pixels can be merged into one blob. Default value: Neighbor. | |
![]()  | inConnectivity | Avl.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 | Atl.Optional<int> | Minimal area of a blob that may be accepted. Default value: atl::NIL. | ||
![]()  | outBlobs | System.Collections.Generic.List<Avl.Region> | 


