You are here: Start » AVL.NET » Invoke.SegmentImage_Gray
Segments an image into blobs examining differences between neighbouring pixels values.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SegmentImage_Gray ( Avl.Image inImage, Optional<Avl.Region> inRoi, float inMaxDifference, Avl.BlobsDifferenceMeasure inDifferenceMeasure, int inMinArea, Optional<int> inMaxArea, List<Avl.Region> outBlobs )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inImage | Avl.Image | Image from which blobs are extracted. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]()  | inMaxDifference | float | <0.0f, INF> | 5.0f | Maximal difference between two neighbouring blobs to be merged. Default value: 5.0f. | 
![]()  | inDifferenceMeasure | Avl.BlobsDifferenceMeasure | Neighbour | Measure of blobs difference. Default value: Neighbour. | |
![]()  | inMinArea | int | <0, INF> | 50 | Minimal area of a blob. Default value: 50. | 
![]()  | inMaxArea | Atl.Optional<int> | <0, INF> | Maximal area of a blob. Default value: atl::NIL. | |
![]()  | outBlobs | System.Collections.Generic.List<Avl.Region> | Blobs extracted from the input image. | 


