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

FIS.FisFilter_FitArcToRidges Method

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void FisFilter_FitArcToRidges
(
	FilNet.ArcFittingState ioState,
	FilNet.Image inImage,
	FilNet.ArcFittingField inFittingField,
	FilNet.CoordinateSystem2D? inFittingFieldAlignment,
	int inScanCount,
	int inScanWidth,
	FilNet.InterpolationMethod inImageInterpolation,
	FilNet.RidgeScanParams inRidgeScanParams,
	FilNet.Selection inRidgeSelection,
	FilNet.LocalBlindness? inLocalBlindness,
	float inMaxIncompleteness,
	FilNet.CircleFittingMethod inFittingMethod,
	FilNet.MEstimator? inOutlierSuppression,
	out FilNet.Arc2D? outArc,
	NullableRef<List<FilNet.Ridge1D?>> outRidges,
	NullableRef<NullableRef<FilNet.Profile>> outDeviationProfile,
	INullable<FilNet.ArcFittingField> outAlignedFittingField,
	NullableRef<List<FilNet.Point2D>> outInliers,
	IList<FilNet.Segment2D> diagScanSegments,
	IList<FilNet.Rectangle2D> diagSamplingAreas,
	IList<FilNet.Profile> diagBrightnessProfiles,
	IList<FilNet.Profile> diagResponseProfiles
)

Parameters

Name Type Range Default Description
ioStateFilNet.ArcFittingState
inImageFilNet.ImageInput image to fit arc to
inFittingFieldFilNet.ArcFittingFieldArc fitting field
inFittingFieldAlignmentFilNet.CoordinateSystem2D?Adjusts the fitting field to the position of the inspected object
inScanCountint<3, INF>10The number of points that will be searched to estimate the position of the arc
inScanWidthint<1, INF>5The width of each scan field (in pixels)
inImageInterpolationFilNet.InterpolationMethodBilinearInterpolation method used for extraction of image pixel values
inRidgeScanParamsFilNet.RidgeScanParamsRidgeScanParams ( ProfileInterpolation: Quadratic4 SmoothingStdDev: 1.0f RidgeWidth: 5 RidgeMargin: 2 MinMagnitude: 5.0f RidgePolarity: Dark )Parameters controlling the ridge extraction process
inRidgeSelectionFilNet.SelectionSelection mode of ridges
inLocalBlindnessFilNet.LocalBlindness?Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges
inMaxIncompletenessfloat<0.0f, 0.999f>0.1fMaximal fraction of ridge points not found
inFittingMethodFilNet.CircleFittingMethodAlgebraicTaubinMethod used to fit an arc
inOutlierSuppressionFilNet.MEstimator?Selects a method for ignoring incorrectly detected points
outArcFilNet.Arc2D?Fitted arc or nothing if the fitting fails
outRidgesFilNet.NullableRef<System.Collections.Generic.List<FilNet.Ridge1D?>>Found ridges
outDeviationProfileFilNet.NullableRef<FilNet.NullableRef<FilNet.Profile>>Profile of distances between the actual arc points and the corresponding reference arc points
outAlignedFittingFieldFilNet.INullable<FilNet.ArcFittingField>Fitting field used; in the image coordinate system
outInliersFilNet.NullableRef<System.Collections.Generic.List<FilNet.Point2D>>Points matching the fitting Arc
diagScanSegmentsSystem.Collections.Generic.IList<FilNet.Segment2D>Segments along which the scans were run
diagSamplingAreasSystem.Collections.Generic.IList<FilNet.Rectangle2D>Areas from which the input image is sampled
diagBrightnessProfilesSystem.Collections.Generic.IList<FilNet.Profile>Extracted image profiles
diagResponseProfilesSystem.Collections.Generic.IList<FilNet.Profile>Profiles of the ridge operator response

Function Overrides

See also