You are here: Start » AVL.NET » AVL.FitCircleToRidges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.CircleFittingMethod, AvlNet.MEstimator?, AvlNet.Circle2D?)

AVL.FitCircleToRidges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, AvlNet.LocalBlindness, float, AvlNet.CircleFittingMethod, AvlNet.MEstimator?, AvlNet.Circle2D?)

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitCircleToRidges(
	AvlNet.Image inImage,
	AvlNet.CircleFittingMap inFittingMap,
	AvlNet.RidgeScanParams inRidgeScanParams,
	AvlNet.Selection inRidgeSelection,
	AvlNet.LocalBlindness inLocalBlindness,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Circle2D? outCircle
)

Parameters

inImage
Type: AvlNet.Image
Image to fit the circle to
inFittingMap
Type: AvlNet.CircleFittingMap
Input fitting map
inRidgeScanParams
Type: AvlNet.RidgeScanParams
Parameters controlling the ridge extraction process
inRidgeSelection
Type: AvlNet.Selection
Selection mode of ridges
inLocalBlindness
Type: AvlNet.LocalBlindness
Defines conditions in which weaker ridges can be detected in the vicinity of stronger ridges, or null.
inMaxIncompleteness
Type: System.Single
Maximal fraction of ridge points not found
inFittingMethod
Type: AvlNet.CircleFittingMethod
Method used to fit a circle
inOutlierSuppression
Type: System.Nullable<AvlNet.MEstimator>
Selects a method for ignoring incorrectly detected points, or null.
outCircle
Type: System.Nullable<AvlNet.Circle2D>
Fitted circle or nothing if the fitting fails

See also