How to find the coordinates of to points in a image?

2 views (last 30 days)
I have two points in a image. I want to fix coordinates of the two points and convert them into polar coordinates. My intention is to find the angle made by the vector joining these two points.
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 15 Nov 2013
What do you mean by : to fix coordinates of the two points

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 15 Nov 2013
angle = atan2d((y2-y1)/(x2-x1));
  3 Comments
Image Analyst
Image Analyst on 16 Nov 2013
You said "I have two points in a image" so I assume that you already specified them in some way that you did not tell us about.

Sign in to comment.

Categories

Find more on Visual Exploration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!