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