Fuzzy c-means thresholding
FCMTHRESH Thresholding by 3-class fuzzy c-means clustering
[bw,level]=fcmthresh(IM,sw) outputs the binary image bw and threshold level of image IM using a 3-class fuzzy c-means clustering. It often works better than Otsu's methold which outputs larger or smaller threshold on fluorescence images.
sw is 0 or 1, a switch of cut-off position.
sw=0, cut between the small and middle class
sw=1, cut between the middle and large class
Contributed by Guanglei Xiong (xgl99@mails.tsinghua.edu.cn)
at Tsinghua University, Beijing, China.
Inspired by Xiaobo Zhou
at Harvard Medical School.
Citation pour cette source
Guanglei Xiong (2025). Fuzzy c-means thresholding (https://www.mathworks.com/matlabcentral/fileexchange/8351-fuzzy-c-means-thresholding), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- Control Systems > Fuzzy Logic Toolbox >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Image Thresholding >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
fcmthresh/
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | BSD
|