diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:07:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-10-12 16:07:38 +0200 |
commit | a4262fce4a33053438fb94d32331aa27d44056c2 (patch) | |
tree | 24b497010e7c5befabfb0d3fb258626542f92e25 /facetracknoir/gain-control.hpp | |
parent | 88f985ca34275fc1cc014c5b8fa618ca95233db7 (diff) |
comments only
Diffstat (limited to 'facetracknoir/gain-control.hpp')
-rw-r--r-- | facetracknoir/gain-control.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/facetracknoir/gain-control.hpp b/facetracknoir/gain-control.hpp index 5958e945..081d4b6f 100644 --- a/facetracknoir/gain-control.hpp +++ b/facetracknoir/gain-control.hpp @@ -1,5 +1,7 @@ #pragma once +/* still WIP, not usable yet! -sh 20141012 */ + #include <algorithm> #undef NDEBUG #include <cassert> @@ -163,7 +165,7 @@ public: if (history_timer.elapsed_ms() > GAIN_HISTORY_EVERY_MS) { - const double cov = get_covariance(frame, last_frame); + //const double cov = get_covariance(frame, last_frame); history_timer.start(); last_frame = frame.clone(); @@ -174,6 +176,7 @@ public: if (debug_timer.elapsed_ms() > 1000) { const double mu = mean(frame); + // XXX move to HSL/HSV color space for it to work! -sh 20141012 const double var = get_variance(frame, mu); debug_timer.start(); |