You are here: Start » FIL.NET » FIS.FisFilter_FitCircleToRidges3D Method

FIS.FisFilter_FitCircleToRidges3D Method

Performs a series of 1D ridge detections in 3D and finds a circle that best matches the detected points.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FisFilter_FitCircleToRidges3D
(
	FilNet.CircleFitting3DState ioState,
	FilNet.Surface inSurface,
	FilNet.CircleFittingField inFittingField,
	int inScanCount,
	int inScanWidth,
	FilNet.InterpolationMethod inSurfaceInterpolation,
	FilNet.RidgeScanParams3D inRidgeScanParams,
	FilNet.Selection inRidgeSelection,
	float inMaxIncompleteness,
	FilNet.CircleFittingMethod inFittingMethod,
	INullable<FilNet.Circle3D> outCircle,
	NullableRef<List<FilNet.SurfaceRidge1D?>> outRidges,
	NullableRef<NullableRef<FilNet.Profile>> outDeviationProfile,
	NullableValue<FilNet.CircleFittingField> outAlignedFittingField,
	NullableRef<List<FilNet.Point3D>> outInliers
)

Parameters

Name Type Range Default Description
ioStateFilNet.CircleFitting3DState
inSurfaceFilNet.SurfaceSurface to fit the circle to.
inFittingFieldFilNet.CircleFittingFieldCircle fitting field.
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the circle. Default value: 10.
inScanWidthint<1, INF>5The width of each scan field (in pixels). Default value: 5.
inSurfaceInterpolationFilNet.InterpolationMethodBilinearInterpolation method used for extraction of surface points. Default value: Bilinear.
inRidgeScanParamsFilNet.RidgeScanParams3DRidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low )Parameters controlling the ridge extraction process. Default value: RidgeScanParams3D ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 0.6f RidgeWidth: 5.0f RidgeMargin: 2.0f RidgeOperator: Minimum MinMagnitude: 5.0f RidgePolarity: Low ).
inRidgeSelectionFilNet.SelectionSelection mode of ridges.
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found. Default value: 0.1f.
inFittingMethodFilNet.CircleFittingMethodAlgebraicTaubinMethod used to fit a circle. Default value: AlgebraicTaubin.
outCircleFilNet.INullable<FilNet.Circle3D>Fitted circle or nothing if the fitting fails. This parameter cannot be null.
outRidgesFilNet.NullableRef<System.Collections.Generic.List<FilNet.SurfaceRidge1D?>>Found ridges. Can be null to skip this parameter calculation.
outDeviationProfileFilNet.NullableRef<FilNet.NullableRef<FilNet.Profile>>Profile of distances between the actual circle points and the corresponding reference circle points. Can be null to skip this parameter calculation.
outAlignedFittingFieldFilNet.NullableValue<FilNet.CircleFittingField>Fitting field used; in the image coordinate system. Can be null to skip this parameter calculation.
outInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point3D>>Points matching the fitting Circle. Can be null to skip this parameter calculation.

Function Overrides

See also