hue histogram color map
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi
I am trying to plot the hue histogram of my image. It currently looks like this.
I would like it to look like the one below.
Or at least just the bar below should be in color. I tried changing the colormap option but nothing changed. Help thanks !
0 comentarios
Respuestas (2)
Walter Roberson
el 26 de En. de 2016
[ind, map] = rgb2ind(YourRGBImage);
imhist(ind, map)
4 comentarios
Walter Roberson
el 27 de En. de 2016
I don't think you can do it with imhist() then. You will probably need to bar() each different bar separately.
Image Analyst
el 27 de En. de 2016
See attached demo where I change each bar individually. Feel free to adapt.
0 comentarios
Ver también
Categorías
Más información sobre Histograms en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!