This code uses two various fuzzy c-means algorithms.
- Classical FCM
- Enhanced FCM
Algorithm: FCM or EnFCM
Number of bits of input images: 8
Number of clusters: 4
Fuzziness degree: 2
Max number of iterations: 100
Threshold to check convergence 'Epsilon': 0.05
Plotting results
python3 EnFCM.py OR python3 FCM.py
- If you want to change the image you can edit one line of code in each document.
Algorithm | Output |
---|---|
FCM | |
Enhanced FCM |