2018-02-25から1日間の記事一覧

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

4-4 水平方向に揺らめかせる「サイン揺らぎ(水平)」 img_src = cv2.imread("data/img_4-4.bmp") #振幅 A = 50 #dst画像用意 img_dst = np.zeros_like(img_src) Y = img_src.shape[0] X = img_src.shape[1] for y in range(Y): for x in range(X): y2 = int…