<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kenmo</author_name>
  <author_url>https://blog.hatena.ne.jp/kenmo/</author_url>
  <blog_title>ゲームプログラムめも日記</blog_title>
  <blog_url>https://kenmo.hatenadiary.org/</blog_url>
  <categories>
    <anon>画像処理</anon>
  </categories>
  <description>ようやく画像処理の授業が幾何学変換に入り、 面白くなってきたので、ちょっとメモ書き。 画像の拡大処理について考えてみます。 拡大をする場合には、 拡大後のサイズを持った画像のバッファを作る そのサイズで(x,y)のループをする 元の画像に対応する色をセットする という流れになるのですが、 ポイントは、 「元の画像に対応する色をセットする」 というところですね。 画像を拡大することを「順変換」というのですが、 拡大後の画像から元の画像に変換することを「逆変換」といいます。 先ほどのループの 「元の画像に対応する色をセットする」 という部分は、 言い換えると、 「拡大後の画像の座標から、それに対応…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenmo.hatenadiary.org%2Fentry%2F20050520%2Fp1&quot; title=&quot;内挿法 - ゲームプログラムめも日記&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.d.st-hatena.com/diary/kenmo/2005-05-20.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-05-20 00:00:00</published>
  <title>内挿法</title>
  <type>rich</type>
  <url>https://kenmo.hatenadiary.org/entry/20050520/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
