{"type":"rich","width":"100%","title":"Interface2017\u5e7405\u6708\u53f7\u65b0\u753b\u50cf\u51e6\u7406101\u3092\u8aad\u3080","blog_url":"https://bitop.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/bitop/","published":"2018-03-22 04:28:53","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","categories":[],"author_name":"bitop","version":"1.0","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/bitop/20180322/20180322042816.png","description":"8-5 \u76f8\u5bfe\u7684\u306b\u6697\u3044\u9818\u57df\u3092\u62bd\u51fa\u3059\u308b\u300c\u30d6\u30e9\u30c3\u30af\u30fb\u30c8\u30c3\u30d7\u30cf\u30c3\u30c8\u300d import cv2 import numpy as np img_src = cv2.imread(\"data/img_8-5.bmp\") kernel = np.ones((5,5),np.uint8) img_dst = cv2.morphologyEx(img_src, cv2.MORPH_BLACKHAT, kernel) cv2.imshow(\"img_src\",img_src) cv2.imshow(\"img_dst\",img_dst) cv2.waitKey(0) cv2.destroyAllWindows()","blog_title":"bitop\u2019s diary","url":"https://bitop.hatenablog.com/entry/2018/03/22/042853","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbitop.hatenablog.com%2Fentry%2F2018%2F03%2F22%2F042853\" 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"}