Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-03 | tracker/pt: show average point radius on the displayopentrack-2.3.1_fix3 | Stanislaw Halik | |
Helps with choosing automatic threshold slider position. | |||
2017-02-21 | tracker/pt: change meanshift kernel size coefficient | Stanislaw Halik | |
From my usage the value of 1.5 is excessively conservative. | |||
2017-02-21 | tracker/pt: resize the camera feed, not the preview | Stanislaw 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-16 | tracker/pt: refactor camera info handling | Stanislaw 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-10 | tracker/pt: make overlay look more of the same on 320x240 as 640x480 | Stanislaw Halik | |
2016-12-09 | tracker/pt: show right overlay wrt frame size | Stanislaw Halik | |
2016-12-09 | tracker/pt: use the right delta for iteration stop | Stanislaw Halik | |
2016-12-09 | tracker/pt: inline meanshift eval fun | Stanislaw Halik | |
2016-12-09 | tracker/pt: improved precision and noise rejection by mean shift filtering | DaMichel | |
2016-11-12 | tracker/pt: refactor | Stanislaw Halik | |
- separate .{cpp,hpp} for few classes - don't include namespaces globally; harmless but looks bad anyway - class with all public members to struct | |||
2016-10-11 | tracker/pt: fix brain fart in extractor | Stanislaw Halik | |
It's multiplied by 3 just a few lines below. So ~2 is actually a good lower bound. | |||
2016-10-11 | tracker/pt: increase min point radius to sensible value | Stanislaw Halik | |
We can't possibly have LEDs smaller than (6/3=2) each. Especially not (2.5/6). | |||
2016-10-10 | tracker/pt: get rid of heap allocation | Stanislaw Halik | |
Use stack arrays rather than vectors. std::array may be a better choice though. | |||
2016-09-28 | tracker/pt: don't check for blob limit pointlessly | Stanislaw Halik | |
It's branch predicted anyway, but for clarity. | |||
2016-09-25 | tracker/pt: square the center weight | Stanislaw Halik | |
Follow original implementation. | |||
2016-09-21 | tracker/pt: fix area/radius confusion in extractor | Stanislaw Halik | |
2016-09-21 | tracker/pt: fix harmless fencepost error | Stanislaw Halik | |
2016-09-21 | many: remove compat/pi-constant.hpp | Stanislaw 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-16 | tracker/pt: get rid of pt_types class | Stanislaw Halik | |
2016-08-28 | tracker/pt: merge 2 variables used exactly the same way | Stanislaw Halik | |
2016-08-12 | all: rename modules s#^opentrack-##. and opentrack -> api | Stanislaw Halik | |
Adjust usages. | |||
2016-07-31 | tracker/{pt,aruco}: don't include opencv highgui, videoio is enough | Stanislaw Halik | |
2016-07-25 | tracker/pt: drop signed/unsigned warning | Stanislaw Halik | |
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: 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 | 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-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: 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-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-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-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-03-07 | tracker/pt: less malloc/free each frame | Stanislaw Halik | |
2016-02-17 | tracker/pt: cover all "points" usages by a mutex | Stanislaw Halik | |
2016-01-09 | tracker/pt: remove unused blob struct members | Stanislaw Halik | |
2015-12-24 | tracker/pt: limit max amount of extracted blobs | Stanislaw Halik | |
2015-12-19 | tracker/pt: don't allocate temporary dynamic size arrays | Stanislaw Halik | |
2015-12-19 | tracker/pt: don't copy points array needlessly | Stanislaw Halik | |
2015-12-19 | tracker/pt: cv::Mat::at<T> is slow, use cv::Mat::ptr | Stanislaw Halik | |
2015-12-18 | tracker/pt: reduce mutex contention | Stanislaw Halik | |
2015-12-18 | tracker/pt: remove krap | Stanislaw Halik | |
2015-12-18 | tracker/pt: don't fill mask on frame | Stanislaw Halik | |
Saves few % of cpu load |