]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/blobdiff - src/fft_opencv.h
README: Describe the main differences from the original implementation
[hercules2020/kcf.git] / src / fft_opencv.h
index 557cd0b428ecf4b82ea4317bab2f582a6260ce17..032989b422b0148b47464b6db53f5b3de5783e6d 100644 (file)
@@ -4,17 +4,15 @@
 
 #include "fft.h"
 
-struct Scale_vars;
-
 class FftOpencv : public Fft
 {
 public:
-    void init(unsigned width, unsigned height, unsigned num_of_feats, unsigned num_of_scales, bool big_batch_mode) override;
-    void set_window(const cv::Mat & window) override;
-    void forward(Scale_vars & vars) override;
-    void forward_window(Scale_vars & vars) override;
-    void inverse(Scale_vars & vars) override;
-    ~FftOpencv() override;
+    void init(unsigned width, unsigned height, unsigned num_of_feats, unsigned num_of_scales);
+    void set_window(const MatDynMem &window);
+    void forward(const MatScales &real_input, ComplexMat &complex_result);
+    void forward_window(MatScaleFeats &patch_feats_in, ComplexMat &complex_result, MatScaleFeats &tmp);
+    void inverse(ComplexMat &complex_input, MatScales &real_result);
+    ~FftOpencv();
 private:
     cv::Mat m_window;
 };