You are here: Start » FIL.NET » FIS.FitSegmentToStripe3D_Direct Method
FIS.FitSegmentToStripe3D_Direct Method
Performs a series of 1D edge detections in 3D and finds a segment that best matches the detected points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void FitSegmentToStripe3D_Direct ( FilNet.Surface inSurface, FilNet.SegmentFittingField inFittingField, FilNet.CoordinateSystem2D? inFittingFieldAlignment, int inScanCount, float? inSamplingStep, int inScanWidth, FilNet.InterpolationMethod inSurfaceInterpolation, FilNet.StripeScanParams3D inStripeScanParams, FilNet.Selection inStripeSelection, FilNet.LocalBlindness? inLocalBlindness, int? inMaxProfileGapWidth, float inMaxIncompleteness, FilNet.MEstimator? inOutlierSuppression, INullable<FilNet.Segment3D> outSegment, INullable<FilNet.Segment3D> outLeftSegment, INullable<FilNet.Segment3D> outRightSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | Surface to fit segment to. | ||
![]() | inFittingField | FilNet.SegmentFittingField | Segment fitting field. | ||
![]() | inFittingFieldAlignment | FilNet.CoordinateSystem2D? | Adjusts the fitting field to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | inScanCount | int | <3, INF> | 10 | The number of points that will be searched to estimate the position of the segment. Default value: 10. |
![]() | inSamplingStep | float? | <0.0f, INF> | Desired distance between consecutive sampling points on the scan segments; if Nil, the bigger of surface X and Y scales is chosen. Default value: ftl::NIL. | |
![]() | inScanWidth | int | <1, INF> | 5 | The width of each scan field (in pixels). Default value: 5. |
![]() | inSurfaceInterpolation | FilNet.InterpolationMethod | Bilinear | Interpolation method used for extraction of surface points. Default value: Bilinear. | |
![]() | inStripeScanParams | FilNet.StripeScanParams3D | StripeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil MinStripeWidth: 0.0f MaxStripeWidth: Nil StripePolarity: High ) | Parameters controlling the stripe extraction process. Default value: StripeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f MinMagnitude: 5.0f MaxInnerEdgeMagnitude: Nil MinStripeWidth: 0.0f MaxStripeWidth: Nil StripePolarity: High ). | |
![]() | inStripeSelection | FilNet.Selection | Selection mode of stripe. | ||
![]() | inLocalBlindness | FilNet.LocalBlindness? | Defines conditions in which weaker edges can be detected in the vicinity of stronger edges. Default value: ftl::NIL. | ||
![]() | inMaxProfileGapWidth | int? | <0, INF> | 1 | Maximal number of consecutive not existing profile points. Default value: 1. |
![]() | inMaxIncompleteness | float | <0.0f, 0.999f> | 0.1f | Maximal fraction of stripe points not found. Default value: 0.1f. |
![]() | inOutlierSuppression | FilNet.MEstimator? | Selects a method for ignoring incorrectly detected points. Default value: ftl::NIL. | ||
![]() | outSegment | FilNet.INullable<FilNet.Segment3D> | Fitted segment or nothing if the fitting fails. This parameter cannot be null. | ||
![]() | outLeftSegment | FilNet.INullable<FilNet.Segment3D> | Fitted left segment. This parameter cannot be null. | ||
![]() | outRightSegment | FilNet.INullable<FilNet.Segment3D> | Fitted right segment. This parameter cannot be null. |
Function Overrides
- FitSegmentToStripe3D_Direct(Surface, SegmentFittingField, Int32, Int32, InterpolationMethod, StripeScanParams3D, Selection, Single, INullable<Segment3D>, INullable<Segment3D>, INullable<Segment3D>)
- FitSegmentToStripe3D_Direct(Surface, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, StripeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, INullable<Segment3D>, INullable<Segment3D>, NullableRef<List<NullableRef<SurfaceStripe1D>>>, NullableRef<List<Point3D>>, NullableRef<NullableRef<Profile>>, NullableValue<SegmentFittingField>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>)
- FitSegmentToStripe3D_Direct(Surface, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, StripeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, INullable<Segment3D>, INullable<Segment3D>, IList<NullableRef<SurfaceStripe1D>>, IList<Point3D>, INullable<Profile>, SegmentFittingField, IList<Profile>, IList<Profile>, IList<Segment2D>, IList<Rectangle2D>)
- FitSegmentToStripe3D_Direct(Surface, SegmentFittingField, Nullable<CoordinateSystem2D>, Int32, Nullable<Single>, Int32, InterpolationMethod, StripeScanParams3D, Selection, Nullable<LocalBlindness>, Nullable<Int32>, Single, Nullable<MEstimator>, INullable<Segment3D>, INullable<Segment3D>, INullable<Segment3D>, NullableRef<List<NullableRef<SurfaceStripe1D>>>, NullableRef<List<Point3D>>, NullableRef<NullableRef<Profile>>, NullableValue<SegmentFittingField>, NullableRef<SafeList<Profile>>, NullableRef<SafeList<Profile>>, IList<Segment2D>, IList<Rectangle2D>)