ISODATA procedure, part 2 — iteration and termination.
- Each new iteration: compare every pixel to the updated means, reassign to the
closest cluster.
- Stop condition — whichever comes first:
- Convergence threshold T is reached (few pixels moving classes).
- Max iterations M is reached.