Histogram Gaussian Smooth

This function implements the gaussian smooth of any size for an histogram ...
6.3K Downloads
Updated 2 May 2005

No License

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.

Cite As

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

MATLAB Release Compatibility
Created with R11
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0