|
ITERATION 2 |
CENTROID 1 (Ct11)-Red |
CENTROID 2 (Ct21)-Blue |
CENTROID 3 (Ct31)-Yellow |
X |
Y |
X |
Y |
X |
Y |
5 |
7 |
3 |
8 |
1 |
3 |
5 |
9 |
2 |
7 |
1 |
2 |
|
|
2 |
9 |
|
|
Mean Coordinate |
5 |
8 |
2.3 |
8 |
1 |
1.5 |
Mean coordinates are re-computed to determine if current centroid position has shifted from previous position |