diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-08 06:51:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-08 06:51:51 +0200 |
commit | 027fd0f8b4efcf005a0bba850109089737f40a3f (patch) | |
tree | 44261588d2024e3704b1acc9111682ad091dccff /ftnoir_tracker_pt/point_tracker.h | |
parent | ab47eac174db02710a7fa6c194e00c31cef755a4 (diff) |
retab and reformat only
Diffstat (limited to 'ftnoir_tracker_pt/point_tracker.h')
-rw-r--r-- | ftnoir_tracker_pt/point_tracker.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ftnoir_tracker_pt/point_tracker.h b/ftnoir_tracker_pt/point_tracker.h index 935e2eaa..7c710704 100644 --- a/ftnoir_tracker_pt/point_tracker.h +++ b/ftnoir_tracker_pt/point_tracker.h @@ -63,22 +63,22 @@ class PointModel public: static constexpr int N_POINTS = 3; - cv::Vec3f M01; // M01 in model frame - cv::Vec3f M02; // M02 in model frame + cv::Vec3f M01; // M01 in model frame + cv::Vec3f M02; // M02 in model frame - cv::Vec3f u; // unit vector perpendicular to M01,M02-plane + cv::Vec3f u; // unit vector perpendicular to M01,M02-plane cv::Matx22f P; enum Model { Clip = 0, Cap = 1, Custom = 2 }; - + PointModel(settings_pt& s) { set_model(s); // calculate u u = M01.cross(M02); u /= norm(u); - + // calculate projection matrix on M01,M02 plane float s11 = M01.dot(M01); float s12 = M01.dot(M02); @@ -140,8 +140,8 @@ private: Affine X_CM; // trafo from model to camera - Timer t; - bool init_phase; + Timer t; + bool init_phase; }; #endif //POINTTRACKER_H |