图像位运算、掩模 原图 添加的RGB图像 1. 选取原图中的感兴趣的区域,即ROI(region of interest) 2. 将要添加的RGB图像转换成灰度图像 img2gray = cv2.cvtColor(img2