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

Invoke.ScanExactlyNStripes

Locates a specified number of multiple pairs of opposite edges across a given path.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ScanExactlyNStripes
(
	Avl.Image inImage,
	Avl.ScanMap inScanMap,
	Avl.StripeScanParams inStripeScanParams,
	int inStripeCount,
	Avl.Selection inStripeSelection,
	float inMinGapWidth,
	Optional<float> inMaxGapWidth,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Conditional<List<Avl.Stripe1D>> outStripes,
	Conditional<List<Avl.Gap1D>> outGaps,
	Optional<Avl.Profile> outBrightnessProfile,
	Optional<Avl.Profile> outResponseProfile
)

Parameters

Name Type Range Default Description
inImageAvl.ImageInput image.
inScanMapAvl.ScanMapData precomputed with CreateScanMap.
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 ).
inStripeCountint<0, INF>1Number of stripes to be found. Default value: 1.
inStripeSelectionAvl.Selectionavl::Selection::BestSelection mode of the resulting stripes. Default value: avl::Selection::Best.
inMinGapWidthfloat<0.0f, INF>0.0fMinimal distance between consecutive stripes. Default value: 0.0f.
inMaxGapWidthAtl.Optional<float><0.0f, INF>Maximal distance between consecutive stripes. Default value: atl::NIL.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outStripesAtl.Conditional<System.Collections.Generic.List<Avl.Stripe1D>>Found stripes.
outGapsAtl.Conditional<System.Collections.Generic.List<Avl.Gap1D>>Distances between consecutive stripes.
outBrightnessProfileAtl.Optional<Avl.Profile>Extracted image profile.
outResponseProfileAtl.Optional<Avl.Profile>Profile of the edge (derivative) operator response.

See also