FILLED is not a menber of 'cv' in opencv2.4.9


opencv3里面有这个变量:

cv::FILLED

到了2.4.*版本,没有了,可以用CV_FILLED替代:

cvScalar(255,0,0,0) ,CV_FILLED, CV_AA, 0 );


/home/ubuntu/lbg/KcfDsst/3rdparty/cv_ext/shift.hpp:47: error: 'BORDER_CONSTANT' is not a member of 'cv'
     int fill = cv::BORDER_CONSTANT,


/home/ubuntu/lbg/KcfDsst/cf_libs/common/math_helper.hpp:152: error: 'BORDER_WRAP' is not a member of 'cv'
         shift(y, y, delta, cv::BORDER_WRAP);

/home/ubuntu/lbg/KcfDsst/cf_libs/common/math_helper.hpp:298: error: 'BORDER_REPLICATE' is not a member of 'cv'
                 diffTopX, -diffBottomX, cv::BORDER_REPLICATE);

Jiej:

#include "opencv2/imgproc/imgproc.hpp"


版权声明:本文为jacke121原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。