// PMImage.h: interface for the CPMImage class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_PMIMAGE_H__0F4489E5_50DA_42A5_9972_48390AD3AF10__INCLUDED_) #define AFX_PMIMAGE_H__0F4489E5_50DA_42A5_9972_48390AD3AF10__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "bitmap.h" class CPMImage : public CBitmap { private: int Resolution; char *FileName; public: int MakeDifference(char *FileName, int Rate, char *OutFileName); int Opening(int Rate); int Closing(int Rate); int Smooth(int Rate); int SaveToPGMFile(char *SFileName); int SaveToPPMFile(char *SFileName); int LoadFromPPMFile(char *LFileName); CPMImage(int x, int y); int LoadFromPGMFile(char *LFileName); CPMImage(char* LFileName); char* GetFileName(); CPMImage(); virtual ~CPMImage(); }; #endif // !defined(AFX_PMIMAGE_H__0F4489E5_50DA_42A5_9972_48390AD3AF10__INCLUDED_)