opencv imwrite

CV_EXPORTS_W bool 
imwrite( 
  const string& filename, 
  InputArray img,
  const vector<int>& params=vector<int>()
);

filename :要写入的图像名称,或带文件路径的图像名称
img    :mat数据类型
params  :特定格式保存的特殊编码,通常可以不用

 

posted @ 2019-03-14 22:46  hehe_2014  阅读(1762)  评论(0编辑  收藏  举报