You are here: Start » AVL.NET » AVL.ScanExactlyNRidges(AvlNet.Image, AvlNet.ScanMap, AvlNet.RidgeScanParams, int, AvlNet.Selection, float, float?, AvlNet.LocalBlindness, AvlNet.Ridge1D[], AvlNet.Gap1D[])

AVL.ScanExactlyNRidges(AvlNet.Image, AvlNet.ScanMap, AvlNet.RidgeScanParams, int, AvlNet.Selection, float, float?, AvlNet.LocalBlindness, AvlNet.Ridge1D[], AvlNet.Gap1D[])

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void ScanExactlyNRidges(
	AvlNet.Image inImage,
	AvlNet.ScanMap inScanMap,
	AvlNet.RidgeScanParams inRidgeScanParams,
	int inRidgeCount,
	AvlNet.Selection inRidgeSelection,
	float inMinDistance,
	float? inMaxDistance,
	AvlNet.LocalBlindness inLocalBlindness,
	out AvlNet.Ridge1D[] outRidges,
	out AvlNet.Gap1D[] outGaps
)

Parameters

inImage
Type: AvlNet.Image
Input image
inScanMap
Type: AvlNet.ScanMap
Data precomputed with CreateScanMap
inRidgeScanParams
Type: AvlNet.RidgeScanParams
Parameters controlling the ridge extraction process
inRidgeCount
Type: System.Int32
Number of ridges to be found
inRidgeSelection
Type: AvlNet.Selection
Selection mode of the resulting ridges
inMinDistance
Type: System.Single
Minimal distance between consecutive ridges
inMaxDistance
Type: System.Nullable<System.Single>
Maximal distance between consecutive ridges, or null.
inLocalBlindness
Type: AvlNet.LocalBlindness
Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges, or null.
outRidges
Type: AvlNet.Ridge1D
Found ridges
outGaps
Type: AvlNet.Gap1D
Gaps between consecutive edges

See also