IMAGEAREAPROCESSES.H
上传用户:alisonmail
上传日期:2013-02-28
资源大小:500k
文件大小:1k
- // ImageAreaProcesses.h
- #ifndef __IMAGEAREAPROCESSES_H__
- #define __IMAGEAREAPROCESSES_H__
- #include "ImageObject.h"
- class CImageAreaProcesses
- {
- public:
- CImageAreaProcesses();
- CImageAreaProcesses( CImageObject * );
- BOOL MedianFilter( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- BOOL ChangeContrast( int, int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- BOOL EqualizeContrast( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, int nThresholdFactor = -1, CImageObject *pImageObject = NULL );
- BOOL HighpassFilter( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- BOOL LowpassFilter( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, DWORD *dwFact = NULL, CImageObject *pImageObject = NULL );
- BOOL EdgeEnhance( int nX1 = -1, int nY1 = -1, int nX2 = -1, int nY2 = -1, CImageObject *pImageObject = NULL );
- protected:
- int *GetHistogram( int, int, int, int );
- int *CreateHistogram( int, int, int, int, unsigned char *, RGBQUAD *, int );
- CImageObject *m_pImageObject;
- };
- #endif