フィルターのクリア

i want to find x axis and y axis values of an histograms in matlab.

3 ビュー (過去 30 日間)
sweta arya
sweta arya 2016 年 1 月 8 日
回答済み: Image Analyst 2016 年 1 月 9 日
i want to find x axis and y axis values of an histograms in matlab.
  3 件のコメント
sweta arya
sweta arya 2016 年 1 月 9 日
i want to calculate entropy of histogram for that i need to find total number of pixels at given value of x-axis.
Walter Roberson
Walter Roberson 2016 年 1 月 9 日
What form is your histogram in? How did you create it?

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

回答 (2 件)

Star Strider
Star Strider 2016 年 1 月 8 日
That does not appear to be possible (at least in R2015b). I would use histcounts (or histc) and then do a bar plot.
  1 件のコメント
sweta arya
sweta arya 2016 年 1 月 9 日
i did this too,but i need to find total no of pixels at particular value of x-axis,so that i can calculate entropy from histogram using programming rather than manually.

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


Image Analyst
Image Analyst 2016 年 1 月 9 日
If you want the entropy, why not just simply use the entropy function
theEntropy = entropy(grayImage);

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by