You are here: Start » AVL.NET » AVL.FitArcToEdges(AvlNet.Image, AvlNet.ArcFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Arc2D?, AvlNet.Profile[], AvlNet.Profile[])

AVL.FitArcToEdges(AvlNet.Image, AvlNet.ArcFittingMap, AvlNet.EdgeScanParams, AvlNet.Selection, float, AvlNet.CircleFittingMethod, AvlNet.Arc2D?, AvlNet.Profile[], AvlNet.Profile[])

Performs a series of 1D edge detections and finds an arc that best matches the detected points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitArcToEdges(
	AvlNet.Image inImage,
	AvlNet.ArcFittingMap inFittingMap,
	AvlNet.EdgeScanParams inEdgeScanParams,
	AvlNet.Selection inEdgeSelection,
	float inMaxIncompleteness,
	AvlNet.CircleFittingMethod inFittingMethod,
	out AvlNet.Arc2D? outArc,
	out AvlNet.Profile[] diagBrightnessProfiles,
	out AvlNet.Profile[] diagResponseProfiles
)

Parameters

inImage
Type: AvlNet.Image
Input image to fit arc to
inFittingMap
Type: AvlNet.ArcFittingMap
Input fitting map
inEdgeScanParams
Type: AvlNet.EdgeScanParams
Parameters controlling the edge extraction process
inEdgeSelection
Type: AvlNet.Selection
Selection mode of edges
inMaxIncompleteness
Type: System.Single
Maximal fraction of edge points not found
inFittingMethod
Type: AvlNet.CircleFittingMethod
Method used to fit an arc
outArc
Type: System.Nullable<AvlNet.Arc2D>
Fitted arc or nothing if the fitting fails
diagBrightnessProfiles
Type: AvlNet.Profile
Extracted image profiles
diagResponseProfiles
Type: AvlNet.Profile
Profiles of the edge (derivative) operator response

See also