opencv 像素訪問及色彩空間分離合並

import numpy as np import cv2 as cv import matplotlib.pyplot as plt img = cv.imread(‘D:/lene.jpg’,1) px = img[400,400] print(px) ROI = img[280:340,330:390] #選取ROI img[273:333,100:160] = ROI #圖像的原始區域用R
相關文章
相關標籤/搜索