目录 1.2.2.1定义 1.2.2.3拷贝 1.7.2腐蚀 1.7.3膨胀 2.2.2GrabCut法 一、图像处理基础篇 1.1.1常用API API定义:namedWindow(const String &winname,int flags); 显示窗口:imshow(); 销毁窗口:destroyAllWindows(); 窗口大小:resizeWindow(); 1.1.2读图片并显示 Mat mImage=imread("C:/Users/xtf_a/Desktop/QTLearn/OpenCVLearn/01/pear.jpg"); namedWindow("图片",WINDOW_NORMAL); imshow("图片",mImage); int iKey=waitKey(0); destroyAllWindows(); 1.1.3获取视频并显示 //打开摄像头常用的API: //open()—打开视频文件或者摄像头; //isOpen()—判断读取视频文件是否正确,正确返回true; //release()—关闭视频流文件; //Grab()...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Onmousre
Contact Onmousre, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack