C++用Opencv将图片转化为灰度图并保存

上传者: taojian1 | 上传时间: 2019-12-21 21:14:05 | 文件大小: 4.73MB | 文件类型: rar
将彩色图片转化为灰度图,修改代码中的文件名即可,不需要修改文件路径。 将待转化的图片放到before文件夹中,生成的灰度图会保存到after文件夹中

文件下载

资源详情

[{"title":"( 28 个子文件 4.73MB ) C++用Opencv将图片转化为灰度图并保存","children":[{"title":"to_gray - 副本","children":[{"title":"To_gray","children":[{"title":"To_gray","children":[{"title":"pch.h <span style='color:#111;'> 614B </span>","children":null,"spread":false},{"title":"before","children":null,"spread":false},{"title":"To_gray.cpp <span style='color:#111;'> 2.72KB </span>","children":null,"spread":false},{"title":"pch.cpp <span style='color:#111;'> 188B </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"vc141.pdb <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"To_gray.obj <span style='color:#111;'> 123.69KB </span>","children":null,"spread":false},{"title":"To_gray.tlog","children":[{"title":"CL.read.1.tlog <span style='color:#111;'> 22.19KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 6.30KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 666B </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.37KB </span>","children":null,"spread":false},{"title":"To_gray.lastbuildstate <span style='color:#111;'> 214B </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false}],"spread":true},{"title":"pch.obj <span style='color:#111;'> 3.86KB </span>","children":null,"spread":false},{"title":"vc141.idb <span style='color:#111;'> 219.00KB </span>","children":null,"spread":false},{"title":"To_gray.pch <span style='color:#111;'> 1.94MB </span>","children":null,"spread":false},{"title":"To_gray.log <span style='color:#111;'> 103B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"after","children":null,"spread":false},{"title":"To_gray.vcxproj.filters <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"To_gray.vcxproj <span style='color:#111;'> 8.21KB </span>","children":null,"spread":false},{"title":"To_gray.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false}],"spread":true},{"title":".vs","children":[{"title":"To_gray","children":[{"title":"v15","children":[{"title":"ipch","children":[{"title":"AutoPCH","children":null,"spread":false},{"title":"ffce2af46cec95a2.ipch <span style='color:#111;'> 320.00KB </span>","children":null,"spread":false},{"title":"ca23c0bbd6c59027.ipch <span style='color:#111;'> 320.00KB </span>","children":null,"spread":false}],"spread":true},{"title":".suo <span style='color:#111;'> 16.00KB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 19.02MB </span>","children":null,"spread":false},{"title":"Browse.VC.opendb <span style='color:#111;'> 46B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"x64","children":[{"title":"Debug","children":[{"title":"To_gray.pdb <span style='color:#111;'> 788.00KB </span>","children":null,"spread":false},{"title":"To_gray.ilk <span style='color:#111;'> 501.25KB </span>","children":null,"spread":false},{"title":"To_gray.exe <span style='color:#111;'> 72.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"To_gray.sln <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明