How can I find the max distance in multiple points

asked 2016-08-08 00:41:23 -0600

canius gravatar image

How can I find the max distance in multiple points? The result should be including the two points and the distance. Is there a function to do this in opencv OR I have to implement one by my own?

edit retag flag offensive close merge delete

Comments

can you try to improve your question ? the result of what ?

it's very unclear, what you're talking about.

berak gravatar imageberak ( 2016-08-08 01:32:41 -0600 )edit

I am guessing you are having a set of points. From those set, take one point, calculate the Euclidean distance to every other point and do this for every point out there. Then take the max value of those distances and find the two points leading to that. Not that difficult right? But it indeed will need some programming of yourself!

StevenPuttemans gravatar imageStevenPuttemans ( 2016-08-08 06:04:07 -0600 )edit