|
发表于 2011-4-27 10:40:09
|
显示全部楼层
EMCV:可在DSP上运行的OpenCV
请问一下 我编译出错下面几个错误 不知道如何修改 请哪位高手帮我修改一下 谢谢
struct CvComplex32f
{
float re, im;
CvComplex32f() {}
CvComplex32f( float _re, float _im=0 ) : re(_re), im(_im) {}
explicit CvComplex32f( const CvComplex64f& v );
//CvComplex32f( const CvComplex32f& v ) : re(v.re), im(v.im) {}
//CvComplex32f& operator = (const CvComplex32f& v ) { re = v.re; im = v.im; return *this; }
operator CvComplex64f() const
}; 错误是:_cxcore.h", line 104: error: expected a ";"
icvCopyReplicateBorder_8u( const uchar* src, int srcstep, CvSize srcroi,
uchar* dst, int dststep, CvSize dstroi,
int left, int right, int cn, const uchar* value=0 );错误是_cvimgproc.h", line 82: error: expected a ")"
CV_INLINE double icvDotProduct_32f( const float* src1, const float* src2, int len )
{ int i=0;
double s = 0;
for( int i = 0; i < len; i++ ) s +=src1*src2;
icvCheckVector_64f( &s, 1 );
return s;
} 错误是_cvmatrix.h", line 97: error: expected an expression
IPCVAPI_EX( CvStatus, icvOpticalFlowPyrLK_8u_C1R,
"ippiOpticalFlowPyrLK_8u_C1R", CV_PLUGINS1(CV_PLUGIN_IPPCV),
( CvPyramid *pPyr1, CvPyramid *pPyr2,
const float *pPrev, float* pNext, char *pStatus,
float *pError, int numFeat, int winSize,
int maxLev, int maxIter, float threshold, void* state )) 错误是_cvipp.h", line 696: error: identifier "CvPyramid" is undefined |
|