How do i calculate the spread of a cluster of points???

asked 2015-04-17 10:50:50 -0600

215 gravatar image

How do I calculate spread each point is from each other.. It has to be added as a feature to tell the program when it has to perform the goodFeatureToTrack Function..

The idea is when the points are too far away from each other I will empty my vector of points And start all over..

edit retag flag offensive close merge delete

Comments

2

Could you show some examples? A first guess could be the variance over the distances from the points to the center of the cluster.

FooBar gravatar imageFooBar ( 2015-04-17 11:11:31 -0600 )edit

Well.. If You test the lkdemo.cpp within the sample set You Will know the code.. And see how the cluster of points Would look like..

215 gravatar image215 ( 2015-04-17 15:00:58 -0600 )edit