www.pudn.com > moisac_face_detect.rar > ImagePr.h
#if !defined(AFX_IMAGEPR_H__4528C3B5_53E3_11D7_B637_000021B00837__INCLUDED_)
#define AFX_IMAGEPR_H__4528C3B5_53E3_11D7_B637_000021B00837__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ImagePr.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ImagePr window
class ImagePr : public CWnd
{
// Construction
public:
ImagePr();
// Attributes
public:
COLORREF * myPArray;
UINT myPHeight;
UINT myPWidth;
struct sHSI
{
double H;
double S;
double I;
};
sHSI * myHSIArray;
struct tpXYU
{
int X;
int Y;
int U;
};
tpXYU * recdArray;
// Operations
public:
void ReadDIB(CString fName);
void Histogram(char space);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(ImagePr)
//}}AFX_VIRTUAL
// Implementation
public:
void ShowMosaic();
void TestMosaic();
void mosaic(double *image,int n);
void LTmosaic(double *image,int n);
void FaceDection();
//void FeatherDection();
void HSItrans(char tp);
virtual ~ImagePr();
// Generated message map functions
protected:
//{{AFX_MSG(ImagePr)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IMAGEPR_H__4528C3B5_53E3_11D7_B637_000021B00837__INCLUDED_)