getting the coordinate on an image

조회 수: 4 (최근 30일)
Nora Khaled
Nora Khaled 2017년 8월 20일
댓글: KSSV 2017년 8월 20일
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?

답변 (1개)

KSSV
KSSV 2017년 8월 20일
Read about getpts and ginput
  댓글 수: 2
Nora Khaled
Nora Khaled 2017년 8월 20일
thank you, I was able to do it with the getpts
KSSV
KSSV 2017년 8월 20일
Thank you is accepting the answer...:)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by