summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.cpp
AgeCommit message (Collapse)Author
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
2016-07-20tracker/pt: don't occlude point centers so muchStanislaw Halik
2016-07-19tracker/pt: reduce lockingStanislaw Halik
2016-07-16few: update/add copyrightStanislaw Halik
2016-07-16tracker/pt: declare floating-point type size in one placeStanislaw Halik
We want double precision for POSIT. It's best for the type to be set in ope place without the need to go over everything while switching it back and forth during tests. Machine epsilon for float is very small as per <https://en.wikipedia.org/wiki/Machine_epsilon>. Also see the absurdly high epsilon of 1e-4 of POSIT that we've had. With floats, making the epsilon lower resulted in change deltas flushing to zero. This typically led to the translation Z value being very unstable in PT. After the epsilon and data type size changes the Z value is stable.
2016-06-21tracker/pt: less jerky crosses on the video feedopentrack-2.3-rc49p5Stanislaw Halik
2016-06-21tracker/pt: move pi constant to headersStanislaw Halik
2016-06-14tracker/{aruco,pt}: disable opencv multithreadingStanislaw Halik
Less overhead this way.
2016-06-09tracker/pt: no need for 4-byte command maskStanislaw Halik
2016-06-09tracker/pt: only reset camera input when neededStanislaw Halik
2016-06-09tracker/pt: fix float/double promotionsStanislaw Halik
2016-05-26many modules: trivial cleanups onlyStanislaw Halik
- Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab
2016-05-13many: remove unneeded implicit type conversion double <-> floatStanislaw Halik
2016-01-06tracker/pt: fix crashStanislaw Halik
Previously dtor assumed tracker was started before getting deleted. This isn't always true, as in the case of protocol failure.
2015-12-19tracker/pt: don't copy points array needlesslyStanislaw Halik
2015-12-19tracker/pt: don't allocate temporary frameStanislaw Halik
2015-12-18tracker/pt: reduce mutex contentionStanislaw Halik
2015-12-18tracker/pt: move ctor out of the loopStanislaw Halik
2015-12-06api/camera-names: move to compat/Stanislaw Halik
2015-12-06tracker/aruco, tracker/pt: sleep before releasing cameraStanislaw Halik
Really fast toggling tracking crashed with my PS3 Eye.