gabor.h
资源名称:gabor.rar [点击查看]
上传用户:soukeisyuu
上传日期:2022-07-03
资源大小:5943k
文件大小:1k
源码类别:
波变换
开发平台:
Visual C++
- #ifndef GABOR_H
- #define GABOR_H
- #include "cv.h"
- #include <stdio.h>
- #include <math.h>
- #include <ctype.h>
- #define PI 3.1415926
- #define min(x,y) ( (x) < (y) ? (x):(y) )
- class CvGabor
- {
- public:
- CvGabor();
- ~CvGabor();
- void initGabor(int s_fre,int s_ang,int aperture_size,float gaussian_sigma);
- void doGabor(IplImage *src,IplImage *dst);
- void doConv(CvMat *A,CvMat *B,CvMat* conv);
- private:
- int s_fre;
- int s_ang;
- float freq;
- float angle;
- int aperture_size;
- float gaussian_sigma;
- };
- #endif // GABOR_H