Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
sweta arya
sweta arya le 8 Jan 2016
i want to find x axis and y axis values of an histograms in matlab.
  3 commentaires
sweta arya
sweta arya le 9 Jan 2016
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 le 9 Jan 2016
What form is your histogram in? How did you create it?

Connectez-vous pour commenter.

Réponses (2)

Star Strider
Star Strider le 8 Jan 2016
That does not appear to be possible (at least in R2015b). I would use histcounts (or histc) and then do a bar plot.
  1 commentaire
sweta arya
sweta arya le 9 Jan 2016
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.

Connectez-vous pour commenter.


Image Analyst
Image Analyst le 9 Jan 2016
If you want the entropy, why not just simply use the entropy function
theEntropy = entropy(grayImage);

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by