Emgu CV Library Documentation
Line2DFitting Method (points, type, normalizedDirection, aPointOnLine)
NamespacesEmgu.CVPointCollectionLine2DFitting(array<PointF>[]()[], DIST_TYPE, PointF%, PointF%)

www.emgu.com/wiki
Fit a line to the points collection
Declaration Syntax
C#Visual BasicVisual C++
public static void Line2DFitting(
	PointF[] points,
	DIST_TYPE type,
	out PointF normalizedDirection,
	out PointF aPointOnLine
)
Public Shared Sub Line2DFitting ( _
	points As PointF(), _
	type As DIST_TYPE, _
	<OutAttribute> ByRef normalizedDirection As PointF, _
	<OutAttribute> ByRef aPointOnLine As PointF _
)
public:
static void Line2DFitting(
	array<PointF>^ points, 
	DIST_TYPE type, 
	[OutAttribute] PointF% normalizedDirection, 
	[OutAttribute] PointF% aPointOnLine
)
Parameters
points (array< PointF >[]()[])
The points to be fitted
type (DIST_TYPE)
The type of the fitting
normalizedDirection ( PointF %)
The normalized direction of the fitted line
aPointOnLine ( PointF %)
A point on the fitted line

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)