You are here: Start » AVL.NET » Invoke.ScanSingleEdge_Direct

Invoke.ScanSingleEdge_Direct

Locates the strongest transition between dark and bright pixels along a given path (without a scan map).

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ScanSingleEdge_Direct
(
	Avl.Image inImage,
	Avl.Path inScanPath,
	Optional<Avl.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.EdgeScanParams inEdgeScanParams,
	Avl.Selection inEdgeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Conditional<Avl.Edge1D> outEdge,
	Optional<Avl.Path> outAlignedScanPath,
	Optional<Avl.Profile> outBrightnessProfile,
	Optional<Avl.Profile> outResponseProfile,
	Diagnostic<List<Avl.Path>> diagSamplingPoints,
	Diagnostic<float> diagSamplingStep
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inScanPathAvl.PathPath along which the scan is performed.
inScanPathAlignmentAtl.Optional<Avl.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.
inSamplingParamsAvl.SamplingParamsSamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil )Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ).
inEdgeScanParamsAvl.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 ).
inEdgeSelectionAvl.SelectionSelection mode of the resulting edge.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outEdgeAtl.Conditional<Avl.Edge1D>Found edge.
outAlignedScanPathAtl.Optional<Avl.Path>Transformed input path.
outBrightnessProfileAtl.Optional<Avl.Profile>Extracted image profile.
outResponseProfileAtl.Optional<Avl.Profile>Profile of the edge (derivative) operator response.
diagSamplingPointsAvl.Diagnostic<System.Collections.Generic.List<Avl.Path>>Array of paths each one containing the sampling points that contributes to a single value of the extracted profile.
diagSamplingStepAvl.Diagnostic<float>Used distance between consecutive sampling points on the scan path.

See also