You are here: Start » AVL.NET » Invoke.SegmentImage_Gray_Tiled
Segments an image into blobs examining differences between pixels values, first pass is tiled.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void SegmentImage_Gray_Tiled ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.BlobMergingMethod inMergingMethod, Avl.RegionConnectivity inConnectivity, int inMaxDifference, int inHysteresis, bool inTonalDrift, 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 | |||
![]() | inMaxDifference | int | <0, INF> | 5 | Maximal tonal difference that allows two pixels to be merged into one blob. Default value: 5. |
![]() | inHysteresis | int | Change of MaxDifference between first and second iteration. | ||
![]() | inTonalDrift | bool | True | When 'True' blobs can be merged even if the illumination is not even. Default value: True. | |
![]() | 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> |