{"provider_url":"https://hatena.blog","description":"8-4 \u5168\u4f53\u3078\u306e\u5f71\u97ff\u3092\u6291\u3048\u3064\u3064\u6587\u5b57\u7b49\u3092\u6d88\u305b\u308b\u300c\u30af\u30ed\u30fc\u30b8\u30f3\u30b0\u300d import cv2 import numpy as np img_src = cv2.imread(\"data/img_8-1.bmp\") kernel = np.ones((5,5),np.uint8) img_dst = cv2.morphologyEx(img_src, cv2.MORPH_CLOSE, kernel) cv2.imshow(\"img_src\",img_src) cv2.imshow(\"img_dst\",img_dst) cv2.waitKey(0) cv2.destroyAllWindows()","provider_name":"Hatena Blog","width":"100%","categories":[],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20180319/20180319054303.png","blog_title":"bitop\u2019s diary","version":"1.0","author_name":"bitop","published":"2018-03-22 04:26:27","author_url":"https://blog.hatena.ne.jp/bitop/","type":"rich","title":"Interface2017\u5e7405\u6708\u53f7\u65b0\u753b\u50cf\u51e6\u7406101\u3092\u8aad\u3080","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2018%2F03%2F22%2F042627\" 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>","height":"190","url":"https://bitop.hatenablog.com/entry/2018/03/22/042627","blog_url":"https://bitop.hatenablog.com/"}