You are here: Start » AVL.NET » AVS.AvsFilter_FitPathToRidges Method
AVS.AvsFilter_FitPathToRidges Method
Performs a series of 1D ridge detections and creates a path from the detected points.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void AvsFilter_FitPathToRidges ( AvlNet.PathFittingState ioState, AvlNet.Image inImage, AvlNet.PathFittingField inFittingField, int inScanWidth, AvlNet.InterpolationMethod inImageInterpolation, AvlNet.RidgeScanParams inRidgeScanParams, AvlNet.Selection inRidgeSelection, float inMaxIncompleteness, INullable<AvlNet.Path> outPath, NullableRef<List<AvlNet.Ridge1D?>> outRidges, NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile, NullableRef<AvlNet.PathFittingField> outAlignedFittingField, IList<AvlNet.Segment2D> diagScanSegments, IList<AvlNet.Rectangle2D> diagSamplingAreas, IList<AvlNet.Profile> diagBrightnessProfiles, IList<AvlNet.Profile> diagResponseProfiles )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioState | AvlNet.PathFittingState | ||||
![]() | inImage | AvlNet.Image | Image to fit the path to. | ||
![]() | inFittingField | AvlNet.PathFittingField | Path fitting field. | ||
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. |
![]() | inImageInterpolation | AvlNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of image pixel values. Default value: Bilinear. | |
![]() | 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 ). | |
![]() | inRidgeSelection | AvlNet.Selection | Selection mode of ridges. | ||
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of ridge points not found. Default value: 0.1f. |
![]() | outPath | AvlNet.INullable<AvlNet.Path> | Fitted path or nothing if the fitting failed. This parameter cannot be null. | ||
![]() | outRidges | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Ridge1D?>> | Found ridges. Can be null to skip this parameter calculation. | ||
![]() | outDeviationProfile | AvlNet.NullableRef<AvlNet.NullableRef<AvlNet.Profile>> | Profile of distances between the actual path points and the corresponding reference path points. Can be null to skip this parameter calculation. | ||
![]() | outAlignedFittingField | AvlNet.NullableRef<AvlNet.PathFittingField> | Fitting field used; in the image coordinate system. Can be null to skip this parameter calculation. | ||
![]() | diagScanSegments | System.Collections.Generic.IList<AvlNet.Segment2D> | Segments along which the scans were run. | ||
![]() | diagSamplingAreas | System.Collections.Generic.IList<AvlNet.Rectangle2D> | Areas from which the input image is sampled. | ||
![]() | diagBrightnessProfiles | System.Collections.Generic.IList<AvlNet.Profile> | Extracted image profiles. | ||
![]() | diagResponseProfiles | System.Collections.Generic.IList<AvlNet.Profile> | Profiles of the ridge operator response. |
Function Overrides
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, RidgeScanParams, Selection, Single, INullable<Path>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, RidgeScanParams, Selection, Single, INullable<Path>, NullableRef<List<Nullable<Ridge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, RidgeScanParams, Selection, Single, INullable<Path>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, NullableRef<List<Nullable<Ridge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, IList<Nullable<Ridge1D>>, INullable<Profile>, PathFittingField, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToRidges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, RidgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, NullableRef<List<Nullable<Ridge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)



