How to pixel coordinate for a given image?

I have an image. I want to get the pixel coordinates for the image. How can i get that?

 Accepted Answer

The coordinate is simply the row and column. Let's say you want the intensity of an image in the 3rd row and 7th column of the image, then simply do
pixelValue = yourImage(3, 7);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!