views:

58

answers:

0

Hi

Is there an implementation of dendrogram in C that can be used with an openCV matrix? If not, is there other implementation of a dendrogram that I can create a distance matrix to? Maybe openCV have anther algorithm that I can use?

I've found an scipy-cluster in python which works with numpy. It says that the core is written in C so maybe it's possible to use it with openCV

http://code.google.com/p/scipy-cluster/

I have a distance matrix calculated by some similarity function between objects. I need to reorder elements so similar elements are closer together. I don't need to plot the dendrogram. A flat dendrogram will be a good start.

Thanks