Histogram Gaussian Smooth

This function implements the gaussian smooth of any size for an histogram ...
6.3K 次下载
更新时间 2005/5/2

无许可证

This function implements the gaussian smooth for an histogram an then it can be used to find the thershold. It uses the COUNTS variable that isreturned by the imhist funcion an w is the size of the window that you want to use. It has to be a odd number. if not, the funcion will not run properly.

Typical application:
I=imread('blood1','tiff');
[COUNTS,x]=imhist(I);
COUNTSn=suavgausiano(COUNTS,3);

Where COUNTSn is the new COUNTS variable that is smoothed using the suavgausiano function with a window of size 3. To run this function you wont need the Image Processing Toolbox, but you'll need it when you want to read the image and try to get its histogram. I hope this code can help you.

引用格式

Ivan Dario Castano Perez (2025). Histogram Gaussian Smooth (https://www.mathworks.com/matlabcentral/fileexchange/7556-histogram-gaussian-smooth), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R11
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0