Algorithm 1 FCM for Segmentation. |
-
1.
The fuzzy membership matrix in Equation ( 7) is randomly initialised by satisfying the constraint.
-
2.
Calculate centroids by using Equation (8).
-
3.
By using Equation (6), calculate the dissimilarity between data points and centroids and continue until its improvement over previous iteration is below a threshold.
-
4.
Calculate new fuzzy membership matrix by using Equation (7) and proceed to step 2.
|