转自http://www.cnblogs.com/edver/p/5187190.html
IplImage * ipl = ...;
cv::Mat m = cv::cvarrToMat(ipl); // default additional arguments: don't copy data.
转自http://www.cnblogs.com/edver/p/5187190.html
IplImage * ipl = ...;
cv::Mat m = cv::cvarrToMat(ipl); // default additional arguments: don't copy data.