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

we find the max value of an image by max function but i does not know how to find the position of maximum value.

 採用された回答

Pierre Benoit
Pierre Benoit 2014 年 9 月 12 日
編集済み: Pierre Benoit 2014 年 9 月 12 日

0 投票

[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 .

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

タグ

タグが未入力です。

質問済み:

2014 年 9 月 12 日

編集済み:

2014 年 9 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by