mirror of
https://github.com/YutaItoh/3D-Eye-Tracker.git
synced 2025-11-04 15:39:41 +08:00
Added filtering mechanism.
This commit is contained in:
parent
aa949ed081
commit
3e748537c7
@ -112,13 +112,18 @@ public:
|
|||||||
void set_fitter_max_count(int n);
|
void set_fitter_max_count(int n);
|
||||||
void rm_oldest_observation();
|
void rm_oldest_observation();
|
||||||
void force_rebuild_model();
|
void force_rebuild_model();
|
||||||
|
singleeyefitter::EyeModelFitter::Sphere EyeModelUpdater::eyeModelFilter(
|
||||||
|
singleeyefitter::EyeModelFitter::Sphere eye,
|
||||||
|
std::vector<singleeyefitter::EyeModelFitter::Sphere> &eyes,
|
||||||
|
int filterLength);
|
||||||
int get_current_count();
|
int get_current_count();
|
||||||
int get_max_count();
|
int get_max_count();
|
||||||
|
void EyeModelUpdater::setEye(singleeyefitter::EyeModelFitter::Sphere eye);
|
||||||
|
singleeyefitter::EyeModelFitter::Sphere EyeModelUpdater::getEye();
|
||||||
const singleeyefitter::EyeModelFitter&fitter(){ return simple_fitter_; };
|
const singleeyefitter::EyeModelFitter&fitter(){ return simple_fitter_; };
|
||||||
protected:
|
protected:
|
||||||
// Local variables initialized at the constructor
|
// Local variables initialized at the constructor
|
||||||
double focal_length_;
|
double focal_length_;
|
||||||
singleeyefitter::EyeModelFitter simple_fitter_;
|
|
||||||
|
|
||||||
// Local variables
|
// Local variables
|
||||||
static const size_t kFitterMaxCountDefault_ = 30;// 100;
|
static const size_t kFitterMaxCountDefault_ = 30;// 100;
|
||||||
@ -127,6 +132,7 @@ protected:
|
|||||||
bool is_model_built_ = false;
|
bool is_model_built_ = false;
|
||||||
bool is_status_initialized_ = false;
|
bool is_status_initialized_ = false;
|
||||||
SpaceBinSearcher space_bin_searcher_;
|
SpaceBinSearcher space_bin_searcher_;
|
||||||
|
singleeyefitter::EyeModelFitter simple_fitter_;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Prevent copying
|
// Prevent copying
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user