Ask Your Question

Revision history [back]

May be you could ask Will Stewart to share his solution (http://answers.opencv.org/question/27897/creating-regions-of-interest-roi-by-clustering/) because I think that can be applied to your problem (I mean partitioned, non-hierarchical agglomerative clustering approach).