www.pudn.com > spacial.rar > MyDib.h


#pragma once 
#ifndef IMAGEPROCESSING_H 
#define IMAGEPROCESSING_H 
#include "cdib.h" 
 
class CMyDib : 
	public CDib 
{ 
public: 
	 
	CMyDib(void); 
	CMyDib(CSize size, int nBitCount); 
	~CMyDib(void); 
      
	void Negatives();	//spatial negatives 
	//void GamaTrans(double r);//power-law transformations 
    void HistEq();//histogram equalization 
	void Haar(); 
	void InverseHaar(CPoint origin=(0,0),CPoint now=(0,0)); 
	BYTE FloatToByte(double f); 
	 
 
	int haarcount; 
private: 
//	BYTE ToExtent(BYTE f); 
	void it(); 
}; 
#endif