Created
October 11, 2011 06:17
-
-
Save GreenRecycleBin/1277413 to your computer and use it in GitHub Desktop.
cvgabor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef CVGABOR_H | |
| #define CVGABOR_H | |
| #include "/usr/local/Cellar/opencv/2.3.1a/include/opencv2/opencv.hpp" | |
| class CvGabor | |
| { | |
| public: | |
| ~CvGabor(); | |
| CvGabor(int orientation, int scale, double sigma); | |
| CvGabor(int orientation, int scale, double sigma, double spatial_frequence); | |
| CvGabor(double phi, int scale); | |
| CvGabor(double phi, int scale, double sigma); | |
| CvGabor(double phi, int scale, double sigma, double spatial_frequence); | |
| double k_max() const; | |
| long width() const; | |
| private: | |
| double sigma_; | |
| double f_; | |
| double k_; | |
| double phi_; | |
| CvMat *imaginary_matrix_; | |
| CvMat *real_matrix_; | |
| double default_sigma() const; | |
| double default_f() const; | |
| void Init(int scale, double sigma, double spatial_frequence); | |
| void Init(int orientation, int scale, double sigma, double spatial_frequence); | |
| void Init(double phi, int scale, double sigma, double spatial_frequence); | |
| void create_kernel(); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment