You are here: Start » AVL.NET » Function Reference » Computer Vision » 1D Edge Detection » AVL.ScanSingleRidge

AVL.ScanSingleRidge

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ScanSingleRidge
(
	AvlNet.Image inImage,
	AvlNet.ScanMap inScanMap,
	AvlNet.RidgeScanParams inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	out AvlNet.Ridge1D? outRidge
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inScanMapAvlNet.ScanMapData precomputed with CreateScanMap.
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 ).
inRidgeSelectionAvlNet.Selectionavl::Selection::BestSelection mode of the resulting ridge. Default value: avl::Selection::Best.
outRidgeAvlNet.Ridge1D?Found ridge.

Description

The operation scans the image using inScanMap previously generated from a scan path and locates the strongest ridge of the given characteristics. If there is no such ridge then the outputs are set to NIL.

Examples

ScanSingleRidge locates the strongest ridge using a scan map representing the scan path above.

Remarks

Read more about Local Coordinate Systems in Machine Vision Guide: Local Coordinate Systems.

This filter is a part of the 1D Edge Detection toolset. For a comprehensive introduction to this technique please refer to 1D Edge Detection and 1D Edge Detection - Subpixel Precision chapters of our Machine Vision Guide.

Function Overrides

See also