#include <cvaux.hpp>
List of all members.
Public Member Functions |
| RandomizedTree () |
| ~RandomizedTree () |
void | train (std::vector< BaseKeypoint > const &base_set, cv::RNG &rng, int depth, int views, size_t reduced_num_dim, int num_quant_bits) |
void | train (std::vector< BaseKeypoint > const &base_set, cv::RNG &rng, PatchGenerator &make_patch, int depth, int views, size_t reduced_num_dim, int num_quant_bits) |
float * | getPosterior (uchar *patch_data) |
const float * | getPosterior (uchar *patch_data) const |
uchar * | getPosterior2 (uchar *patch_data) |
void | read (const char *file_name, int num_quant_bits) |
void | read (std::istream &is, int num_quant_bits) |
void | write (const char *file_name) const |
void | write (std::ostream &os) const |
int | classes () |
int | depth () |
void | discardFloatPosteriors () |
void | applyQuantization (int num_quant_bits) |
void | savePosteriors (std::string url, bool append=false) |
void | savePosteriors2 (std::string url, bool append=false) |
Static Public Member Functions |
static void | quantizeVector (float *vec, int dim, int N, float bnds[2], int clamp_mode=0) |
static void | quantizeVector (float *src, int dim, int N, float bnds[2], uchar *dst) |
Friends |
class | RTreeClassifier |
Constructor & Destructor Documentation
cv::RandomizedTree::RandomizedTree |
( |
) |
|
cv::RandomizedTree::~RandomizedTree |
( |
) |
|
Member Function Documentation
void cv::RandomizedTree::train |
( |
std::vector< BaseKeypoint > const & |
base_set, |
|
|
cv::RNG & |
rng, |
|
|
int |
depth, |
|
|
int |
views, |
|
|
size_t |
reduced_num_dim, |
|
|
int |
num_quant_bits |
|
) |
| |
void cv::RandomizedTree::train |
( |
std::vector< BaseKeypoint > const & |
base_set, |
|
|
cv::RNG & |
rng, |
|
|
PatchGenerator & |
make_patch, |
|
|
int |
depth, |
|
|
int |
views, |
|
|
size_t |
reduced_num_dim, |
|
|
int |
num_quant_bits |
|
) |
| |
static void cv::RandomizedTree::quantizeVector |
( |
float * |
vec, |
|
|
int |
dim, |
|
|
int |
N, |
|
|
float |
bnds[2], |
|
|
int |
clamp_mode = 0 |
|
) |
| [static] |
static void cv::RandomizedTree::quantizeVector |
( |
float * |
src, |
|
|
int |
dim, |
|
|
int |
N, |
|
|
float |
bnds[2], |
|
|
uchar * |
dst |
|
) |
| [static] |
float* cv::RandomizedTree::getPosterior |
( |
uchar * |
patch_data ) |
|
const float* cv::RandomizedTree::getPosterior |
( |
uchar * |
patch_data ) |
const |
uchar* cv::RandomizedTree::getPosterior2 |
( |
uchar * |
patch_data ) |
|
void cv::RandomizedTree::read |
( |
const char * |
file_name, |
|
|
int |
num_quant_bits |
|
) |
| |
void cv::RandomizedTree::read |
( |
std::istream & |
is, |
|
|
int |
num_quant_bits |
|
) |
| |
void cv::RandomizedTree::write |
( |
const char * |
file_name ) |
const |
void cv::RandomizedTree::write |
( |
std::ostream & |
os ) |
const |
int cv::RandomizedTree::classes |
( |
) |
|
int cv::RandomizedTree::depth |
( |
) |
|
void cv::RandomizedTree::discardFloatPosteriors |
( |
) |
|
void cv::RandomizedTree::applyQuantization |
( |
int |
num_quant_bits ) |
|
void cv::RandomizedTree::savePosteriors |
( |
std::string |
url, |
|
|
bool |
append = false |
|
) |
| |
void cv::RandomizedTree::savePosteriors2 |
( |
std::string |
url, |
|
|
bool |
append = false |
|
) |
| |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: