You are here: Start » AVL.NET » Invoke.SegmentImage_Edges
Segments an image into blobs using image edges as their borders.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void SegmentImage_Edges ( Avl.Image inImage, Optional<Avl.Region> inRoi, int inFrameSize, float inStdDev, float inEdgeThreshold, float inEdgeHysteresis, float inMaxJoiningDistance, int inMinArea, Optional<int> inMaxArea, bool inComputeNestingLevels, int inEdgeClosing, List<Avl.Region> outBlobs, Optional<List<int>> outNestingLevels, Diagnostic<Avl.Region> diagEdgeRegion )
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. | ||
![]()  | inFrameSize | int | <0, INF> | 1 | How many pixels from the region border are excluded from the results. Default value: 1. | 
![]()  | inStdDev | float | <0.0f, INF> | 2.0f | Amount of smoothing used by the edge filter. Default value: 2.0f. | 
![]()  | inEdgeThreshold | float | <0.0f, INF> | 15.0f | Sufficient edge strength; edges of that strength will always be detected. Default value: 15.0f. | 
![]()  | inEdgeHysteresis | float | <0.0f, INF> | 5.0f | Value by which the edge threshold is decreased for edge points neighboring with sufficiently strong edges. Default value: 5.0f. | 
![]()  | inMaxJoiningDistance | float | <0.0f, INF> | 0.0f | Maximal distance between edges that can be joined. Default value: 0.0f. | 
![]()  | inMinArea | int | <0, INF> | 50 | Minimal area of a detected blob. Default value: 50. | 
![]()  | inMaxArea | Atl.Optional<int> | <0, INF> | Maximal area of a detected blob. Default value: atl::NIL. | |
![]()  | inComputeNestingLevels | bool | Flag indicating whether nesting levels should be computed. | ||
![]()  | inEdgeClosing | int | <0, INF> | 1 | Radius of enclosing small holes in the detected blobs. Default value: 1. | 
![]()  | outBlobs | System.Collections.Generic.List<Avl.Region> | Blobs extracted from the input image. | ||
![]()  | outNestingLevels | Atl.Optional<System.Collections.Generic.List<int>> | Nesting level of each extracted blob. | ||
![]()  | diagEdgeRegion | Avl.Diagnostic<Avl.Region> | Region of the found edges. | 



