摘要:
#灰度图片均衡化 img = cv2.imread('yqk.jpg',0) img_info = img.shape height = img_info[0] width = img_info[1] count_g = np.zeros(256,np.float) #每个像素出现的次数 for i 阅读全文
摘要:
import numpy as np import cv2 import matplotlib.pyplot as plt img = cv2.imread('yqk.jpg') img_info = img.shape height = img_info[0] width = img_info[1 阅读全文