llvfouriertransforms.h
来自「fft变换代码,采用基2的频率域变换代码.」· C头文件 代码 · 共 38 行
H
38 行
/***********************************************************************
FileName:
LLVFourierTransforms.h Copyright (C), 2008, LusterLightVision
Description:
Fourier Transforms : Main Header
************************************************************************/
#include "LLVProDef.h"
#include<complex>
using namespace std;
// 一维付立叶正变换
LLVPRO_API void FFT_1D(complex<double> * pCTData, complex<double> * pCFData, int nLevel);
LLVPRO_API void FFT_1D_Opti(complex<double> * pCTData, complex<double> * pCFData, int nLevel);
// 一维付立叶逆变换
LLVPRO_API void IFFT_1D(complex<double> * pCFData, complex<double> * pCTData, int nLevel);
// 二维付立叶变换
// pCTData 已经进行了补零、中心变换操作,函数内部不负责该操作
// lTransWidth, lTransHeight 分别为不小于图像的宽度、高度的2的整数次幂
LLVPRO_API BOOL FFT_2D(complex<double> * pCTData, complex<double> * pCFData,long lTransWidth, long lTransHeight);
// 二维付立叶变换
// lTransWidth, lTransHeight 分别为不小于图像的宽度、高度的2的整数次幂
LLVPRO_API BOOL IFFT_2D(complex<double> * pCFData, complex<double> * pCTData, long lTransWidth, long lTransHeight);
// 图像二维傅立叶正变换
// lTransWidth, lTransHeight 分别为不小于图像的宽度、高度的2的整数次幂
// pCFData 是经过中心变换的数据
LLVPRO_API BOOL DIBFFT_2D(LPBYTE pbyImage,long lWidth,long lHeight,long &lTransWidth,long &lTransHeight,complex<double>* &pCFData);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?