Find distances in image

3 views (last 30 days)
Evelynn Tan
Evelynn Tan on 19 Dec 2018
Answered: Rahul punk on 15 Feb 2019
I have already found the distance between the centroid to A as well as B, and I have tried couple of ways to find C and D but still can't get it. How can do this? I really need help on this. Thank you.
  5 Comments
Evelynn Tan
Evelynn Tan on 19 Dec 2018
Thanks! But i have another problem, the magenta line can show the result on the distance plot but in the binary image, it overlapped with the yellow line. How can I show it like point D above?
Image Analyst
Image Analyst on 19 Dec 2018
Yes. Just use plot() like the others. You can help us to help you if you upload your original binary image (not a screenshot again) and the code you used.

Sign in to comment.

Answers (1)

Rahul punk
Rahul punk on 15 Feb 2019

Community Treasure Hunt

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

Start Hunting!