IMAGEAREAPROCESSES.H
资源名称:imageview.zip [点击查看]
上传用户:gz_nwdz
上传日期:2007-01-12
资源大小:527k
文件大小:1k
源码类别:
图形图象
开发平台:
Visual C++
- // 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
English
