标签:net iplimage div std color 图片 .net str gui
1.图片读取
http://blog.csdn.net/hujingshuang/article/details/47184717
include <iostream> #include <opencv2/highgui/highgui.hpp> using namespace cv; using namespace std; int main() { //①老版 IplImage *pic = cvLoadImage("lena.jpg", 1); cvShowImage("load", pic); cvWaitKey(0); //②新版 Mat img = imread("lena.jpg"); imshow("read", img); waitKey(0); return 0; }
标签:net iplimage div std color 图片 .net str gui
原文地址:http://www.cnblogs.com/yamin/p/7519667.html