<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>KesaranPa</author_name>
  <author_url>https://blog.hatena.ne.jp/KesaranPa/</author_url>
  <blog_title>けさらんぱの自由帳</blog_title>
  <blog_url>https://kesaranpa.hatenablog.com/</blog_url>
  <categories>
    <anon>画像・動画</anon>
  </categories>
  <description>たくさんの画像のコントラストを上げようとしたのですが、どんなアプリを使えばいいのかわからず、そもそもコントラストを上げると言っても、単純に値の上下数%を飽和させる方法とか、イコライザを使う方法とかいくつもあるようなので、自分の勉強も兼ねて適当に実装してみることにしました。今回はとりあえず目的に合っていそうだった、シグモイド関数を使ったコントラスト強調を試してみます。 ガンマ補正 いきなり本題とは少しずれた話題ですが、ほとんどのカラーの画像（sRGBの画像）ファイルにはガンマ補正がかかった値が格納されています（sRGBではない、例えばHDRの画像やグレースケールの画像はガンマ補正がないっぽいです…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkesaranpa.hatenablog.com%2Fentry%2F2018%2F02%2F10%2F211641&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>http://chart.apis.google.com/chart?cht=tx&amp;chl=%7B%5Cdisplaystyle%0Ay%20%3D%20x%5E%5Cfrac%7B1%7D%7B%5Cgamma%7D%2C%20%5Cgamma%3D2.2%0A%7D</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-02-10 21:16:41</published>
  <title>シグモイド関数でコントラスト強調</title>
  <type>rich</type>
  <url>https://kesaranpa.hatenablog.com/entry/2018/02/10/211641</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
