You are here: Start » FIL.NET » FIS.ScanExactlyNEdges_Direct Method
FIS.ScanExactlyNEdges_Direct Method
Locates a specified number of the strongest transitions between dark and bright pixels along a given path (without a scan map).
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void ScanExactlyNEdges_Direct ( FilNet.Image inImage, FilNet.Path inScanPath, FilNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, FilNet.SamplingParams inSamplingParams, FilNet.EdgeScanParams inEdgeScanParams, int inEdgeCount, FilNet.Selection inEdgeSelection, float inMinDistance, float? inMaxDistance, FilNet.LocalBlindness? inLocalBlindness, INullable<List<FilNet.Edge1D>> outEdges, INullable<List<FilNet.Gap1D>> outGaps, FilNet.Path outAlignedScanPath, FilNet.Profile outBrightnessProfile, FilNet.Profile outResponseProfile, IList<FilNet.Path> diagSamplingPoints, out float diagSamplingStep )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | FilNet.Image | Input image. | |||
inScanPath | FilNet.Path | Path along which the scan is performed. | |||
inScanPathAlignment | FilNet.CoordinateSystem2D? | Adjusts the scan path to the position of the inspected object. Default value: ftl::NIL. | |||
inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. | |
inSamplingParams | FilNet.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 | FilNet.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 | FilNet.Selection | Selection mode of the resulting edges. | |||
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: ftl::NIL. | ||
inLocalBlindness | FilNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | |||
outEdges | FilNet.INullable<System.Collections.Generic.List<FilNet.Edge1D>> | Found edges. This parameter cannot be null. | |||
outGaps | FilNet.INullable<System.Collections.Generic.List<FilNet.Gap1D>> | Gaps between consecutive edges. This parameter cannot be null. | |||
outAlignedScanPath | FilNet.Path | Transformed input path. | |||
outBrightnessProfile | FilNet.Profile | Extracted image profile. | |||
outResponseProfile | FilNet.Profile | Profile of the edge (derivative) operator response. | |||
diagSamplingPoints | System.Collections.Generic.IList<FilNet.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
- ScanExactlyNEdges_Direct(Image, Path, Int32, SamplingParams, EdgeScanParams, Int32, Selection, Single, INullable<List<Edge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>)
- ScanExactlyNEdges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, EdgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Edge1D>>, INullable<List<Gap1D>>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>, IList<Path>, Single)