How do I find the X and Y coordinates of a particular pixel in an image?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to perform some transformations on the pixel coordinates.
댓글 수: 0
답변 (1개)
Rajiv Ghosh-Roy
2014년 2월 26일
If you want to do it interactively (e.g. with a mouse), use the function ginput.
댓글 수: 2
Rajiv Ghosh-Roy
2014년 2월 27일
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?
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!