You are here: Start » AVL.NET » Invoke.ScanSingleRidge_Direct
Locates the strongest dark or bright pixel peak along a given path (without a scan map).
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ScanSingleRidge_Direct ( Avl.Image inImage, Avl.Path inScanPath, Optional<Avl.CoordinateSystem2D> inScanPathAlignment, int inScanWidth, Avl.SamplingParams inSamplingParams, Avl.RidgeScanParams inRidgeScanParams, Avl.Selection inRidgeSelection, Optional<Avl.LocalBlindness> inLocalBlindness, Conditional<Avl.Ridge1D> outRidge, Optional<Avl.Path> outAlignedScanPath, Optional<Avl.Profile> outBrightnessProfile, Optional<Avl.Profile> outResponseProfile, Diagnostic<List<Avl.Path>> diagSamplingPoints, Diagnostic<float> diagSamplingStep )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | 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. | ||
![]() | inScanWidth | int | <1, INF> | 5 | Width of the scan field in pixels. Default value: 5. |
![]() | inSamplingParams | Avl.SamplingParams | SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ) | Parameters controlling the sampling process. Default value: SamplingParams ( Interpolation: Bilinear SamplingStep: 1.0f SampleCount: Nil ). | |
![]() | inRidgeScanParams | Avl.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 | Avl.Selection | Selection mode of the resulting ridge. | ||
![]() | inLocalBlindness | Atl.Optional<Avl.LocalBlindness> | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL. | ||
![]() | outRidge | Atl.Conditional<Avl.Ridge1D> | Found ridge. | ||
![]() | outAlignedScanPath | Atl.Optional<Avl.Path> | Transformed input path. | ||
![]() | outBrightnessProfile | Atl.Optional<Avl.Profile> | Extracted image 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 contributes to a single value of the extracted profile. | ||
![]() | diagSamplingStep | Avl.Diagnostic<float> | Used distance between consecutive sampling points on the scan path. |