How do I find the X and Y coordinates of a particular pixel in an image?

2 vues (au cours des 30 derniers jours)
NANDITA Joshi
NANDITA Joshi le 26 Fév 2014
Commenté : Rajiv Ghosh-Roy le 27 Fév 2014
I want to perform some transformations on the pixel coordinates.

Réponses (1)

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy le 26 Fév 2014
If you want to do it interactively (e.g. with a mouse), use the function ginput.
  2 commentaires
NANDITA Joshi
NANDITA Joshi le 26 Fév 2014
I don't want to do it with a mouse. I need to use that value later in the program.
Rajiv Ghosh-Roy
Rajiv Ghosh-Roy le 27 Fév 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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by