How do I find the X and Y coordinates of a particular pixel in an image?
Show older comments
I want to perform some transformations on the pixel coordinates.
Answers (1)
Rajiv Ghosh-Roy
on 26 Feb 2014
0 votes
If you want to do it interactively (e.g. with a mouse), use the function ginput.
2 Comments
NANDITA Joshi
on 26 Feb 2014
Rajiv Ghosh-Roy
on 27 Feb 2014
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?
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!