I would like to calculate the angle between any two points in an image in MATLAB. What I wish to do is to select a point and then create a vector by dragging the cursor till a centre point (intersection point) from which the pointer will be dragged to the second point? When is the mouse pointer released the angle between the vectors needs to be displayed? Can you please suggest how should I go about in MATLAB.
Any help will be really appreciated.
Regards Parth