WvltTrans.h
上传用户:aqingfeng
上传日期:2014-03-25
资源大小:1839k
文件大小:2k
- // WvltTrans.h: interface for the CWvltTrans class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_WVLTTRANS_H__8C88AEF3_27D1_434A_8800_1EF7ECC0AF93__INCLUDED_)
- #define AFX_WVLTTRANS_H__8C88AEF3_27D1_434A_8800_1EF7ECC0AF93__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CWvltTrans
- {
- public:
- CWvltTrans();
- virtual ~CWvltTrans();
- public:
- //unsigned char** m_OriginData;
- //unsigned char** m_TransData0, m_TansData1;
- public:
- //图像小波变换的逆变换
- void DWTi_Once(short** spData, short** spTransData0, short** spTransData1, int nHeight, int nHeight_H, int nWidth, int nWidth_H, int layer, float fRadius);
- //三次小波变换
- void DWT_TriLayers(short** spOriginData, short** spTransData0, short** spTransData1, int nHeight, int nHeight_H, int nWidth, int nWidth_H, int layer, float fRadius);
- //两次小波变换
- void DWT_TwoLayers(short** spOriginData, short** spTransData0, short** spTransData1, int nHeight, int nHeight_H, int nWidth, int nWidth_H, int layer, float fRadius);
- //一次小波变换
- void DWT_Once(short** spOriginData, short** spTransData0, short** spTransData1, int nHeight, int nHeight_H, int nWidth, int nWidth_H, int layer, float fRadius);
- //竖直方向的小波变换
- void Vert_Transform(short** spOriginData, short** spTransData1, int nHeight_H, int nWidth, float fRadius);
- //水平方向的小波变换
- void Hori_Transform(short** spOriginData, short** spTransData0, int nHeight, int nWidth_H, float fRadius);
- };
- #endif // !defined(AFX_WVLTTRANS_H__8C88AEF3_27D1_434A_8800_1EF7ECC0AF93__INCLUDED_)