<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>C# / 応用</anon>
  </categories>
  <description>■ はじめに https://blogs.yahoo.co.jp/dk521123/38055503.html の続き。 今回は、実用面でなく、画像の回転を通してアフィン変換を理解する。 ■ 自作で任意角度で画像を回転する 実装方法 【１】画像の中心を原点に平行移動 【２】指定した角度で回転 【３】描画領域の中心に表示するように平行移動 * 画像を回転する場合、原点(0, 0)ではなく画像の中心周りに回転させる =&gt; [1] 画像の中心を原点(0, 0)にするため、 入力画像の幅 width/2 と 高さ height/2 を引く =&gt; [2] 変換後の座標x', y'は、出力画像の中心にする…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F38093149&quot; title=&quot;【C#】画像処理 ～ アフィン変換で任意角度の回転を自作する ～ - プログラム の超個人的なメモ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-05 01:03:07</published>
  <title>【C#】画像処理 ～ アフィン変換で任意角度の回転を自作する ～</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/38093149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
