]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commit
Fix numerical problems in sub_pixel_peak()
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Oct 2018 22:15:45 +0000 (00:15 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 18 Oct 2018 22:30:41 +0000 (00:30 +0200)
commit863408c50c11bb5dd5ab91e365c13c5ea818678b
tree954898327bb84764ab8b3ce77cfe37f3d5cbedac
parent9ebe36c3294847c12e74583762247a36038b91c2
Fix numerical problems in sub_pixel_peak()

Sometimes, finding sub-pixel maximum fails (solution is very far from
the maximal value pixel) and the tracked object is lost. These changes
fix some the these cases. This problem was present also in the
original implementation.
src/kcf.cpp