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

AVL.ScanSingleRidge3D_Direct

Locates the strongest high or low peak of surface height along a given path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ScanSingleRidge3D_Direct
(
	AvlNet.Surface inSurface,
	AvlNet.Path inScanPath,
	AvlNet.CoordinateSystem2D? inScanPathAlignment,
	float? inSamplingStep,
	int inScanWidth,
	AvlNet.InterpolationMethod inSurfaceInterpolation,
	AvlNet.RidgeScanParams3D inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	AvlNet.LocalBlindness? inLocalBlindness,
	int? inMaxProfileGapWidth,
	out AvlNet.SurfaceRidge1D? outRidge,
	NullableRef<AvlNet.Path> outAlignedScanPath,
	NullableRef<AvlNet.Profile> outHeightProfile,
	NullableRef<AvlNet.Profile> outResponseProfile,
	IList<AvlNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inScanPathAvlNet.PathPath along which the scan is performed.
inScanPathAlignmentAvlNet.CoordinateSystem2D?Adjusts the scan path to the position of the inspected object. Default value: atl::NIL.
inSamplingStepfloat?<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.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inSurfaceInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used for extraction of surface points. Default value: Bilinear.
inRidgeScanParamsAvlNet.RidgeScanParams3DRidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Any )Parameters controlling the surface ridge extraction process. Default value: RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Any ).
inRidgeSelectionAvlNet.SelectionSelection mode of the resulting ridge.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL.
inMaxProfileGapWidthint?<0, INF>1Maximal number of consecutive not existing profile points. Default value: 1.
outRidgeAvlNet.SurfaceRidge1D?Found surface ridge.
outAlignedScanPathAvlNet.NullableRef<AvlNet.Path>Path along which the scan is performed; in the image coordinate system. Can be null to skip this parameter calculation.
outHeightProfileAvlNet.NullableRef<AvlNet.Profile>Extracted surface height profile. Can be null to skip this parameter calculation.
outResponseProfileAvlNet.NullableRef<AvlNet.Profile>Profile of the ridge operator response. Can be null to skip this parameter calculation.
diagSamplingPointsSystem.Collections.Generic.IList<AvlNet.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.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also