📄 testdft.h
字号:
#pragma once
#include "resource.h"
#include "cv.h"
#include "cxcore.h"
#include "highgui.h"
struct ComplexNum
{
float realnum;
float imnum;
float *Greal;
float *Gim;
float *Hreal; //传递函数实部
float *Him; //传递函数虚部
float *htempreal;
float *htempim;
};
class Dft
{
public:
void DftMethord(IplImage*,IplImage*,IplImage *);
void DftConvertMethord();
Dft();
~Dft();
public:
IplImage *m_source;
IplImage *m_size;
IplImage *m_angle;
IplImage *m_outimage;
IplImage *m_temp;
private:
ComplexNum nums,tempnums;
float Width;
float Height;
float *highreal;
float *highim;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -