1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-06 19:36:26 +02:00

[CCV] Implemented first version of saliency system

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-05-30 16:13:25 +02:00
parent 63e58af14a
commit ae24a8e256
8 changed files with 516 additions and 0 deletions

View File

@ -0,0 +1,20 @@
#ifndef SHEET3_GAUSS_PYRAMID_H
#define SHEET3_GAUSS_PYRAMID_H
#include <opencv2/opencv.hpp>
class gauss_pyramid
{
private:
std::vector<cv::Mat> _layers;
public:
gauss_pyramid();
gauss_pyramid(cv::Mat img, float sigma, int number_of_layers);
cv::Mat get(int layer) const;
cv::Mat get(int layer);
unsigned long get_number_of_layers() const;
unsigned long get_number_of_layers();
};
#endif //SHEET3_GAUSS_PYRAMID_H