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

 Akzeptierte Antwort

Image Analyst
Image Analyst am 21 Apr. 2017

0 Stimmen

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by