getting the coordinate on an image

3 vues (au cours des 30 derniers jours)
Nora Khaled
Nora Khaled le 20 Août 2017
Commenté : KSSV le 20 Août 2017
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?

Réponses (1)

KSSV
KSSV le 20 Août 2017
Read about getpts and ginput
  2 commentaires
Nora Khaled
Nora Khaled le 20 Août 2017
thank you, I was able to do it with the getpts
KSSV
KSSV le 20 Août 2017
Thank you is accepting the answer...:)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Exploration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by