2018-01-29から1日間の記事一覧

Interface2017年05月号新画像処理101を読む

2-5 シンプルなコントラスト改善方法「コントラスト伸長」 img_src = cv2.imread("data/Mandrill.png") #最小値 min = 70 #最大 max = 200 look_up_table = np.arange(256, dtype = np.uint8) for i in range(0,255): if i < min: look_up_table[i] = 0 elif…