Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
we find the max value of an image by max function but i does not know how to find the position of maximum value.

Risposta accettata

Pierre Benoit
Pierre Benoit il 12 Set 2014
Modificato: Pierre Benoit il 12 Set 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 .

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by