OpenCV C++ and cvSmooth

后端 未结 2 1668
误落风尘
误落风尘 2021-01-24 02:54

Anyone know what could be problem:

cvSmooth(origImage, grayImage1, CV_BLUR,3);

I received error:

error: cannot convert `cv::Mat\         


        
2条回答
  •  面向向阳花
    2021-01-24 03:30

    Be careful not to mix the OpenCV 1.x API (CvArr) with the 2.x API (cv::Mat). I guess you tried an example from somewhere.

提交回复
热议问题