You are here: Start » FIL.NET » FIS.FitPathToEdges_Direct Method
FIS.FitPathToEdges_Direct Method
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void FitPathToEdges_Direct ( FilNet.Image inImage, FilNet.PathFittingField inFittingField, FilNet.CoordinateSystem2D? inFittingFieldAlignment, float? inScanStep, int inScanWidth, FilNet.SamplingParams inSamplingParams, FilNet.EdgeScanParams inEdgeScanParams, FilNet.Selection inEdgeSelection, FilNet.LocalBlindness? inLocalBlindness, int? inMaxInterpolationLength, float? inMaxDeviationDelta, float inMaxIncompleteness, INullable<FilNet.Path> outPath, NullableRef<List<FilNet.Edge1D?>> outEdges, NullableRef<NullableRef<FilNet.Profile>> outDeviationProfile, NullableRef<FilNet.PathFittingField> outAlignedFittingField, NullableRef<SafeList<FilNet.Profile>> outBrightnessProfiles, NullableRef<SafeList<FilNet.Profile>> outResponseProfiles, IList<FilNet.Segment2D> diagScanSegments, IList<FilNet.Rectangle2D> diagSamplingAreas )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | FilNet.Image | Image to fit the path to | |||
inFittingField | FilNet.PathFittingField | Path fitting field | |||
inFittingFieldAlignment | FilNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object | |||
inScanStep | float? | <0.0f, INF> | 5.0f | Optional implicit conversion of the input path to an equidistant one | |
inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels) | |
inSamplingParams | FilNet.SamplingParams | Parameters controlling the sampling process | |||
inEdgeScanParams | FilNet.EdgeScanParams | EdgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f MinMagnitude: 5.0f EdgeTransition: BrightToDark ) | Parameters controlling the edge extraction process | ||
inEdgeSelection | FilNet.Selection | Selection mode of edges | |||
inLocalBlindness | FilNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges | |||
inMaxInterpolationLength | int? | <0, INF> | 1 | Maximal number of consecutive points not found | |
inMaxDeviationDelta | float? | <0.0f, INF> | Maximal difference between deviations of consecutive path points | ||
inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of edge points not found | |
outPath | FilNet.INullable<FilNet.Path> | Fitted path or nothing if the fitting failed | |||
outEdges | FilNet.NullableRef<System.Collections.Generic.List<FilNet.Edge1D?>> | Found edges | |||
outDeviationProfile | FilNet.NullableRef<FilNet.NullableRef<FilNet.Profile>> | Profile of distances between the actual path points and the corresponding reference path points | |||
outAlignedFittingField | FilNet.NullableRef<FilNet.PathFittingField> | Fitting field used; in the image coordinate system | |||
outBrightnessProfiles | FilNet.NullableRef<FilNet.SafeList<FilNet.Profile>> | Extracted image profiles | |||
outResponseProfiles | FilNet.NullableRef<FilNet.SafeList<FilNet.Profile>> | Profiles of the edge (derivative) operator response | |||
diagScanSegments | System.Collections.Generic.IList<FilNet.Segment2D> | Segments along which the scans were run | |||
diagSamplingAreas | System.Collections.Generic.IList<FilNet.Rectangle2D> | Areas from which the input image is sampled |
Function Overrides
- FitPathToEdges_Direct(Image, PathFittingField, Int32, SamplingParams, EdgeScanParams, Selection, Single, INullable<Path>)
- FitPathToEdges_Direct(Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>)
- FitPathToEdges_Direct(Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, NullableRef<List<Nullable<Edge1D>>>, NullableRef<NullableRef<Profile>>, NullableRef<PathFittingField>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)
- FitPathToEdges_Direct(Image, PathFittingField, Nullable<CoordinateSystem2D>, Nullable<Single>, Int32, SamplingParams, EdgeScanParams, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Nullable<Single>, Single, INullable<Path>, IList<Nullable<Edge1D>>, INullable<Profile>, PathFittingField, IList<Profile>, IList<Profile>, IList<Segment2D>, IList<Rectangle2D>)