You are here: Start » AVL.NET » AVL.FitCircleToRidges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Circle2D?, AvlNet.Point2D[], AvlNet.Profile, float[], AvlNet.Profile[], AvlNet.Profile[])

AVL.FitCircleToRidges(AvlNet.Image, AvlNet.CircleFittingMap, AvlNet.RidgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Circle2D?, AvlNet.Point2D[], AvlNet.Profile, float[], AvlNet.Profile[], AvlNet.Profile[])

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,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	out AvlNet.Circle2D? outCircle,
	out AvlNet.Point2D[] outRidgePoints,
	out AvlNet.Profile outDeviationProfile,
	out float[] outRidgeMagnitudes,
	out AvlNet.Profile[] diagBrightnessProfiles,
	out AvlNet.Profile[] diagResponseProfiles
)

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
inMaxIncompleteness
Type: System.Single
Maximal fraction of ridge points not found
inFittingMethod
Type: AvlNet.CircleFittingMethod
Method used to fit a circle
outCircle
Type: System.Nullable<AvlNet.Circle2D>
Fitted circle or nothing if the fitting fails
outRidgePoints
Type: AvlNet.Point2D
outDeviationProfile
Type: AvlNet.Profile
outRidgeMagnitudes
Type: System.Single
diagBrightnessProfiles
Type: AvlNet.Profile
Extracted image profiles
diagResponseProfiles
Type: AvlNet.Profile
Profiles of the ridge operator response

Remarks

See full override for more details.

See also