{"title":"opencv \u3067 \u9bae\u92ed\u5316","categories":["opencv"],"author_url":"https://blog.hatena.ne.jp/pongsuke/","url":"https://pongsuke.hatenadiary.jp/entry/2018/03/27/130251","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpongsuke.hatenadiary.jp%2Fentry%2F2018%2F03%2F27%2F130251\" title=\"opencv \u3067 \u9bae\u92ed\u5316 - \u6a5f\u68b0\u5b66\u7fd2\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>","width":"100%","blog_title":"\u6a5f\u68b0\u5b66\u7fd2\u5099\u5fd8\u9332","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/pongsuke/20180327/20180327143130.png","author_name":"pongsuke","type":"rich","blog_url":"https://pongsuke.hatenadiary.jp/","version":"1.0","published":"2018-03-27 13:02:51","description":"\u9bae\u92ed\u5316 / \u30a2\u30f3\u30b7\u30e3\u30fc\u30d7\u30de\u30b9\u30ad\u30f3\u30b0 \u3092\u884c\u3044\u307e\u3059\u3002 \u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u306f\u767b\u5834\u3057\u306a\u3044\u3057\u3001\u5c02\u7528\u306e\u95a2\u6570\u3082\u7121\u3044\u306e\u3067\u3059\u304c\u3001cvFilter2D \u3067\u3001kernel \u306b\u30de\u30a4\u30ca\u30b9\u3092\u4f7f\u7528\u3057\u3066\u9069\u7528\u3059\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3059\u308b\u3088\u3046\u3067\u3059\u3002 filter2D \u4f7f\u7528\u3059\u308b\u30ab\u30fc\u30cd\u30eb\u306f 0, \u22121, 0 \u22121, 5, \u22121, 0, \u22121, 0 \u22121, \u22121, \u22121 \u22121, 9, \u22121, \u22121, \u22121, \u22121 \u306a\u3069\u3067\u3059\u3002 \u7d50\u679c \u30aa\u30ea\u30b8\u30ca\u30eb 4\u8fd1\u508d 8\u8fd1\u508d #!/usr/bin/env python # -*- coding: utf-8 -* import sys import cv2 import numpy as np def main(\u2026","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","height":"190"}