getting the coordinate on an image

3 visualizaciones (últimos 30 días)
Nora Khaled
Nora Khaled el 20 de Ag. de 2017
Comentada: KSSV el 20 de Ag. de 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?

Respuestas (1)

KSSV
KSSV el 20 de Ag. de 2017
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 Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by