getting the coordinate on an image

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?

Respuestas (1)

KSSV
KSSV el 20 de Ag. de 2017

0 votos

Read about getpts and ginput

2 comentarios

Nora Khaled
Nora Khaled el 20 de Ag. de 2017
thank you, I was able to do it with the getpts
KSSV
KSSV el 20 de Ag. de 2017
Thank you is accepting the answer...:)

Iniciar sesión para comentar.

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Preguntada:

el 20 de Ag. de 2017

Comentada:

el 20 de Ag. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by