Changing width of imhist bins
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
chess
il 18 Lug 2014
Commentato: Image Analyst
il 20 Lug 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 Commenti
Risposta accettata
Image Analyst
il 18 Lug 2014
The second argument is the number of bins, which essentially means the bin width.
2 Commenti
Image Analyst
il 20 Lug 2014
Get your histogram with imhist()
[counts, grayLevels] = imhist(grayImage, 256);
Then plot with thick bars (width of 1)
bar(grayLevels, counts, 'BarWidth', 1);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Segmentation and Analysis in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!