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

AVS.ScanExactlyNRidges_Direct Method

Locates a specified number of the strongest dark or bright pixel peak along a given path (without a scan map).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ScanExactlyNRidges_Direct
(
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	int inScanWidth,
	AvlNet.SamplingParams inSamplingParams,
	AvlNet.RidgeScanParams inRidgeScanParams,
	int inRidgeCount,
	AvlNet.Selection inRidgeSelection,
	float inMinDistance,
	INullable<List<AvlNet.Ridge1D>> outRidges,
	INullable<List<AvlNet.Gap1D>> outGaps
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inScanPathAvlNet.PathPath along which the scan is performed.
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 ).
inRidgeScanParamsAvlNet.RidgeScanParamsRidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark )Parameters controlling the ridge extraction process. Default value: RidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark ).
inRidgeCountint<0, INF>1Number of ridges to be found. Default value: 1.
inRidgeSelectionAvlNet.SelectionSelection mode of the resulting ridges.
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive ridges. Default value: 0.0f.
outRidgesAvlNet.INullable<System.Collections.Generic.List<AvlNet.Ridge1D>>Found ridges. This parameter cannot be null.
outGapsAvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>>Gaps between consecutive edges. This parameter cannot be null.

Function Overrides

See also