#include <CRForestEstimator.h>
Public Member Functions | |
CRForestEstimator () | |
void | estimate (const cv::Mat &im3D, std::vector< cv::Vec< float, POSE_SIZE > > &means, std::vector< std::vector< Vote > > &clusters, std::vector< Vote > &votes, int stride=5, float max_variance=1000, float prob_th=1.0, float larger_radius_ratio=1.0, float smaller_radius_ratio=6.0, bool verbose=false, int threshold=400) |
bool | loadForest (const char *treespath, int ntrees=0) |
~CRForestEstimator () | |
Private Member Functions | |
cv::Rect | getBoundingBox (const cv::Mat &im3D) |
Private Attributes | |
CRForest * | crForest |
Definition at line 16 of file CRForestEstimator.h.
CRForestEstimator::CRForestEstimator | ( | ) | [inline] |
Definition at line 20 of file CRForestEstimator.h.
CRForestEstimator::~CRForestEstimator | ( | ) | [inline] |
Definition at line 22 of file CRForestEstimator.h.
void CRForestEstimator::estimate | ( | const cv::Mat & | im3D, |
std::vector< cv::Vec< float, POSE_SIZE > > & | means, | ||
std::vector< std::vector< Vote > > & | clusters, | ||
std::vector< Vote > & | votes, | ||
int | stride = 5 , |
||
float | max_variance = 1000 , |
||
float | prob_th = 1.0 , |
||
float | larger_radius_ratio = 1.0 , |
||
float | smaller_radius_ratio = 6.0 , |
||
bool | verbose = false , |
||
int | threshold = 400 |
||
) |
Definition at line 63 of file CRForestEstimator.cpp.
Rect CRForestEstimator::getBoundingBox | ( | const cv::Mat & | im3D | ) | [private] |
Definition at line 26 of file CRForestEstimator.cpp.
bool CRForestEstimator::loadForest | ( | const char * | treespath, |
int | ntrees = 0 |
||
) |
Definition at line 15 of file CRForestEstimator.cpp.
CRForest* CRForestEstimator::crForest [private] |
Definition at line 44 of file CRForestEstimator.h.