splineweights.h

来自「VC视频对象的跟踪提取原代码(vc视频监控源码)」· C头文件 代码 · 共 51 行

H
51
字号
/*************************************************************** * C - C++ Header * * File : 	SplineWeights.h * * Module :	SplineWeights * * Author : 	A M Baumberg * * Creation Date : Tue Jan 11 16:30:09 1994  * * Comments : 	 * ***************************************************************/#ifndef __SPLINE_WEIGHTS_H__#define __SPLINE_WEIGHTS_H__#include "realno.h"#include "Profile.h"namespace ReadingPeopleTracker{class SplineWeights{public:    static const unsigned int NO_SUBDIVISIONS;        realno *w0, *w1, *w2, *w3;    realno *dw0, *dw1, *dw2, *dw3;    unsigned int nsubs;    SplineWeights(unsigned int n = 0);    ~SplineWeights() { delete [] w0; delete [] w1; delete [] w2;     delete [] w3; delete [] dw0; delete [] dw1;    delete [] dw2; delete [] dw3; }    // some helpers// now in Profile    static void setup_spline_weights();    static realno B_func(int i, realno u);    static realno dB_func(int i, realno u);    static realno ddB_func(int i, realno u);};// nts: removed global var Mar 28 2002  extern SplineWeights* spline_weights;} // namespace ReadingPeopleTracker#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?