{"height":"190","provider_name":"Hatena Blog","version":"1.0","url":"https://ni4muraano.hatenablog.com/entry/2017/01/23/000000_1","published":"2017-01-23 00:00:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fni4muraano.hatenablog.com%2Fentry%2F2017%2F01%2F23%2F000000_1\" title=\"\u3010OpenCV\u3011 \u753b\u50cf\u306b\u81a8\u5f35\u51e6\u7406\u3092\u9069\u7528\u3059\u308b - \u65c5\u884c\u597d\u304d\u306a\u30bd\u30d5\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://ni4muraano.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/ni4muraano/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/ni4muraano/20170116/20170116112916.jpg","title":"\u3010OpenCV\u3011 \u753b\u50cf\u306b\u81a8\u5f35\u51e6\u7406\u3092\u9069\u7528\u3059\u308b","width":"100%","provider_url":"https://hatena.blog","description":"OpenCV\u306e\u5fa9\u7fd2\u304c\u5fc5\u8981\u306b\u306a\u3063\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\u3002 // \u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u3067\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3080 UMat source; imread(argv[1], CV_LOAD_IMAGE_GRAYSCALE).copyTo(source); if (source.empty()) { throw runtime_error(\"Failed to open image\"); } // \u753b\u50cf\u306e\u81a8\u5f35\u3092\u884c\u3046 Mat kernel; // 3x3 Point center = Point(-1, -1); // \u30a2\u30f3\u30ab\u30fc\u306f\u30ab\u30fc\u30cd\u30eb\u4e2d\u5fc3 int iteration = 1; // \u81a8\u5f35\u5b9f\u65bd\u56de\u6570 UMat dest\u2026","author_name":"ni4muraano","categories":["C++","OpenCV","\u753b\u50cf\u51e6\u7406"],"blog_title":"\u65c5\u884c\u597d\u304d\u306a\u30bd\u30d5\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5099\u5fd8\u9332"}