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

0 votes

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.

Question posée :

le 20 Août 2017

Commenté :

le 20 Août 2017

Community Treasure Hunt

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

Start Hunting!

Translated by