summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt_dialog.cpp
AgeCommit message (Collapse)Author
2018-02-15clean up "static" and "constexpr" typesStanislaw Halik
- use `static constexpr inline' to avoid requiring explicit declarations in object code - use `const Foo* const' to maybe put into readonly binary segment (at least for ELF DSOs) - `constexpr' in function scope has storage, avoid `static' - don't use `constexpr' where there's no advantage, like arrays We'd like to avoid overhead of atomic initialization for each function call. No idea how `static constexpr' requiring storage in the standard plays with atomic initialization requirement. Hearsay points that `constexpr' without `static' in block scope behaves more to our liking. It's all hazy though. I'm not 100% sure if `static inline constexpr' has any storage. Hopefully none, like a #define, and stuff bigger than registers gets coalesced within the same module, with small stuff being immediates.
2018-01-26CLion pedantryStanislaw Halik
Fix few of the inspection warnings from CLion that make any sense at all.
2018-01-25tracker/pt: fix camera settings on tracker stopStanislaw Halik
2018-01-19tracker/pt: fix broken resourcesStanislaw Halik
Spotted by: @cpuwolf Issue: #718
2018-01-18compat/correlation-calibration: retireStanislaw Halik
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
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-04cv: fixed ps3 eye dialogStanislaw Halik
2018-01-03compat, tracker-pt: add unfinished calibratorStanislaw Halik
2017-12-04api: add status check for modulesStanislaw Halik
2017-10-29tracker/pt: remove dubious grayscaling modesStanislaw Halik
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-20tracker/pt: grayscaling modes workStanislaw Halik
2017-10-13tracker/pt, options: fix threshold sliderStanislaw Halik
It's only the tie_setting(slider_value, QSlider) that has race-free slider updates. Needed to update the threshold slider representation. Remove the tie_setting(int, QSlider) overload since it doesn't have the logic. Add a migration. Add base_value::notify() for use-cases like the checkbox updating the label.
2017-10-13options/tie: change "tie" overloadsStanislaw Halik
Adjust usages. There are ODR issues with MSVC and it doesn't support C++17 "static inline constexpr" _variables_. Otherwise, "signal_fun" could be a variable and not a function. The usages in accela/ewma2 dialog are more verbose now but the original API was silly.
2017-10-08tracker/pt: grayscale methods workStanislaw Halik
- fix a braino (don't divide by two) - default to exact averaging, not perceptual weighted - use more specific cv::addWeighted
2017-09-23use std::sizeStanislaw Halik
2017-09-22tracker/pt: add color extraction modesStanislaw Halik
2017-07-18tracker/pt: fix -WerrorStanislaw Halik
2017-07-06cv/calibrator: return distinct sample count for all DOFStanislaw Halik
2017-06-22tracker/pt: replace point extraction algorithmStanislaw Halik
Profiling over a longer time period showed a bottleneck while iterating pixels with `cv::floodFill()'. Contours are actually faster, and we have MeanShift to establish the proper center basing on pixel intensities.
2017-04-12cv/calibrator: allow for experimental roll calibrationStanislaw Halik
It mostly works from my testing.
2017-03-28tracker/pt: show calibration sample count in UIStanislaw 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-16tracker/{aruco,pt}: adjust usages for the calibratorStanislaw Halik
2016-12-03tracker/pt: simplify pointless inheritanceStanislaw Halik
2016-10-19tracker/pt: simplify state displayStanislaw Halik
2016-10-19tracker/pt: poll for tracker info only when it could changeStanislaw Halik
2016-10-19tracker/pt: show tracker state immediatelyStanislaw Halik
2016-10-19tracker/pt: don't call calibration twiceStanislaw Halik
Also simplify timer logic.
2016-10-10tracker/pt: get rid of heap allocationStanislaw Halik
Use stack arrays rather than vectors. std::array may be a better choice though.
2016-10-01camera settings: disable for all A4 TECH camerasStanislaw Halik
We've had two reported crashes. Issue: #468
2016-09-17tracker/{pt,aruco}: enable camera dialogStanislaw Halik
Suggested-by: MathijsG Issue: #454
2016-09-06tracker/pt: lessen logspamStanislaw Halik
2016-09-05tracker/{aruco,pt}: remove camera settings buttonStanislaw Halik
It's broken and users complain on the issue tracker. Also fix tab stops.
2016-08-15tracker/pt: make calibration less confusing in dialogStanislaw Halik
- change button text to "stop calibration" and "start calibration" respectively. - gray out the values while calibration is running - run calibration at 10 Hz on a separate timer from dialog update Issue: #416
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-08gui, tracker/{aruco,pt}: do action on button correct press, not button holdStanislaw Halik
2016-06-09tracker/{joystick,pt,rift-{025,042,080}}: options api cleanup onlyStanislaw Halik
2016-05-20tracker/{pt,aruco} increase calibration intervalStanislaw Halik
In particular PT's calibration interval was 10 Hz which is too much by far. Make both 4 Hz. Issue: #344
2015-12-06api/camera-names: move to compat/Stanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224