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
相关文章
相关标签/搜索