getting the coordinate on an image

1 回表示 (過去 30 日間)
Nora Khaled
Nora Khaled 2017 年 8 月 20 日
コメント済み: KSSV 2017 年 8 月 20 日
Hi,
I want to get the coordination (x,y) on an image when clicked. I use the
imshow(I);
to display the image.
is this possible ? if yes what code/function I should use?

回答 (1 件)

KSSV
KSSV 2017 年 8 月 20 日
Read about getpts and ginput
  2 件のコメント
Nora Khaled
Nora Khaled 2017 年 8 月 20 日
thank you, I was able to do it with the getpts
KSSV
KSSV 2017 年 8 月 20 日
Thank you is accepting the answer...:)

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by