You are here: Start » AVL.NET » AVS.AvsFilter_ScanSingleRidge Method

AVS.AvsFilter_ScanSingleRidge Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AvsFilter_ScanSingleRidge
(
	AvlNet.ScanMapState ioState,
	AvlNet.Image inImage,
	AvlNet.Path inScanPath,
	AvlNet.CoordinateSystem2D? inScanPathAlignment,
	int inScanWidth,
	AvlNet.InterpolationMethod inImageInterpolation,
	AvlNet.RidgeScanParams inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	AvlNet.LocalBlindness? inLocalBlindness,
	out AvlNet.Ridge1D? outRidge,
	AvlNet.Path outAlignedScanPath,
	AvlNet.Profile diagBrightnessProfile,
	AvlNet.Profile diagResponseProfile,
	IList<AvlNet.Path> diagSamplingPoints,
	out float diagSamplingStep
)

Parameters

Name Type Range Default Description
ioStateAvlNet.ScanMapState
inImageAvlNet.ImageInput image.
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.
inScanWidthint<1, INF>5Width of the scan field in pixels. Default value: 5.
inImageInterpolationAvlNet.InterpolationMethodBilinearInterpolation method used in extraction of image pixel values. Default value: Bilinear.
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.SelectionSelection mode of the resulting ridge.
inLocalBlindnessAvlNet.LocalBlindness?Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: atl::NIL.
outRidgeAvlNet.Ridge1D?Found ridge.
outAlignedScanPathAvlNet.PathPath along which the scan is performed; in the image coordinate system.
diagBrightnessProfileAvlNet.ProfileExtracted image profile.
diagResponseProfileAvlNet.ProfileProfile of the ridge operator response.
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.
diagSamplingStepfloatUsed distance between consecutive sampling points on the scan path.

Function Overrides

See also