Here’s sample of Spectral Clustering on OpenCV.

Standard

Here’s a sample of Spectral Clustering code on C++ and OpenCV. It’s basically very similar to the python version that I posted earlier: https://subokita.com/2014/03/04/k-means-and-spectral-clusterings/

Basically this is just a proof of concept that it could be done. It’s still terribly slow when it comes to eigendecomposing a large Laplacian matrix.Screen Shot 2014-03-31 at 16.22.12 Screen Shot 2014-03-31 at 16.22.58

You can get the code here: https://github.com/subokita/Sandbox/blob/master/Spectral%20Clustering%20in%20OpenCV/Spectral%20Clustering%20in%20OpenCV/main.cpp

Advertisements

2 thoughts on “Here’s sample of Spectral Clustering on OpenCV.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s