You are here: Start » AVL.NET » AVS.ScanExactlyNRidges_Direct Method
AVS.ScanExactlyNRidges_Direct Method
Locates a specified number of the strongest dark or bright pixel peak along a given path (without a scan map).
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ScanExactlyNRidges_Direct ( AvlNet.Image inImage, AvlNet.Path inScanPath, AvlNet.CoordinateSystem2D? inScanPathAlignment, int inScanWidth, AvlNet.SamplingParams inSamplingParams, AvlNet.RidgeScanParams inRidgeScanParams, int inRidgeCount, AvlNet.Selection inRidgeSelection, float inMinDistance, float? inMaxDistance, AvlNet.LocalBlindness? inLocalBlindness, INullable<List<AvlNet.Ridge1D>> outRidges, INullable<List<AvlNet.Gap1D>> outGaps, NullableRef<AvlNet.Path> outAlignedScanPath, NullableRef<AvlNet.Profile> outBrightnessProfile, NullableRef<AvlNet.Profile> outResponseProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Input image. | |||
inScanPath | AvlNet.Path | Path along which the scan is performed. | |||
inScanPathAlignment | AvlNet.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 | AvlNet.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 | AvlNet.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 | AvlNet.Selection | Selection mode of the resulting ridges. | |||
inMinDistance | float | <0.0f, INF> | 0.0f | Minimal distance between consecutive ridges. Default value: 0.0f. | |
inMaxDistance | float? | <0.0f, INF> | Maximal distance between consecutive ridges. Default value: atl::NIL. | ||
inLocalBlindness | AvlNet.LocalBlindness? | Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges. Default value: atl::NIL. | |||
outRidges | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Ridge1D>> | Found ridges. This parameter cannot be null. | |||
outGaps | AvlNet.INullable<System.Collections.Generic.List<AvlNet.Gap1D>> | Gaps between consecutive edges. This parameter cannot be null. | |||
outAlignedScanPath | AvlNet.NullableRef<AvlNet.Path> | Transformed input path. Can be null to skip this parameter calculation. | |||
outBrightnessProfile | AvlNet.NullableRef<AvlNet.Profile> | Extracted image profile. Can be null to skip this parameter calculation. | |||
outResponseProfile | AvlNet.NullableRef<AvlNet.Profile> | Profile of the ridge operator response. Can be null to skip this parameter calculation. |
Function Overrides
- ScanExactlyNRidges_Direct(Image, Path, Int32, SamplingParams, RidgeScanParams, Int32, Selection, Single, INullable<List<Ridge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNRidges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, RidgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Ridge1D>>, INullable<List<Gap1D>>)
- ScanExactlyNRidges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, RidgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Ridge1D>>, INullable<List<Gap1D>>, Path, Profile, Profile, IList<Path>, Single)
- ScanExactlyNRidges_Direct(Image, Path, Nullable<CoordinateSystem2D>, Int32, SamplingParams, RidgeScanParams, Int32, Selection, Single, Nullable<Single>, Nullable<LocalBlindness>, INullable<List<Ridge1D>>, INullable<List<Gap1D>>, NullableRef<Path>, NullableRef<Profile>, NullableRef<Profile>, IList<Path>, Single)