You are here: Start » AVL.NET » AVS.AvsFilter_FitPathToEdges Method
AVS.AvsFilter_FitPathToEdges Method
Performs a series of 1D edge detections and creates a path from the detected points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void AvsFilter_FitPathToEdges ( AvlNet.PathFittingState ioState, AvlNet.Image inImage, AvlNet.PathFittingField inFittingField, int inScanWidth, AvlNet.InterpolationMethod inImageInterpolation, AvlNet.EdgeScanParams inEdgeScanParams, AvlNet.Selection inEdgeSelection, float inMaxIncompleteness, INullable<AvlNet.Path> outPath, NullableRef<List<AvlNet.Edge1D?>> outEdges, NullableRef<NullableRef<AvlNet.Profile>> outDeviationProfile, NullableRef<AvlNet.PathFittingField> outAlignedFittingField )
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. | ||
inEdgeScanParams | AvlNet.EdgeScanParams | EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ) | Parameters controlling the edge extraction process. Default value: EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ). | ||
inEdgeSelection | AvlNet.Selection | Selection mode of edges. | |||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge 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. | |||
outEdges | AvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Edge1D?>> | Found edges. 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. |
Function Overrides
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, EdgeScanParams, Selection, Single, INullable<Path>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, EdgeScanParams, Selection, Single, INullable<Path>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Int32, InterpolationMethod, EdgeScanParams, Selection, Single, INullable<Path>, NullableRef<List<Nullable<Edge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, NullableRef<List<Nullable<Edge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, IList<Nullable<Edge1D>>, INullable<Profile>, PathFittingField, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)
- AvsFilter_FitPathToEdges(PathFittingState, Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, InterpolationMethod, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, NullableRef<List<Nullable<Edge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, IList<Segment2D>, IList<Rectangle2D>, IList<Profile>, IList<Profile>)