You are here: Start » AVL.NET » AVL.SegmentImage_Edges Method
AVL.SegmentImage_Edges Method
Segments an image into blobs using image edges as their borders.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void SegmentImage_Edges( AvlNet.Image inImage, AvlNet.Region inRoi, int inFrameSize, float inStdDev, float inEdgeThreshold, float inEdgeHysteresis, float inMaxJoiningDistance, int inMinArea, int? inMaxArea, bool inComputeNestingLevels, out AvlNet.Region[] outBlobs, out AvlNet.Region diagEdgeRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Image from which blobs are extracted. | |||
inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | |||
inFrameSize | int | <0, INF> | 1 | How many pixels form the image 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 | 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 | int? | <0, INF> | Maximal area of a detected blob. Default value: atl::NIL, or null. | ||
inComputeNestingLevels | bool | Flag indicating whether nesting levels should be computed. | |||
outBlobs | AvlNet.Region | Blobs extracted from the input image. | |||
diagEdgeRegion | AvlNet.Region | Region of the found edges. |