You are here: Start » AVL.NET » Function Reference » Computer Vision » 1D Edge Detection » AVL.ScanSingleEdge
Locates the strongest transition between dark and bright pixels along a given path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanSingleEdge ( AvlNet.Image inImage, AvlNet.ScanMap inScanMap, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, AvlNet.LocalBlindness? inLocalBlindness, out AvlNet.Edge1D? outEdge )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inScanMap | AvlNet.ScanMap | Data precomputed with CreateScanMap. | |||
inEdgeScanParams | AvlNet.EdgeScanParams | EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ) | Parameters controlling the edge extraction process. Default value: EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ). | ||
inEdgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of the resulting edge. Default value: avl::Selection::Best. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
outEdge | AvlNet.Edge1D? | Found edge. |
Description
The operation scans the image using inScanMap previously generated from a scan path and locates the strongest edge perpendicular to the path. If the strongest edge is weaker than inEdgeScanParams.minMagnitude then the outputs are set to NIL.
Examples
Remarks
Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.
This filter is a part of the 1D Edge Detection toolset. For a comprehensive introduction to this technique please refer to 1D Edge Detection and 1D Edge Detection - Subpixel Precision chapters of our Machine Vision Guide.
Function Overrides
- ScanSingleEdge(Image, ScanMap, EdgeScanParams, Selection, Nullable<Edge1D>)
- ScanSingleEdge(Image, ScanMap, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Edge1D>, Profile, Profile)
- ScanSingleEdge(Image, ScanMap, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Edge1D>, NullableRef<Profile>, NullableRef<Profile>)