www.pudn.com > colortracker.rar > colorfeatsearch.h


#ifndef __COLORFEATSEARCH_H__ 
#define __COLORFEATSEARCH_H__ 
 
#include "mpiprobsearchaux.h" 
#include "box.h" 
 
/* ================================================================ */ 
 
struct MPColorFeatSearch { 
	ScalePyramid m_priors1, m_priors2; 
	ScalePyramid *m_priors_t, *m_priors_tnew; 
 
	bool m_recycle; 
 
	MPColorFeatSearch() {}; 
  void		initPyramids(int imageWidth, int imageHeight, double scaleUpPct, double minSizePct, int minScaleUp, double shiftPct, int minStride); 
	void		zeroPyramids(); 
	double	searchFeature (TIntegral &sumlikrat, double liknorm, TBox &besthyp, int scaledev, double hr, double shiftPct, double scaleUpPct, double minSizePct, int minScaleUp, int minStride); 
	double	getBoxSum(const TIntegral &ii, const double i, const double j, const double size); 
	void		addBoxCorners(TIntegral &ii, const double i, const double j, const double size, const double val); 
}; 
 
/* ================================================================ */ 
 
#endif  __COLORFEATSEARCH_H__