Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-20 | tracker/pt: change brightness formula | Stanislaw Halik | |
Use square root of area. Otherwise very small bright points are unfairly used. | |||
2016-07-20 | tracker/pt: adjust min/max radius for auto threshold | Stanislaw Halik | |
2016-07-20 | tracker/pt: don't occlude point centers so much | Stanislaw Halik | |
2016-07-20 | tracker/pt: fix wrong input to flood fill | Stanislaw Halik | |
The binary frame needs to be used, not grayscale. v2: Use brightness for sorting points. | |||
2016-07-19 | tracker/pt: reduce locking | Stanislaw Halik | |
2016-07-19 | tracker/pt: check for nan before writing pose | Stanislaw Halik | |
2016-07-19 | move nan check to compat | Stanislaw Halik | |
2016-07-19 | tracker/pt: round text position of displayed point radii | Stanislaw Halik | |
2016-07-19 | tracker/pt: replace point extractor with original one by Patrick Ruoff | Stanislaw Halik | |
The new extractor we've been using doesn't take into account brightness at all. All contours give is the ability to sort points by circularity. v2: Change the auto threshold point size range to 2->7 pixels radius. Issue: #389 v3: sort by radius instead | |||
2016-07-19 | some: replace hardcoded pi values with the same pi constant | Stanislaw Halik | |
We can't depend on M_PI existing after including cmath. | |||
2016-07-16 | tracker/pt: don't scale down auto threshold value | Stanislaw Halik | |
Also, make the slider signify the max point radius (hence squaring). | |||
2016-07-16 | tracker/pt: use final, pragma once | Stanislaw Halik | |
2016-07-16 | few: update/add copyright | Stanislaw Halik | |
2016-07-16 | gui, tracker/{aruco,pt}, api: detect whether widget is visible on screen | Stanislaw Halik | |
Sadly, it's only implemented right now on win32. Remove "set enabled" code for the video widget since it only works for explicit window minimization, not covering by other windows. | |||
2016-07-16 | tracker/pt: declare floating-point type size in one place | Stanislaw 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-07-06 | tracker/pt: fix out-of-bounds write | Stanislaw Halik | |
The input array has exactly 3 points. The vector has potentially more points, sorted by circularity. Spotted-by: @DaMichel Closes #380 | |||
2016-06-21 | tracker/pt: less jerky crosses on the video feedopentrack-2.3-rc49p5 | Stanislaw Halik | |
2016-06-21 | tracker/pt: adjust auto threshold max area size | Stanislaw Halik | |
2016-06-21 | tracker/pt: fix points at (0,0) which are really NaN | Stanislaw Halik | |
Issue: #318 cf. http://forum.il2sturmovik.ru/topic/2291-open-track/page-26 | |||
2016-06-21 | tracker/pt: move pi constant to headers | Stanislaw Halik | |
2016-06-14 | tracker/{aruco,pt}: disable opencv multithreading | Stanislaw Halik | |
Less overhead this way. | |||
2016-06-14 | tracker/pt: use unsigned index where able | Stanislaw Halik | |
2016-06-09 | tracker/pt: no need for 4-byte command mask | Stanislaw Halik | |
2016-06-09 | tracker/pt: only reset camera input when needed | Stanislaw Halik | |
2016-06-09 | tracker/{joystick,pt,rift-{025,042,080}}: options api cleanup only | Stanislaw Halik | |
2016-06-09 | tracker/pt: fix float/double promotions | Stanislaw Halik | |
2016-06-09 | tracker/pt: fix float <-> double promote/demote | Stanislaw Halik | |
We use the cmath version to access the "float x" overload. | |||
2016-05-26 | many modules: trivial cleanups only | Stanislaw 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-22 | tracker/{aruco,ht,pt}: camera dialog class doesn't use a template now. | Stanislaw Halik | |
Adjust usages. | |||
2016-05-22 | cmake/many: update for dinput8 manual link removal | Stanislaw Halik | |
It's automatic now. | |||
2016-05-20 | tracker/{pt,aruco} increase calibration interval | Stanislaw Halik | |
In particular PT's calibration interval was 10 Hz which is too much by far. Make both 4 Hz. Issue: #344 | |||
2016-05-15 | many: remove executable bit from source files | Stanislaw Halik | |
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation. | |||
2016-05-13 | Revert "tracker/pt: experimental non-white color removal" | Stanislaw Halik | |
This reverts commit 546cfb5ad52dcfe1421d1af5e7baeada588ac735. @MathijsG points out that some users have red LEDs, not uniform white. Issue: #355 | |||
2016-05-13 | tracker/pt: adjust auto threshold max pixel value | Stanislaw Halik | |
The confusion stems from the max slider value. It's 255, not 100 as is the default. Max pixel count change to 20 was confused as we'll counting area and not radius here. Taking into account that the value was divided by 100 previously, it's bit less than the previous one but not as confused as then. Reported-by: @MathijsG Issue: #355 | |||
2016-05-13 | many: remove unneeded implicit type conversion double <-> float | Stanislaw Halik | |
2016-04-29 | tracker/pt: conversion to unsigned char clamps by itself | Stanislaw Halik | |
Remove redundant operation on the frame. | |||
2016-04-27 | tracker/pt: sensible max point size | Stanislaw Halik | |
2016-04-27 | tracker/pt: experimental non-white color removal | Stanislaw Halik | |
It's enabled only for automatic thresholding. With it on, it's possible to keep tracking in normal light conditions without changing gain or exposure beforehand. It won't function on badly overexposed images, or with other bright white colors in the frame. It should function on somewhat overexposed images. CPU usage is somewhat high, even taking advantage of all OpenCV SIMD goodness as per the code. We can revert the change if user reception is bad. | |||
2016-04-23 | tracker/pt: add caveat to POSIT | Stanislaw Halik | |
causes breakage. even with denormal flush to zero it's not correct to compare to epsilon. | |||
2016-03-07 | Revert "tracker/pt: don't use exact float comparison in POSIT" | Stanislaw Halik | |
This reverts commit a40a557caddad5285bd03b79dca5f7a94d1f44c5. | |||
2016-03-07 | tracker/pt: don't use exact float comparison in POSIT | Stanislaw Halik | |
2016-03-07 | tracker/pt: remove branching that's frequently mispredicted | Stanislaw Halik | |
2016-03-07 | tracker/pt: less malloc/free each frame | Stanislaw Halik | |
2016-02-17 | tracker/pt: fix build | Stanislaw Halik | |
2016-02-17 | tracker/pt: retire get_points() in the extractor | Stanislaw Halik | |
2016-02-17 | tracker/pt: protect get_n_points() | Stanislaw Halik | |
There's a race here since further accesses to the points array aren't protected by a mutex in the extractor class. There's no race in "get_points()" in the extractor since it's only used in same thread where updates take place. | |||
2016-02-17 | tracker/pt: cover all "points" usages by a mutex | Stanislaw Halik | |
2016-02-09 | gui: scale properly on high-DPI screens | Stanislaw Halik | |
Previously high DPI made the main screen all out of whack, unreadable and unusable. | |||
2016-01-09 | tracker/pt: remove unused blob struct members | Stanislaw Halik | |
2016-01-06 | tracker/pt: fix crash | Stanislaw Halik | |
Previously dtor assumed tracker was started before getting deleted. This isn't always true, as in the case of protocol failure. |