How do I find the X and Y coordinates of a particular pixel in an image?

답변 (1개)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy 2014년 2월 26일

0 개 추천

If you want to do it interactively (e.g. with a mouse), use the function ginput.

댓글 수: 2

I don't want to do it with a mouse. I need to use that value later in the program.
In that case, how would you determine which one the "particular pixel" is? Are the coordinates just the position within the image, or are there other coordinates you are trying to correlate to?

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

카테고리

도움말 센터File Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

질문:

2014년 2월 26일

댓글:

2014년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by