<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arikui</author_name>
  <author_url>https://blog.hatena.ne.jp/arikui/</author_url>
  <blog_title>f8g</blog_title>
  <blog_url>https://arikui.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Javascript</anon>
  </categories>
  <description>画像濃度変換処理 濃度の最小値が0, 最大値が255になるようにする濃度変換。与える関数は、 var f = function(x){ var a = 255 / (max - min); var b = - a * min; return a * x + b; }; 一般的な画像では最大値≒255、最小値≒0ということが多いので、見た目で変わってくることはほとんどない、と思う。明るさの調節と一緒に使うと効果が分かりやすい。 これ使用 ImageProcessing.Color.prototype.intensity = function(v){ return new Color(this.r…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farikui.hatenadiary.jp%2Fentry%2F20080816%2F1218847816&quot; title=&quot;自動コントラスト - f8g&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://gyazo.com/80bb62e01db51c19c82100ea02265a5d.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-08-16 09:50:16</published>
  <title>自動コントラスト</title>
  <type>rich</type>
  <url>https://arikui.hatenadiary.jp/entry/20080816/1218847816</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
