⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testdft.h

📁 普通的离散图像信号的傅里叶变换和逆变换。
💻 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 + -