-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmyGabor.h
29 lines (23 loc) · 811 Bytes
/
myGabor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <opencv2/opencv.hpp>
#include <vector>
using namespace std;
using namespace cv;
class myGabor
{
public:
static Mat getGaborImg (Mat& src,
float sigma,
float theta,
float lambda,
float gamma,
Size kernelSize);
static Mat getKernel (float sigma,
float theta,
float lambda,
float gamma,
int kernelType,
Size kernelSize);
static Mat filterImg (Mat& src,Mat& kernel);
static Mat filterImg (Mat& src, Mat& kernel, int filterType);
static Mat calculateMagnitude (Mat &realImg,Mat &imgnrImg);
};