如何不经过文件,把char*格式的jpeg图转为opencv:Mat
1个回答
展开全部
#include "D:/OpenCV-2.4.6/build/include/opencv2/core/core.hpp"
#include "D:/OpenCV-2.4.6/build/include/opencv2/highgui/highgui.hpp"
#ifndef NDEBUG
#pragma comment( lib, "D:/OpenCV-2.4.6/build/x86/vc9/lib/opencv_core246d.lib" )
#include "D:/OpenCV-2.4.6/build/include/opencv2/highgui/highgui.hpp"
#ifndef NDEBUG
#pragma comment( lib, "D:/OpenCV-2.4.6/build/x86/vc9/lib/opencv_core246d.lib" )
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询