You are here: Start » AVL.NET » AVS.AvsFilter_ScanExactlyNEdges Method
AVS.AvsFilter_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 AvsFilter_ScanExactlyNEdges ( AvlNet.ScanMapState ioState, AvlNet.Image inImage, AvlNet.Path inScanPath, int inScanWidth, AvlNet.InterpolationMethod inImageInterpolation, AvlNet.EdgeScanParams inEdgeScanParams, int inEdgeCount, AvlNet.Selection inEdgeSelection, float inMinDistance, INullable<List<AvlNet.Edge1D>> outEdges, INullable<List<AvlNet.Gap1D>> outGaps, NullableRef<AvlNet.Path> outAlignedScanPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioState | AvlNet.ScanMapState | ||||
inImage | AvlNet.Image | Input image to be measured. | |||
inScanPath | AvlNet.Path | Path along which the scan is performed. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. | |
inImageInterpolation | AvlNet.InterpolationMethod | Bilinear | Interpolation method used in extraction of image pixel values. Default value: Bilinear. | ||
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 | Selection mode of the resulting edges. | |||
inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive edges. Default value: 0.0f. | |
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. | |||
outAlignedScanPath | AvlNet.NullableRef<AvlNet.Path> | Path along which the scan is performed; in the image coordinate system. Can be null to skip this parameter calculation. |
Function Overrides
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, INullable<List<Edge1D>>, INullable<List<Gap1D>>)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, INullable<List<Edge1D>>, INullable<List<Gap1D>>, Profile, Profile, IList<Path>, Single)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Path>)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Path>, Profile, Profile, IList<Path>, Single)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, Profile, Profile, IList<Path>, Single)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, Path, Profile, Profile, IList<Path>, Single)
- AvsFilter_ScanExactlyNEdges(ScanMapState, Image, Path, Nullable<CoordinateSystem2D>, Int32, InterpolationMethod, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Path>, Profile, Profile, IList<Path>, Single)