You are here: Start » AVL.NET » AVS.ScanSingleEdge_Direct Method
AVS.ScanSingleEdge_Direct Method
Locates the strongest transition between dark and bright pixels along a given path (without a scan map).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanSingleEdge_Direct ( AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.SamplingParams inSamplingParams, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, AvlNet.LocalBlindness? inLocalBlindness, out AvlNet.Edge1D? outEdge, AvlNet.Path outAlignedScanPath, AvlNet.Profile outBrightnessProfile, AvlNet.Profile outResponseProfile, IList<AvlNet.Path> diagSamplingPoints, out float diagSamplingStep )
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 ). | ||
inEdgeSelection | AvlNet.Selection | Selection mode of the resulting edge. | |||
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. | |||
outAlignedScanPath | AvlNet.Path | Transformed input path. | |||
outBrightnessProfile | AvlNet.Profile | Extracted image profile. | |||
outResponseProfile | AvlNet.Profile | Profile of the edge (derivative) operator response. | |||
diagSamplingPoints | System.Collections.Generic.IList<AvlNet.Path> | Array of paths each one containing the sampling points that contributes to a single value of the extracted profile. | |||
diagSamplingStep | float | Used distance between consecutive sampling points on the scan path. |
Function Overrides
- ScanSingleEdge_Direct(Image, Path, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<Edge1D>)
- ScanSingleEdge_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Edge1D>)
- ScanSingleEdge_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Edge1D>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>)
- ScanSingleEdge_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Edge1D>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>, IList<Path>, Single)