{"blog_url":"https://bitop.hatenablog.com/","provider_url":"https://hatena.blog","blog_title":"bitop\u2019s diary","url":"https://bitop.hatenablog.com/entry/2018/01/25/054040","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/bitop/","author_name":"bitop","title":"Interface2017\u5e7405\u6708\u53f7\u65b0\u753b\u50cf\u51e6\u7406101\u3092\u8aad\u3080","categories":[],"published":"2018-01-25 05:40:40","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2018%2F01%2F25%2F054040\" title=\"Interface2017\u5e7405\u6708\u53f7\u65b0\u753b\u50cf\u51e6\u7406101\u3092\u8aad\u3080 - bitop\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20180115/20180115053703.png","version":"1.0","description":"2-4 \u3055\u3056\u306a\u307f\u306e\u3088\u3046\u306a\u3086\u308c\u30a8\u30d5\u30a7\u30af\u30c8\u300c\u6b63\u5f26\u6ce2\u63fa\u3089\u304e\u300d img_src = cv2.imread(\"data/Mandrill.png\") img_gray = cv2.cvtColor(img_src,cv2.COLOR_RGB2GRAY) #\u5468\u6ce2\u6570 f = 7.0 #\u632f\u5e45 A = 0.3 #\u753b\u9762\u306e\u6a2a\u65b9\u5411\u5ea7\u6a19 #x #width #X img_dst = np.zeros_like(img_gray) Y = img_gray.shape[0] X = img_gray.shape[1] for y in range(Y): for x in range(X): p = (A * np.si\u2026","type":"rich"}