You are here: Start » AVL.NET » Invoke.ScanExactlyNRidges3D_Direct
Locates a specified number of the strongest high or low peaks of surface height along a given path.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ScanExactlyNRidges3D_Direct ( Avl.Surface inSurface, Avl.Path inScanPath, Optional<Avl.CoordinateSystem2D> inScanPathAlignment, Optional<float> inSamplingStep, int inScanWidth, Avl.InterpolationMethod inSurfaceInterpolation, Avl.RidgeScanParams3D inRidgeScanParams, int inRidgeCount, Avl.Selection inRidgeSelection, float inMinDistance, Optional<float> inMaxDistance, Optional<Avl.LocalBlindness> inLocalBlindness, Optional<int> inMaxProfileGapWidth, Conditional<List<Avl.SurfaceRidge1D>> outRidges, Optional<Avl.Path> outAlignedScanPath, Optional<Avl.Profile> outHeightProfile, Optional<Avl.Profile> outResponseProfile, Diagnostic<List<Avl.Path>> diagSamplingPoints, Diagnostic<float> diagSamplingStep )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | Avl.Surface | Input surface. | ||
![]() | inScanPath | Avl.Path | Path along which the scan is performed. | ||
![]() | inScanPathAlignment | Atl.Optional<Avl.CoordinateSystem2D> | Adjusts the scan path to the position of the inspected object. Default value: atl::NIL. | ||
![]() | inSamplingStep | Atl.Optional<float> | <0.0f, INF> | Distance between consecutive sampling points on the scan path; if Nil, the bigger of surface X and Y scales is chosen. Default value: atl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. |
![]() | inSurfaceInterpolation | Avl.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inRidgeScanParams | Avl.RidgeScanParams3D | RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Any ) | Parameters controlling the ridge extraction process. Default value: RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Any ). | |
![]() | inRidgeCount | int | <0, INF> | 1 | Number of ridges to be found. Default value: 1. |
![]() | inRidgeSelection | Avl.Selection | Selection mode of the resulting ridges. | ||
![]() | inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive ridges. Default value: 0.0f. |
![]() | inMaxDistance | Atl.Optional<float> | <0.0f, INF> | Maximal distance between consecutive ridges. Default value: atl::NIL. | |
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL. | ||
![]() | inMaxProfileGapWidth | Atl.Optional<int> | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. |
![]() | outRidges | Atl.Conditional<System.Collections.Generic.List<Avl.SurfaceRidge1D>> | Found surface ridges. | ||
![]() | outAlignedScanPath | Atl.Optional<Avl.Path> | Path along which the scan is performed; in the image coordinate system. | ||
![]() | outHeightProfile | Atl.Optional<Avl.Profile> | Extracted surface height profile. | ||
![]() | outResponseProfile | Atl.Optional<Avl.Profile> | Profile of the ridge operator response. | ||
![]() | diagSamplingPoints | Avl.Diagnostic<System.Collections.Generic.List<Avl.Path>> | Array of paths each one containing the sampling points that contributed to a single value of the extracted profile; in the image coordinate system. | ||
![]() | diagSamplingStep | Avl.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. |