You are here: Start » AVL.NET » AVS.ScanExactlyNEdges_Direct Method

AVS.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:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ScanExactlyNEdges_Direct
(
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	AvlNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.EdgeScanParams inEdgeScanParams,
	int inEdgeCount,
	AvlNet.Selection inEdgeSelection,
	float inMinDistance,
	float? inMaxDistance,
	AvlNet.LocalBlindness? inLocalBlindness,
	INullable<List<AvlNet.Edge1D>> outEdges,
	INullable<List<AvlNet.Gap1D>> outGaps,
	AvlNet.Path outAlignedScanPath,
	AvlNet.Profile outBrightnessProfile,
	AvlNet.Profile outResponseProfile,
	IList<AvlNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inScanPathAvlNet.PathPath along which the scan is performed.
inScanPathAlignmentAvlNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: atl::NIL.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSamplingParamsAvlNet.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
inEdgeScanParamsAvlNet.EdgeScanParamsEdgeScanParams ( 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 ).
inEdgeCountint<0, INF>1Number of edges to be found. Default value: 1.
inEdgeSelectionAvlNet.SelectionSelection mode of the resulting edges.
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive edges. Default value: 0.0f.
inMaxDistancefloat?<0.0f, INF>Maximal distance between consecutive edges. Default value: atl::NIL.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outEdgesAvlNet.INullable<System.Collections.Generic.List<AvlNet.Edge1D>>Found edges. This parameter cannot be null.
outGapsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>>Gaps between consecutive edges. This parameter cannot be null.
outAlignedScanPathAvlNet.PathTransformed input path.
outBrightnessProfileAvlNet.ProfileExtracted image profile.
outResponseProfileAvlNet.ProfileProfile of the edge (derivative) operator response.
diagSamplingPointsSystem.Collections.Generic.IList<AvlNet.Path>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also