<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kojo_Sugita</author_name>
  <author_url>https://blog.hatena.ne.jp/Kojo_Sugita/</author_url>
  <blog_title>御手洗特急途中下車</blog_title>
  <blog_url>https://kojo-sugita.hatenadiary.org/</blog_url>
  <categories>
    <anon>OpenCV</anon>
  </categories>
  <description>これは OpenCV 超初心者である私のメモです. 間違っている可能性がありますので注意してください.cvNot 関数を使用すると画像配列の各要素のビットをすべて反転することができる. これを利用すると画像のネガポシ反転を行うことができる.OpenCV を使用して, 画像を読み込み, ネガポシ反転して表示するサンプルコードを以下に示す.ソースコード /* header files */ #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;cv.h&gt; #include &lt;highgui.h&gt; /* main */ int main(void) { I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkojo-sugita.hatenadiary.org%2Fentry%2F20090327%2F1238085923&quot; title=&quot;OpenCV 画像を読み込みネガポジ反転して表示する. - 御手洗特急途中下車&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>https://cdn-ak.f.st-hatena.com/images/fotolife/K/Kojo_Sugita/20100109/20100109174341.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-27 01:45:23</published>
  <title>OpenCV 画像を読み込みネガポジ反転して表示する.</title>
  <type>rich</type>
  <url>https://kojo-sugita.hatenadiary.org/entry/20090327/1238085923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
