How to find the position of the maximum values in an image?

10 vues (au cours des 30 derniers jours)
sachin
sachin le 12 Sep 2014
Modifié(e) : Pierre Benoit le 12 Sep 2014
we find the max value of an image by max function but i does not know how to find the position of maximum value.

Réponse acceptée

Pierre Benoit
Pierre Benoit le 12 Sep 2014
Modifié(e) : Pierre Benoit le 12 Sep 2014
[max_value max_idx] = max(A);
The position is in the second argument, max_idx
doc max
You should try learning the basics of Matlab with this link , it will be easier than to ask every time you get stuck by something which is written in the documentation .

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by