Examples of fitting a line segment to a set of (2D or 3D) points. ... 456-457, 2008. compile this g++ `pkg-config --cflags --libs opencv` lineFittingTest.cpp -o ...
www.cs.cmu.edu