cv2.imwrite灰度图
时间: 2023-10-19 13:31:45 浏览: 113
cv2.imwrite函数是OpenCV库中用于保存图像的函数。它可以将图像保存到指定的文件路径中。在灰度图像的处理中,cv2.imwrite函数可以将灰度图像保存为指定的文件。[1]<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Opencv学习笔记——彩色转灰度图像](https://blog.csdn.net/cool_grubby/article/details/101457020)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [使用python将图片改为灰度图或黑白图](https://blog.csdn.net/weixin_44799217/article/details/123897605)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文