摘要:
图像的傅里叶变换 #include"bmp.h"#include#include#include#define PI 3.1415926//说明:对输入图像进行快速傅立叶变换,要求输入图像的宽和高必须是2的幂次方void Bitmap::fourier(){ int lineByte = (wi... 阅读全文
摘要:
图像的几何变换 #include"bmp.h"#include#include#include#includeusing namespace std;void Bitmap::translation(int offsetX, int offsetY)//平移变换{if (dataBuf == ... 阅读全文
摘要:
位图的读写 #include"bmp.h"#include#include#includeusing namespace std;Bitmap::Bitmap(){}Bitmap::~Bitmap(){ if (dataBuf!=NULL) delete[] dataBuf; dataB... 阅读全文