摘要: CV_EXPORTS_W Mat imread( const string& filename, int flags=1 ); filename:要读取的图像名称或带路径的文件名 flags:加载图像颜色类型,0:灰度,1:8位彩色,2:返回对应深度16位/32位深度的图像 阅读全文
posted @ 2019-03-14 22:59 hehe_2014 阅读(113) 评论(0) 推荐(0) 编辑
摘要: CV_EXPORTS_W void imshow( const string& winname, InputArray mat); winname:窗体名称 mat:要显示的图像数据 阅读全文
posted @ 2019-03-14 22:51 hehe_2014 阅读(341) 评论(0) 推荐(0) 编辑
摘要: CV_EXPORTS_W bool imwrite( const string& filename, InputArray img, const vector& params=vector() ); filename :要写入的图像名称,或带文件路径的图像名称 img :mat数据类型 params :特定格式保存的特殊编码,通常可以不用 阅读全文
posted @ 2019-03-14 22:46 hehe_2014 阅读(1762) 评论(0) 推荐(0) 编辑