資源簡介
圖像中最大值,最小值,平均值 ,直方圖統計,直方圖均衡,中值濾波,均值濾波,FFT DCT,以及銳化處理,噪聲,旋轉平移縮放
代碼片段和文件信息
#include?“StdAfx.h“
#include?“Ccomplex.h“
complex::complex()
{
real=0;
imag=0;
}
complex::complex(double?rdouble?i)
{
//構造函數
real=r;
imag=i;
}
complex::complex(double?r)
{
//構造函數
real=r;
imag=0;
}
complex::complex(int?Nint?nint?k)
{
//構造指數函數exp(2*pi/N*k
double?zhishu(2*pi/N*k*n);?//指數
real=cos(zhishu);
imag=-sin(zhishu);
}
complex?operator?+(complex?c1complex?c2)???//重載復數加法
{
complex?result;
result.real=c1.real+c2.real;
result.imag=c1.imag+c2.imag;
return?result;
}
?complex??operator?-(complex?c1complex?c2)???//重載復數減法
{
complex?result;
result.real=c1.real-c2.real;
result.imag=c1.imag-c2.imag;
return?result;
}
?complex?operator?*(complex?c1complex?c2)???//重載復數乘法
{
complex?result;
result.real=c1.real*c2.real-c
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1396??2012-04-22?16:12??vc_showdib_2011_Demo\showdib\Ccomplex.cpp
?????文件????????785??2012-04-22?16:20??vc_showdib_2011_Demo\showdib\Ccomplex.h
?????文件???????9585??2012-05-02?21:19??vc_showdib_2011_Demo\showdib\Debug\Ccomplex.obj
?????文件???????5570??2012-05-02?21:19??vc_showdib_2011_Demo\showdib\Debug\Ccomplex.sbr
?????文件??????87188??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\DIB.obj
?????文件?????119897??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\DIB.sbr
?????文件??????40708??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\fft1.obj
?????文件?????101871??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\fft1.sbr
?????文件??????15078??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\MainFrm.obj
?????文件???????4914??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\MainFrm.sbr
?????文件?????151618??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.exe
?????文件?????484476??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.ilk
?????文件??????22558??2012-05-03?13:45??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.obj
?????文件????4429352??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.pch
?????文件?????533504??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.pdb
?????文件???????8132??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.res
?????文件??????11010??2012-05-03?13:45??vc_showdib_2011_Demo\showdib\Debug\ShowDIB.sbr
?????文件??????14349??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\ShowDIBDoc.obj
?????文件???????5035??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\ShowDIBDoc.sbr
?????文件??????47616??2012-05-03?13:45??vc_showdib_2011_Demo\showdib\Debug\ShowDIBView.obj
?????文件??????14336??2012-05-03?13:45??vc_showdib_2011_Demo\showdib\Debug\ShowDIBView.sbr
?????文件??????53717??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\StdAfx.obj
?????文件?????815934??2012-05-02?21:18??vc_showdib_2011_Demo\showdib\Debug\StdAfx.sbr
?????文件?????205824??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\vc60.idb
?????文件?????167936??2012-05-03?20:17??vc_showdib_2011_Demo\showdib\Debug\vc60.pdb
?????文件??????22596??2012-05-03?20:19??vc_showdib_2011_Demo\showdib\DIB.cpp
?????文件???????1491??2012-05-03?13:45??vc_showdib_2011_Demo\showdib\DIB.h
?????文件???????2118??2012-05-02?20:38??vc_showdib_2011_Demo\showdib\fft1.cpp
?????文件????????367??2012-05-02?20:34??vc_showdib_2011_Demo\showdib\fft1.h
?????文件???????5336??2012-04-22?16:12??vc_showdib_2011_Demo\showdib\file.cpp
............此處省略31個文件信息
- 上一篇:各種運動補償算法
- 下一篇:編譯原理實驗decaf_PA3
評論
共有 條評論