Changing width of imhist bins
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
chess
am 18 Jul. 2014
Kommentiert: Image Analyst
am 20 Jul. 2014
Hi After issuing histeq my histogram is very spread. it is more like bunch of lines with very small width. I would like to know is there any way to increase width of each bins in histogram command imhist.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 18 Jul. 2014
The second argument is the number of bins, which essentially means the bin width.
2 Kommentare
Image Analyst
am 20 Jul. 2014
Get your histogram with imhist()
[counts, grayLevels] = imhist(grayImage, 256);
Then plot with thick bars (width of 1)
bar(grayLevels, counts, 'BarWidth', 1);
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!