12 2014 档案
摘要:图像的直方图均衡 #include"bmp.h"#include#include#include#includeint* m_histArray;void Bitmap::releasedHist(){ if (m_histArray != NULL) delete[] m_histArray...
阅读全文
摘要:图像的傅里叶变换 #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...
阅读全文
摘要:参考书:《Visual C++ 数字图象处理》谢凤英 位映象:二维的像素矩阵。 灰度图像的像素数据就是一个矩阵,矩阵的行对应图像的高(单位像素),矩阵的列对应图像的宽(单位像素)。 数字图像与图像矩阵 RGB彩色空间(有源物体): 任意彩色光L的配色公式:L=r(R)+g(G)+b(...
阅读全文
摘要:queue.hpp //定义队列类,C++类非常适合于描述#ifndef QUEUE_HPP_INCLUDED#define QUEUE_HPP_INCLUDEDtypedef item_type Item; //item_type为队列中的数据类型,可以是基本数据类型也可以是自己定义的类cla...
阅读全文

浙公网安备 33010602011771号