{"version":"1.0","categories":[],"author_url":"https://blog.hatena.ne.jp/bitop/","title":"Interface2017\u5e7405\u6708\u53f7\u65b0\u753b\u50cf\u51e6\u7406101\u3092\u8aad\u3080","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20180212/20180212062412.png","blog_title":"bitop\u2019s diary","height":"190","published":"2018-02-15 05:57:28","author_name":"bitop","provider_name":"Hatena Blog","type":"rich","url":"https://bitop.hatenablog.com/entry/2018/02/15/055728","blog_url":"https://bitop.hatenablog.com/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2018%2F02%2F15%2F055728\" 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>","description":"A-3 \u6fc3\u6de1\u3092\u7db2\u76ee\u306e2\u5024\u30d1\u30bf\u30fc\u30f3\u3067\u8868\u73fe\u3059\u308b\u300c\u30d9\u30a4\u30e4\u30fc\u578b\u30cf\u30fc\u30d5\u30c8\u30fc\u30cb\u30f3\u30b0\u300d from random import random img_src = cv2.imread(\"data/img_A-3.bmp\") img_dst = np.empty_like(img_src) #\u5ea7\u6a19\u306e\u5927\u304d\u3055 eight = img_src.shape[0] width = img_src.shape[1] patt = np.array([[0,8,2,10], [12,4,14,6], [3,11,1,9], [15,7,13,5]]) for y in range(0,eight-1,4): for x in\u2026","provider_url":"https://hatena.blog"}