coordinates from in the image

1 次查看(过去 30 天)
tedkim
tedkim 2020-7-8
回答: KSSV 2020-7-8
Hi, I am trying to find a coordinate of the end of the beam, setting the origin at the rear plane of the beam. (example image shown below)
Is there any way to get an actual (real scale) position coordinate from the image?
I assume it's just a simple geometry, but I want to generate some algorithms by using matlab, since I will need to do this alot.

回答(1 个)

KSSV
KSSV 2020-7-8
Read about ginput, getpts. You can get the points by clocking with mouse, the points you get will be w.r.t to the indices/ dimensions of the image.

Community Treasure Hunt

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

Start Hunting!

Translated by