<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cvl-robot</author_name>
  <author_url>https://blog.hatena.ne.jp/cvl-robot/</author_url>
  <blog_title>cvl-robot's diary</blog_title>
  <blog_url>https://cvl-robot.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>すごく簡単な問題のはずなのに、上手くやる方法が分からなくてちょっと悩んだので自分向けメモ。 テンプレートマッチングの窓を画像範囲いっぱいまで取りたいのに、メモリが確保されてないから窓の切り出しが面倒くさい、と思ったことありません？*1 図.目標座標にメモリが無い問題 図.安易な解決法（IF文で条件わけ） 図.今のところの解決案 Mat clipCopy(InputArray _src, int cx, int cy, int w, int h, bool flag_larged = false){ Mat src = _src.getMat(); Mat dst; Mat larged; if…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcvl-robot.hateblo.jp%2Fentry%2F2014%2F02%2F06%2F231731&quot; title=&quot;(OpenCV小ネタ)テンプレートマッチングの画像エッジ部分のウィンドウ切り出し方法 - cvl-robot&amp;#39;s diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/c/cvl-robot/20140206/20140206231230.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-02-06 23:17:31</published>
  <title>(OpenCV小ネタ)テンプレートマッチングの画像エッジ部分のウィンドウ切り出し方法</title>
  <type>rich</type>
  <url>https://cvl-robot.hateblo.jp/entry/2014/02/06/231731</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
