]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - src/complexmat.hpp
Move scale_track method from KCF to ThreadCtx
[hercules2020/kcf.git] / src / complexmat.hpp
index c93eed7e10004cee87c1f3b0911251e3c23ffd7b..2bd625ced21766bb339088e9f31721dda836621d 100644 (file)
@@ -54,7 +54,7 @@ template <typename T> class ComplexMat_ {
         p_data.resize(n_channels * cols * rows);
     }
     // cv::Mat API compatibility
-    cv::Size size() { return cv::Size(cols, rows); }
+    cv::Size size() const { return cv::Size(cols, rows); }
     uint channels() const { return n_channels; }
 
     // assuming that mat has 2 channels (real, imag)