iRoCS Toolbox  1.1.0
Namespaces | Functions
kmeans-inl.hh File Reference
#include <config.hh>
#include "kmeans.hh"
#include <time.h>
#include <blitz/array.h>
#include <vector>
#include <set>
#include "segmentation_error.hh"
Include dependency graph for kmeans-inl.hh:

Go to the source code of this file.

Namespaces

 segmentation
 

Functions

template<class DataT >
double segmentation::kmeans (const unsigned int k, const blitz::Array< DataT, 2 > &points, blitz::Array< DataT, 2 > &means, std::vector< int > &labels)