Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
sweta arya
sweta arya el 8 de En. de 2016
Respondida: Image Analyst el 9 de En. de 2016
i want to find x axis and y axis values of an histograms in matlab.
  3 comentarios
sweta arya
sweta arya el 9 de En. de 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 el 9 de En. de 2016
What form is your histogram in? How did you create it?

Iniciar sesión para comentar.

Respuestas (2)

Star Strider
Star Strider el 8 de En. de 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 comentario
sweta arya
sweta arya el 9 de En. de 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.

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 9 de En. de 2016
If you want the entropy, why not just simply use the entropy function
theEntropy = entropy(grayImage);

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by