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?

 採用された回答

Image Analyst
Image Analyst 2017 年 4 月 21 日

0 投票

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);

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by