You are here: Start » AVL.NET » AVS.ScanExactlyNRidges Method
AVS.ScanExactlyNRidges Method
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, INullable<List<AvlNet.Ridge1D>> outRidges, INullable<List<AvlNet.Gap1D>> outGaps )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inScanMap | AvlNet.ScanMap | Data precomputed with CreateScanMap. | |||
inRidgeScanParams | AvlNet.RidgeScanParams | RidgeScanParams ( 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 ). | ||
inRidgeCount | int | <0, INF> | 1 | Number of ridges to be found. Default value: 1. | |
inRidgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of the resulting ridges. Default value: avl::Selection::Best. | ||
inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive ridges. Default value: 0.0f. | |
inMaxDistance | float? | <0.0f, INF> | Maximal distance between consecutive ridges. Default value: atl::NIL. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL. | |||
outRidges | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Ridge1D>> | Found ridges. This parameter cannot be null. | |||
outGaps | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>> | Gaps between consecutive edges. This parameter cannot be null. |
Function Overrides
- ScanExactlyNRidges(Image, ScanMap, RidgeScanParams, Int32, Selection, Single, INullable<List<Ridge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNRidges(Image, ScanMap, RidgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Ridge1D>>, INullable<List<Gap1D>>, Profile, Profile)
- ScanExactlyNRidges(Image, ScanMap, RidgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Ridge1D>>, INullable<List<Gap1D>>, NullableRef<Profile>, NullableRef<Profile>)