summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-23 12:50:29 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-23 12:50:29 +0200
commit1974ce5ede983c85ed66c7a8a366bb8fdf2c410f (patch)
tree786270e884cdb2b47593c9f64fc726e95843c85e /ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
parent2c8f225f2fe633d5b2768c083259594b6ac84402 (diff)
New HT
Diffstat (limited to 'ftnoir_tracker_ht/ftnoir_tracker_ht.cpp')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
index 0ea6db86..68a8e4be 100644
--- a/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
+++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.cpp
@@ -110,21 +110,21 @@ static void load_settings(ht_config_t* config, Tracker* tracker)
config->pyrlk_pyramids = 3;
config->pyrlk_win_size_w = config->pyrlk_win_size_h = 21;
config->max_keypoints = 200;
- config->keypoint_quality = 4;
- config->keypoint_distance = 0.8;
- config->keypoint_3distance = 4;
- config->keypoint_9distance = 10;
+ config->keypoint_quality = 5;
+ config->keypoint_distance = 1.3;
+ config->keypoint_3distance = 3.3;
+ config->keypoint_9distance = 9;
//config->force_width = 640;
//config->force_height = 480;
config->force_fps = iniFile.value("fps", 0).toInt();
config->camera_index = iniFile.value("camera-index", -1).toInt();
config->ransac_num_iters = 100;
- config->ransac_max_reprojection_error = 4.2;
- config->ransac_max_inlier_error = 4;
- config->ransac_max_mean_error = 4;
+ config->ransac_max_reprojection_error = 3.7;
+ config->ransac_max_inlier_error = 3.8;
config->ransac_abs_max_mean_error = 8;
+ config->ransac_max_mean_error = 3.6;
config->debug = 1;
- config->ransac_min_features = 0.83;
+ config->ransac_min_features = 0.82;
int res = iniFile.value("resolution", 0).toInt();
if (res < 0 || res >= (int)(sizeof(*resolution_choices) / sizeof(resolution_tuple)))
res = 0;