mkimsm/3DTracker — pull request #6 by JFank (2012-05-29 02:57:51+00:00)
Title: Jftracker

Hey so I finished the best line fit to an extent. The program that I have takes the list of the arrays that the pattern recognition outputs as R and plugs it into a number of equations from this website: http://www.scribd.com/doc/31477970/Regressions-et-trajectoires-3D

The issue is that this calculation spits out to points, the mean of the data and a data point that gives the correct slope/direction of the best fit line. The problem is that the line it calculates doesn't start at the beginning of the data and end at the end. I talked to Dr. Klay about it and she said that you have to shift the plane that the line intersects to the end of the data on both ends, but in all honesty I just don't understand the math.

She said that if this is as far as I got then it would be okay even though it would be cool to have the line fit the data perfect. If any of you understand the math let me know and I can try to implement it. Let me know if you want to see an example of what it does.