how can i calculate distance between two points on an image

3 visualizaciones (últimos 30 días)
Saliha
Saliha el 9 de En. de 2014
Comentada: Walter Roberson el 16 de Feb. de 2017
hallow
i want to calculate distance between two point on a body image. and to measure angle between two lines on an image............

Respuestas (2)

Image Analyst
Image Analyst el 9 de En. de 2014
Use imdistline() to do it interactively. Or use hypot() or sqrt() if you know the coordinates.
  43 comentarios
Walter Roberson
Walter Roberson el 25 de En. de 2014
ginput(3) would allow the user to click on one limb, then click on the join at the body, and then click on the other limb; with the points and the order known, calculating the angle becomes a matter of applying the trig formula I gave earlier.
Saliha
Saliha el 25 de En. de 2014
thanx............. let me try it...

Iniciar sesión para comentar.


Usman Siddique
Usman Siddique el 16 de Feb. de 2017
is u are still working on that project ?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by