You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Histogram Gaussian Smooth (https://www.mathworks.com/matlabcentral/fileexchange/7556-histogram-gaussian-smooth), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (684 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
