在MFC内竟然不可以解析“Mat”

调试了好久,在MFC内竟然不可以解析“Mat”

总是显示"Mat"没有定义,改动include、lib、依赖库,

不断地改动:

#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "cv.h"



还是不能显示,最后想起来是须要:

using namespace cv;
using namespace std;



 

 

 

 

posted @ 2014-05-28 09:26  blfshiye  阅读(258)  评论(0编辑  收藏  举报