필터 지우기
필터 지우기

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 CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by