You are here: Start » AVL.NET » Invoke.ScanExactlyNEdges
Locates a specified number of the strongest transitions between dark and bright pixels along a given path.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ScanExactlyNEdges ( Avl.Image inImage, Avl.ScanMap inScanMap, Avl.EdgeScanParams inEdgeScanParams, int inEdgeCount, Avl.Selection inEdgeSelection, float inMinDistance, Optional<float> inMaxDistance, Optional<Avl.LocalBlindness> inLocalBlindness, Conditional<List<Avl.Edge1D>> outEdges, Conditional<List<Avl.Gap1D>> outGaps, Optional<Avl.Profile> outBrightnessProfile, Optional<Avl.Profile> outResponseProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inScanMap | Avl.ScanMap | Data precomputed with CreateScanMap. | ||
![]() | inEdgeScanParams | Avl.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 | Avl.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 | Atl.Optional<float> | <0.0f, INF> | Maximal distance between consecutive edges. Default value: atl::NIL. | |
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL. | ||
![]() | outEdges | Atl.Conditional<System.Collections.Generic.List<Avl.Edge1D>> | Found edges. | ||
![]() | outGaps | Atl.Conditional<System.Collections.Generic.List<Avl.Gap1D>> | Gaps between consecutive edges. | ||
![]() | outBrightnessProfile | Atl.Optional<Avl.Profile> | Extracted image profile. | ||
![]() | outResponseProfile | Atl.Optional<Avl.Profile> | Profile of the edge (derivative) operator response. |