C++ opencv中出现错误未定义的标识符"cvQueryHistValue_1D"

加上下面的引用即可:

 #define cvQueryHistValue_1D( hist, idx0 ) \
    ((float)cvGetReal1D( (hist)->bins, (idx0)))

 

猜你喜欢

转载自blog.csdn.net/weixin_42258743/article/details/89447891