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!