文章目录 一、缩放裁剪图像 (一)resize函数 (二)缩放图像 1、编写程序,实现功能 2、运行程序,查看结果 (三)裁剪图像 1、编写程序,实现功能 2、运行程序,查看结果 二、调整图像色调 (一)HSV色彩模式 (二)调整图像色调 1、编写程序,实现功能 2、运行程序,查看效果 (三)调整图像饱和度 1、编写程序,查看效果 2、运行程序,查看效果 (四)调整图像明暗度 1、编写程序,实现功能 2、运行程序,查看效果 三、实战总结 一、缩放裁剪图像 (一)resize函数 重调图像尺寸:img = cv2.resize(dst, (m, n)) (二)缩放图像 1、编写程序,实现功能 编写程序 - 缩放图像.py import cv2 img_old = cv2.imread('../images/hepburn.png') cv2.</