How to smooth a histogram using a Gaussian window of size m×1?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, i have extract the red channel of an image and here is the histogram of the image:
How can I smooth the histogram using a Gaussian window of size m×1?
(FYI, a threshold value will then be formulated using this smoothed histogram.)
Thanks in advance.
0 Commenti
Risposte (1)
Image Analyst
il 5 Giu 2022
You can try movmean:
windowWidth = 7; % Whatever you want.
counts = movmean(counts, windowWidth);
0 Commenti
Vedere anche
Categorie
Scopri di più su Histograms in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!