partition-methods function

Partition an image into a set of disjoint clusters