diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 23:46:10 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-01-18 23:55:02 +0100 |
commit | 7cf79b12ddbfeedf24861ff489a1008f867d9440 (patch) | |
tree | 2f2491a76cf629f3c38144d1c47beb1af4b57352 /tracker-pt | |
parent | 0657dc14e07ee705a8ab0bba67dfbe04c603db49 (diff) |
compat/correlation-calibration: retire
Diffstat (limited to 'tracker-pt')
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.cpp | 15 | ||||
-rw-r--r-- | tracker-pt/ftnoir_tracker_pt_dialog.h | 2 |
2 files changed, 0 insertions, 17 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.cpp b/tracker-pt/ftnoir_tracker_pt_dialog.cpp index 2c01c073..5d376468 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.cpp +++ b/tracker-pt/ftnoir_tracker_pt_dialog.cpp @@ -134,8 +134,6 @@ void TrackerDialog_PT::startstop_trans_calib(bool start) if (start) { - c_calib = {}; - qDebug() << "pt: starting translation calibration"; calib_timer.start(); trans_calib.reset(); @@ -147,9 +145,6 @@ void TrackerDialog_PT::startstop_trans_calib(bool start) } else { - // XXX reenable after build - // (void) c_calib.get_coefficients(); - calib_timer.stop(); qDebug() << "pt: stopping translation calibration"; { @@ -232,18 +227,8 @@ void TrackerDialog_PT::trans_calib_step() if (tracker) { - // XXX reenable after build - if (false) - { - - Mat<double, 6, 1> m; - tracker->data(m); - c_calib.input(m); - } - Affine X_CM = tracker->pose(); trans_calib.update(X_CM.R, X_CM.t); - } else startstop_trans_calib(false); diff --git a/tracker-pt/ftnoir_tracker_pt_dialog.h b/tracker-pt/ftnoir_tracker_pt_dialog.h index 66835c10..a7c7e521 100644 --- a/tracker-pt/ftnoir_tracker_pt_dialog.h +++ b/tracker-pt/ftnoir_tracker_pt_dialog.h @@ -13,7 +13,6 @@ #include "tracker-pt/ui_FTNoIR_PT_Controls.h" #include "cv/translation-calibrator.hpp" #include "cv/video-widget.hpp" -#include "compat/correlation-calibrator.hpp" #include <QTimer> #include <QMutex> @@ -44,7 +43,6 @@ private: Tracker_PT* tracker; QTimer timer, calib_timer; TranslationCalibrator trans_calib; - correlation_calibrator c_calib; QMutex calibrator_mutex; Ui::UICPTClientControls ui; |