{"type":"rich","published":"2017-01-20 00:00:00","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/n/ni4muraano/20170116/20170116101858.jpg","width":"100%","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/ni4muraano/","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(\"lenna.jpg\", CV_LOAD_IMAGE_GRAYSCALE).copyTo(source); if (source.empty()) { throw runtime_error(\"Failed to open image\"); } // \u30a8\u30c3\u30b8\u3092\u691c\u51fa\u3059\u308b int ksize = 3; UMat destination; Laplacian(source, destination, source.depth(), ksize); imshow(\"so\u2026","version":"1.0","provider_name":"Hatena Blog","title":"\u3010OpenCV\u3011 \u753b\u50cf\u306b\u30a8\u30c3\u30b8\u691c\u51fa\u30d5\u30a3\u30eb\u30bf\u3092\u9069\u7528\u3059\u308b\uff08Laplacian\u30d5\u30a3\u30eb\u30bf\uff09","height":"190","author_name":"ni4muraano","url":"https://ni4muraano.hatenablog.com/entry/2017/01/20/000000_1","blog_url":"https://ni4muraano.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fni4muraano.hatenablog.com%2Fentry%2F2017%2F01%2F20%2F000000_1\" title=\"\u3010OpenCV\u3011 \u753b\u50cf\u306b\u30a8\u30c3\u30b8\u691c\u51fa\u30d5\u30a3\u30eb\u30bf\u3092\u9069\u7528\u3059\u308b\uff08Laplacian\u30d5\u30a3\u30eb\u30bf\uff09 - \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>","blog_title":"\u65c5\u884c\u597d\u304d\u306a\u30bd\u30d5\u30c8\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u5099\u5fd8\u9332","categories":["C++","OpenCV","\u753b\u50cf\u51e6\u7406"]}