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?

 Réponse acceptée

Image Analyst
Image Analyst le 21 Avr 2017
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);

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by