getting the coordinate on an image

3 visualizzazioni (ultimi 30 giorni)
Nora Khaled
Nora Khaled il 20 Ago 2017
Commentato: KSSV il 20 Ago 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?

Risposte (1)

KSSV
KSSV il 20 Ago 2017
Read about getpts and ginput
  2 Commenti
Nora Khaled
Nora Khaled il 20 Ago 2017
thank you, I was able to do it with the getpts
KSSV
KSSV il 20 Ago 2017
Thank you is accepting the answer...:)

Accedi per commentare.

Categorie

Scopri di più su Data Exploration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by