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

AVS.AvsFilter_ScanExactlyNStripes Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AvsFilter_ScanExactlyNStripes
(
	AvlNet.ScanMapState ioState,
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	AvlNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	AvlNet.StripeScanParams inStripeScanParams,
	int inStripeCount,
	AvlNet.Selection inStripeSelection,
	float inMinGapWidth,
	float? inMaxGapWidth,
	AvlNet.LocalBlindness? inLocalBlindness,
	INullable<List<AvlNet.Stripe1D>> outStripes,
	INullable<List<AvlNet.Gap1D>> outGaps,
	NullableRef<AvlNet.Path> outAlignedScanPath
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ScanMapState
inImageAvlNet.ImageInput image to be measured.
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.
inImageInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
inStripeScanParamsAvlNet.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.
inStripeSelectionAvlNet.SelectionSelection mode of the resulting stripes.
inMinGapWidthfloat<0.0f, INF>0.0fMinimal distance between consecutive stripes. Default value: 0.0f.
inMaxGapWidthfloat?<0.0f, INF>Maximal distance between consecutive stripes. 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.
outStripesAvlNet.INullable<System.Collections.Generic.List<AvlNet.Stripe1D>>Found stripes. This parameter cannot be null.
outGapsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>>Gaps between consecutive stripes. This parameter cannot be null.
outAlignedScanPathAvlNet.NullableRef<AvlNet.Path>Path along which the scan is performed; in the image coordinate system. Can be null to skip this parameter calculation.

Function Overrides

See also