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

Invoke.ScanSingleStripe_Direct

Locates the strongest pair of edges across a given path (without a scan map).

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ScanSingleStripe_Direct
(
	Avl.Image inImage,
	Avl.Path inScanPath,
	Optional<Avl.CoordinateSystem2D> inScanPathAlignment,
	int inScanWidth,
	Avl.SamplingParams inSamplingParams,
	Avl.StripeScanParams inStripeScanParams,
	Avl.Selection inStripeSelection,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Conditional<Avl.Stripe1D> outStripe,
	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 ).
inStripeScanParamsAvl.StripeScanParamsStripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil )Parameters controlling the stripe extraction process. Default value: StripeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil StripePolarity: Dark MinStripeWidth: 0.0f MaxStripeWidth: Nil ).
inStripeSelectionAvl.SelectionSelection mode of the resulting stripe.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outStripeAtl.Conditional<Avl.Stripe1D>Found stripe.
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