#include <math.h>
#include <assert.h>
#include "kmeantree.h"
#include <string.h>
#include <iostream>
#include <stdlib.h>
#include <map>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <fcntl.h>
#include <string>
#include <highgui.h>
#include <sstream>
Go to the source code of this file.
Functions | |
void | save_node_images (string prefix, kmean_tree::node_t *node) |
template<class T > | |
string | ToString (const T &arg) |
void | save_patch (const string &name, float *f) |
void save_node_images | ( | string | prefix, | |
kmean_tree::node_t * | node | |||
) |
Definition at line 698 of file kmeantree.cpp.
References kmean_tree::node_t::clusters, kmean_tree::node_t::data, kmean_tree::mean_t::mean, kmean_tree::node_t::mean, kmean_tree::nb_branches, save_patch(), and ToString().
void save_patch | ( | const string & | name, | |
float * | f | |||
) |
string ToString | ( | const T & | arg | ) | [inline] |
Definition at line 677 of file kmeantree.cpp.