You are here: Start » AVL.NET » Function Reference » Computer Vision » 1D Edge Detection » AVL.ScanSingleRidge
Locates the strongest dark or bright pixel peak along a given path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
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 | |
---|---|---|---|---|---|
![]() | 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 ). | |
![]() | inRidgeSelection | AvlNet.Selection | avl::Selection::Best | Selection mode of the resulting ridge. Default value: avl::Selection::Best. | |
![]() | outRidge | AvlNet.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
![](../img/filters/ScanSingleRidge.png)
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
- ScanSingleRidge(Image, ScanMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Ridge1D>)
- ScanSingleRidge(Image, ScanMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Ridge1D>, Profile, Profile)
- ScanSingleRidge(Image, ScanMap, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Ridge1D>, NullableRef<Profile>, NullableRef<Profile>)