- 博客(2)
- 收藏
- 关注
原创 咕咕咕
def his_bal(im): # 统计灰度直方图 im_new = im.copy() wid, hei = im.size hist = [0] * 256 for i in range(wid): for j in range(hei): gray = int(0.3*im.getpixel((i,j))[0]+0.59*im.getpixel((i,j))[1]+0.11*im.getpixel((i,j))[2])
2020-06-13 20:19:04
99
原创 咕噜咕噜
import numpy as npfrom PIL import Imageimport queueimport matplotlib.pyplot as pltimport tkinter as tkfrom tkinter import filedialogdef get_im_path(): OpenFile = tk.Tk()#创建新窗口 OpenFile.withdraw() file_path = filedialog.askopenfilename()
2020-06-13 19:26:04
131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人