Python-openCV對比度加強

#coding=utf-8 import cv2 import numpy as np import matplotlib.pyplot as plt img=cv2.imread('timg.jpeg',cv2.CV_LOAD_IMAGE_GRAYSCALE) h,w=img.shape '''分段線性變換''' ''' img=np.array(img,dtype=np.uint8) fo
相關文章
相關標籤/搜索