coordinates from in the image
显示 更早的评论
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
2020-7-8
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Interactions, Camera Views, and Lighting 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!