本文主要是介绍错误解析-“cvGetHistValue_ND”: 找不到标识符,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
编译环境:OpenCV2.4.8 + VS2012
解决办法:
对应加入:
#define cvGetHistValue_1D( hist, idx0 ) ((float*)(cvPtr1D( (hist)->bins, (idx0), 0 ))
#define cvGetHistValue_2D( hist, idx0, idx1 ) ((float*)(cvPtr2D( (hist)->bins, (idx0), (idx1), 0 ))
#define cvGetHistValue_3D( hist, idx0, idx1, idx2 ) ((float*)(cvPtr3D( (hist)->bins, (idx0), (idx1), (idx2), 0 ))
#define cvGetHistValue_nD( hist, idx ) ((float*)(cvPtrND( (hist)->bins, (idx), 0 ))编译通过
这篇关于错误解析-“cvGetHistValue_ND”: 找不到标识符的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!