You are here: Start » AVL.NET » AVS.ScanExactlyNEdges Method
AVS.ScanExactlyNEdges Method
Locates a specified number of the strongest transitions between dark and bright pixels along a given path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanExactlyNEdges ( AvlNet.Image inImage, AvlNet.ScanMap inScanMap, AvlNet.EdgeScanParams inEdgeScanParams, int inEdgeCount, AvlNet.Selection inEdgeSelection, float inMinDistance, float? inMaxDistance, AvlNet.LocalBlindness? inLocalBlindness, INullable<List<AvlNet.Edge1D>> outEdges, INullable<List<AvlNet.Gap1D>> outGaps )
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 ). | ||
inEdgeCount | int | <0, INF> | 1 | Number of edges to be found. Default value: 1. | |
inEdgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of the resulting edges. Default value: avl::Selection::Best. | ||
inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive edges. Default value: 0.0f. | |
inMaxDistance | float? | <0.0f, INF> | Maximal distance between consecutive edges. Default value: atl::NIL. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | |||
outEdges | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Edge1D>> | Found edges. This parameter cannot be null. | |||
outGaps | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>> | Gaps between consecutive edges. This parameter cannot be null. |
Function Overrides
- ScanExactlyNEdges(Image, ScanMap, EdgeScanParams, Int32, Selection, Single, INullable<List<Edge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNEdges(Image, ScanMap, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, Profile, Profile)
- ScanExactlyNEdges(Image, ScanMap, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Profile>, NullableRef<Profile>)