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

Invoke.ScanExactlyNRidges

Locates a specified number of the strongest dark or bright pixel peak along a given path.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ScanExactlyNRidges
(
	Avl.Image inImage,
	Avl.ScanMap inScanMap,
	Avl.RidgeScanParams inRidgeScanParams,
	int inRidgeCount,
	Avl.Selection inRidgeSelection,
	float inMinDistance,
	Optional<float> inMaxDistance,
	Optional<Avl.LocalBlindness> inLocalBlindness,
	Conditional<List<Avl.Ridge1D>> outRidges,
	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.
inRidgeScanParamsAvl.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.
inRidgeSelectionAvl.Selectionavl::Selection::BestSelection mode of the resulting ridges. Default value: avl::Selection::Best.
inMinDistancefloat<0.0f, INF>0.0fMinimal distance between consecutive ridges. Default value: 0.0f.
inMaxDistanceAtl.Optional<float><0.0f, INF>Maximal distance between consecutive ridges. Default value: atl::NIL.
inLocalBlindnessAtl.Optional<Avl.LocalBlindness>Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL.
outRidgesAtl.Conditional<System.Collections.Generic.List<Avl.Ridge1D>>Found ridges.
outGapsAtl.Conditional<System.Collections.Generic.List<Avl.Gap1D>>Gaps between consecutive edges.
outBrightnessProfileAtl.Optional<Avl.Profile>Extracted image profile.
outResponseProfileAtl.Optional<Avl.Profile>Profile of the ridge operator response.

See also