#ifndef _CV_LINE_FITTER
#define _CV_LINE_FITTER


#include "ofMain.h"

#include "ofPoint2f.h"
#include "Matrix.h"

//=================================================================================
class cvLineFitter {

	public:

		void fitLine(ofPoint2f * pts, int nPts, float &slope, float &intercept, float &chiSqr);
		
		
};







#endif 
























