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

[CVV] Added gaussian pyramid class from prev sheet

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-05-09 15:37:46 +02:00
parent b4e892ca2c
commit b9d9ae72d7
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#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);
unsigned long get_number_of_layers();
};
#endif //SHEET3_GAUSS_PYRAMID_H