www.pudn.com > Videodisplay.rar > IntWT.h


// IntWT.h: interface for the CIntWT class. 
////提升格式小波变换 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_INTWT_H__CDB0559D_8D0E_402E_82CB_E241A2901B01__INCLUDED_) 
#define AFX_INTWT_H__CDB0559D_8D0E_402E_82CB_E241A2901B01__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CIntWT   
{ 
public: 
	int width,height; 
	void IntCdf97Compose(int nLevel,int nWidth,int nHeight,double* baseData,unsigned char* resultData); //97重新构造 
	void IntCdf97Decompose(int nLevel,int nWidth,int nHeight,unsigned char* baseData,double* resultData); //97分解 
	CIntWT(); 
	virtual ~CIntWT(); 
 
 
 
	BOOL IntWT_2D  ( int *pBuffer, int Form, int Level ); 
	BOOL IntWT_2D_I( int *pBuffer, int Form, int Level ); 
 
	void IDCT      ( int buffer[], int bufferLen ); 
	void IDCT_I    ( int buffer[], int bufferLen ); 
	void FDCT   ( double buffer[], int bufferLen ); 
	void FDCT_I ( double buffer[], int bufferLen ); 
 
 
//private: 
	void IntWT_97I_1D  ( int buffer[], int bufferLen ); 
	void IntWT_D4I_1D  ( int buffer[], int bufferLen ); 
	void IntWT_22_2I_1D( int buffer[], int bufferLen ); 
 
	void Interpolate_22I_1D( int buffer[], int bufferLen ); 
	void Interpolate_42I_1D( int buffer[], int bufferLen ); 
	void Interpolate_24I_1D( int buffer[], int bufferLen ); 
	void Interpolate_62I_1D( int buffer[], int bufferLen ); 
	void Interpolate_44I_1D( int buffer[], int bufferLen ); 
 
	void IntWT_26I_1D( int buffer[], int bufferLen ); 
	void IntWT_210I_1D( int buffer[], int bufferLen ); 
	void IntWT_614I_1D( int buffer[], int bufferLen ); 
	void IntWT_511AI_1D( int buffer[], int bufferLen ); 
	void IntWT_511CI_1D( int buffer[], int bufferLen ); 
	void IntWT_137CI_1D( int buffer[], int bufferLen ); 
	void IntWT_SPBI_1D( int buffer[], int bufferLen ); 
	void IntWT_SPCI_1D( int buffer[], int bufferLen ); 
	void IntWT_97MI_1D( int buffer[], int bufferLen ); 
 
	void IntWT_97_1D  ( int buffer[], int bufferLen );  
	void IntWT_D4_1D  ( int buffer[], int bufferLen ); 
	void IntWT_22_2_1D( int buffer[], int bufferLen ); 
 
	void Interpolate_22_1D( int buffer[], int bufferLen ); 
	void Interpolate_42_1D( int buffer[], int bufferLen ); 
	void Interpolate_24_1D( int buffer[], int bufferLen ); 
	void Interpolate_62_1D( int buffer[], int bufferLen ); 
	void Interpolate_44_1D( int buffer[], int bufferLen ); 
 
	void IntWT_26_1D( int buffer[], int bufferLen ); 
	void IntWT_210_1D( int buffer[], int bufferLen ); 
	void IntWT_614_1D( int buffer[], int bufferLen ); 
	void IntWT_511A_1D( int buffer[], int bufferLen ); 
	void IntWT_511C_1D( int buffer[], int bufferLen ); 
	void IntWT_137C_1D( int buffer[], int bufferLen ); 
	void IntWT_SPB_1D( int buffer[], int bufferLen ); 
	void IntWT_SPC_1D( int buffer[], int bufferLen ); 
	void IntWT_97M_1D( int buffer[], int bufferLen ); 
 
}; 
 
#endif // !defined(AFX_INTWT_H__CDB0559D_8D0E_402E_82CB_E241A2901B01__INCLUDED_)