www.pudn.com > OPENCV_SIFT_VC6.rar > KeyPoint.h


// KeyPoint.h: interface for the CKeyPoint class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_KEYPOINT_H__B0CC544E_6CA8_4328_88B5_1238638D06F6__INCLUDED_) 
#define AFX_KEYPOINT_H__B0CC544E_6CA8_4328_88B5_1238638D06F6__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "cv.h" 
 
class CKeyPoint   
{ 
 
public: 
	void CapAndNormalizeFV (double fvGradHicap); 
	double FVGet (int xI, int yI, int oI); 
	void FVSet (int xI, int yI, int oI, double value); 
	IplImage* m_gaussImg; 
	double m_x,m_y; 
	// relative dimension of input img relative to img used to build this key point (1,2,4,8,...) 
	double m_imgScale; 
	// m_kpScale = octaveSigma * exp (((point.m_level + point.m_fineS) / scaleCount) * log(2)); 
	double m_kpScale;  
	double m_orientation; 
	int m_xDim,m_yDim,m_oDim; 
	double *m_featureVec; 
 
	CKeyPoint (IplImage* gaussImg, double x, double y, double imgScale, 
		double kpScale, double orientation); 
	void CreateVector (int xDim, int yDim, int oDim); 
	virtual ~CKeyPoint(); 
 
}; 
 
#endif // !defined(AFX_KEYPOINT_H__B0CC544E_6CA8_4328_88B5_1238638D06F6__INCLUDED_)