You are here: Start » AVL.NET » Invoke.ScanExactlyNRidges_Direct
Locates a specified number of 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 ScanExactlyNRidges_Direct ( Avl.Image inImage, Avl.Path inScanPath, Optional<Avl.CoordinateSystem2D> inScanPathAlignment, int inScanWidth, Avl.SamplingParams inSamplingParams, Avl.RidgeScanParams inRidgeScanParams, int inRidgeCount, Avl.Selection inRidgeSelection, float inMinDistance, Optional<float> inMaxDistance, Optional<Avl.LocalBlindness> inLocalBlindness, Conditional<List<Avl.Ridge1D>> outRidges, Conditional<List<Avl.Gap1D>> outGaps, 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 ). | |
![]() | 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. | ||
![]() | outRidges | Atl.Conditional<System.Collections.Generic.List<Avl.Ridge1D>> | Found ridges. | ||
![]() | outGaps | Atl.Conditional<System.Collections.Generic.List<Avl.Gap1D>> | Gaps between consecutive edges. | ||
![]() | 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. |