summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
AgeCommit message (Collapse)Author
2018-02-16tracker/{pt,wii}: simplify apiStanislaw Halik
Remove useless abstract member functions, simplify some. Issue: #718
2018-01-21tracker/pt-base: add static pt_camera_info::get_focal_lengthStanislaw Halik
For the Wiimote tracker. Adjust usages in tracker/pt. Issue: #718
2018-01-16cv/video-frame, tracker/pt: add hidpi preview supportStanislaw Halik
2018-01-13tracker/pt: workaround unexplained leakStanislaw Halik
Somehow, using unique_ptr causes a leak at destruct time. The stored pointer isn't freed. It works perfectly fine with shared_ptr. It seems I'm doing things correctly with a move constructor for unique_ptr in the Tracker_PT class, as well as the pointer initialization ctor in `module.cpp'. Who the hell knows what's happening behind the scenes.
2018-01-12tracker/pt: isolate point extractor and image typeStanislaw Halik
Issue: #718
2018-01-11tracker/pt: allow for reuseStanislaw Halik
Issue: #718 This allows for replacing the camera and point extractor code. See `module.cpp' and `pt-api.hpp`.
2018-01-10tracker/pt: cleanupStanislaw Halik
2018-01-10tracker/pt: reset dynamic pose on centerStanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-12-02tracker/{pt,aruco}: oops, disable multi threading rightStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-22tracker/pt: return focal length directlyStanislaw Halik
2017-10-08tracker/pt: edit dead codeStanislaw Halik
2017-09-22pointless to use likely macroStanislaw Halik
The operation is so many cycles, branch prediction doesn't matter here.
2017-08-19tracker/{pt,aruco}: simplifyStanislaw Halik
2017-07-16compat/math-imports: use itStanislaw Halik
2017-07-07tracker/pt: don't return zero pose on failureStanislaw Halik
Issue: #644
2017-06-30tracker/pt: reformat lightlyStanislaw Halik
2017-06-19tracker/{pt,aruco}: don't allow opencv unwind on assertStanislaw Halik
It's gonna purposefully dereference a zero pointer to cause a crash without unwinding.
2017-06-12tracker/pt: cleanupStanislaw Halik
Also, changing "f" typedef to "float" won't break the build anymore.
2017-06-10minor cleanup onlyStanislaw Halik
2017-04-18tracker/pt: make calibrated cross yellowStanislaw Halik
Otherwise it's not visible enough with red-only image.
2017-03-20tracker/pt: rename slotStanislaw Halik
2017-03-20tracker/pt: camera changesStanislaw Halik
- move dt handling here, from ITracker impl - don't depend on other PT headers. we'd like to reuse the code. - adjust return value convention. - get rid of dt_valid - return fps as a double Adjust usages in ITracker impl and dialog.
2017-03-08tracker/pt: fix compile on GCC 4.9.xStanislaw Halik
"color" is declared in the same block anyway. Issue: #569
2017-03-03tracker/pt: show average point radius on the displayopentrack-2.3.1_fix3Stanislaw Halik
Helps with choosing automatic threshold slider position.
2017-03-01tracker/pt: don't crash in cv::resizeStanislaw Halik
next hotfix or bust
2017-02-21tracker/pt: fix clang type conversion errorStanislaw Halik
2017-02-21tracker/pt: resize the camera feed, not the previewStanislaw Halik
This makes the point size text and point crosses not alias due to the resize. Due to nice pixel coordinate system, the cross-drawing lambda only needs minimal changes.
2016-12-30tracker/pt: fix warn_unused_resultStanislaw Halik
2016-12-28tracker/pt: hold mutex over camera in dtor just to be 100% safeStanislaw Halik
2016-12-16tracker/pt: refactor camera info handlingStanislaw Halik
- Pass `struct CamInfo' rather than several elements separately - Reformat - Return `struct CamInfo' together with the frame since then it's always valid - Move the focal length formula into `struct CamInfo' - Remove incorrect focal length formula rather than #if 0 - Pass some stuff by reference and not by pointer
2016-12-10tracker/pt: make overlay look more of the same on 320x240 as 640x480Stanislaw Halik
2016-12-09tracker/pt: show right overlay wrt frame sizeStanislaw Halik
2016-12-08tracker/pt: use correct focal length formulaStanislaw Halik
the formula works with ps3 eye zoom modes
2016-12-08tracker/pt: fix camera Hz always the default valueStanislaw Halik
2016-12-03tracker/{aruco,pt}: use RAII for QObjectStanislaw Halik
2016-11-23tracker/pt: add failed focal length formulaStanislaw Halik
2016-11-04modules: make names uniqueStanislaw Halik
2016-10-19dinput, tracker/pt: reword comments and fix harmless warningsStanislaw Halik
2016-10-19tracker/pt: don't delay camera stop artificiallyStanislaw Halik
If the filter crashes on quick stop/start it's not our fault.
2016-10-10tracker/pt: add unperspective for yawStanislaw Halik
It's commented out for the time-being.
2016-10-10tracker/pt: change focal length formulaStanislaw Halik
It looks kind of funky. At the moment it gives me correct Z (with a ruler) given right FOV. Though the pitch value is still skewed given lack of perspective transform for Y pixel value in extractor.
2016-09-21many: remove compat/pi-constant.hppStanislaw Halik
With -D_USE_MATH_DEFINES MSVC defines the standard M_PI and friends. Since this preprocessor definition is now always passed as part of the build system for MSVC. We can use M_PI as if on a mission.
2016-09-20Update ftnoir_tracker_pt.cppStanisław Halik
2016-09-16tracker/pt: use trig overloadsStanislaw Halik
2016-09-16tracker/pt: get rid of pt_types classStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-10cv: move calibrator and video widget to cv moduleStanislaw Halik
Adjust usages in PT and Aruco trackers.
2016-07-31tracker/pt: use max distance for dynamic poseStanislaw Halik