i need the code for local maximum and local minimum of histogram for the gray scale and color image

3 ビュー (過去 30 日間)
please help me

採用された回答

Walter Roberson
Walter Roberson 2015 年 12 月 13 日
My crystal ball is predicting that you are doing histogram equalization and that what you need is mode after quantizing the values.
  3 件のコメント
Image Analyst
Image Analyst 2016 年 1 月 18 日
Then
[peakValues, peakIndexes] = findpeaks(counts);
[~, valleyIndexes] = findpeaks(-counts);
valleyValues = counts(valleyIndexes);
should do it for you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Filtering and Enhancement についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by