summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/numeric.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-08-10 16:16:26 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-08-14 19:19:59 +0200
commit359da594db4580f7578276d8f1b420a23510f5ac (patch)
tree131295d50cfe706244a553a71d53f496608c0c87 /tracker-pt/numeric.hpp
parent2998dc09288f009e162a0573edd703628f939488 (diff)
tracker/pt: move Affine class to cv/
Diffstat (limited to 'tracker-pt/numeric.hpp')
-rw-r--r--tracker-pt/numeric.hpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/tracker-pt/numeric.hpp b/tracker-pt/numeric.hpp
deleted file mode 100644
index 4761af1d..00000000
--- a/tracker-pt/numeric.hpp
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-
-#include <opencv2/core.hpp>
-#include <limits>
-
-namespace types {
- using f = double;
-
- struct constants final
- {
- constants() = delete;
- static constexpr f eps = f(1e-8);
- };
-
- template<int n> using vec = cv::Vec<f, n>;
- using vec2 = vec<2>;
- using vec3 = vec<3>;
-
- template<int y, int x> using mat = cv::Matx<f, y, x>;
- using mat33 = mat<3, 3>;
- using mat22 = mat<2, 2>;
-}