You are here: Start » AVL.NET » AVS.ScanMultipleEdges_Direct Method
AVS.ScanMultipleEdges_Direct Method
Locates multiple transitions between dark and bright pixels along a given path (without a scan map).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanMultipleEdges_Direct ( AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.SamplingParams inSamplingParams, AvlNet.EdgeScanParams inEdgeScanParams, float inMinDistance, float? inMaxDistance, AvlNet.LocalBlindness? inLocalBlindness, IList<AvlNet.Edge1D> outEdges, IList<AvlNet.Gap1D> outGaps )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inScanPath | AvlNet.Path | Path along which the scan is performed. | |||
inScanPathAlignment | AvlNet.CoordinateSystem2D? | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. | |
inSamplingParams | AvlNet.SamplingParams | SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ) | Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ). | ||
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 ). | ||
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 | System.Collections.Generic.IList<AvlNet.Edge1D> | Found edges. | |||
outGaps | System.Collections.Generic.IList<AvlNet.Gap1D> | Gaps between consecutive edges. |
Function Overrides
- ScanMultipleEdges_Direct(Image, Path, Int32, SamplingParams, EdgeScanParams, Single, IList<Edge1D>, IList<Gap1D>)
- ScanMultipleEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<Edge1D>, IList<Gap1D>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>)
- ScanMultipleEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<Edge1D>, IList<Gap1D>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>, IList<Path>, Single)
- ScanMultipleEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Single, Nullable<Single>, Nullable<LocalBlindness>, IList<Edge1D>, IList<Gap1D>, Path, Profile, Profile, IList<Path>, Single)