<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>画像加工  |  とりめで！</title>
	<atom:link href="https://presler-bird.com/tag/image-processing/feed/" rel="self" type="application/rss+xml" />
	<link>https://presler-bird.com</link>
	<description>「鳥」を「愛で」る、鳥情報メディア</description>
	<lastBuildDate>Thu, 20 Jul 2023 15:18:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.3.1</generator>

<image>
	<url>https://presler-bird.com/wp-content/uploads/2022/08/cropped-torimede2-32x32.png</url>
	<title>画像加工  |  とりめで！</title>
	<link>https://presler-bird.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/>	<item>
		<title>鳥の写真をAIで高解像度に！AIで超解像を行う「Upscayl」を使ってみる</title>
		<link>https://presler-bird.com/try-upscayl-for-bird-pic/</link>
					<comments>https://presler-bird.com/try-upscayl-for-bird-pic/#respond</comments>
		
		<dc:creator><![CDATA[ぷれすら]]></dc:creator>
		<pubDate>Mon, 24 Oct 2022 14:58:42 +0000</pubDate>
				<category><![CDATA[テクノロジー]]></category>
		<category><![CDATA[写真]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[画像加工]]></category>
		<guid isPermaLink="false">https://presler-bird.com/?p=155</guid>

					<description><![CDATA[鳥さんの写真をなんとか高解像度で撮影できないか悩んでいるぷれすらです！ 鳥さんの撮影って難しいですよね。被写体は小さく、羽毛は細かく、難しい要素ばかりです。少しでも解像感が落ちてしまうようなミス(手ブレ, 距離が遠すぎる [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>鳥さんの写真をなんとか高解像度で撮影できないか悩んでいるぷれすらです！</p>



<p>鳥さんの撮影って難しいですよね。<strong>被写体は小さく、羽毛は細かく、難しい要素ばかり</strong>です。少しでも解像感が落ちてしまうようなミス(手ブレ, 距離が遠すぎる, 絞りの設定を間違える, フォーカス位置の間違えetc&#8230;)を犯してしまうと露骨にそれが写真に現れてしまいます。</p>



<p>こういった難しさがあるからこそ、野鳥撮影が楽しいという側面もあるとは思います。しかし、それはそれとしてもっと楽に鳥さんの魅力を余すこと無く伝えられるような、綺麗な写真を作りたい、という自分もいます。そこで、本記事では、<strong>AIの力で超解像処理を行い、画像の解像度を上げるソフトウェア「</strong><a rel="noopener" target="_blank" href="https://github.com/upscayl/upscayl">Upscayl</a><strong>」</strong>を試してみようと思います！</p>




  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">Upscaylとは</a></li><li><a href="#toc2" tabindex="0">Upscaylを試してみる</a></li><li><a href="#toc3" tabindex="0">比較結果</a></li><li><a href="#toc4" tabindex="0">わかったこと</a></li></ol>
    </div>
  </div>

<h2 class="wp-block-heading"><span id="toc1">Upscaylとは</span></h2>



<p>UpscaylはAIを利用し画像の解像度を上げる事ができるソフトウェアです。現在でも画像の解像度を上げる方法は既にいくつか存在はします。しかし、それらは<strong>基本的にはシャープネスか、ノイズのどちらかが犠牲になるため、所謂「解像感」(解像度ではないです)だったり、「品質」が高い画像に仕上げるのはなかなか難しい</strong>という特性がありました。画像編集に手を出した方であれば、ただ解像度の設定を増やしてもいい感じの画像が得られなかった、という経験をしたことは一度くらいはあるのではないでしょうか？</p>



<p><strong>UpscaylはAIを活用することで簡単にノイズを増やさずシャープネスを向上させ、高品質な高解像度画像を得る事ができます。</strong>AIを使うとなると結構時間がかかるのではないか？という点も解決しており、GPUを活用することで、比較的高速に超解像処理を実行できます。但し、この点はデメリットにもなっており、現状は外付けのGPUを導入しないと動作しません。ご注意ください。</p>



<p>使い方は以下「ｋ本的に無料ソフト」様の記事が参考になります。お試しの際はぜひ参照してみてください！</p>



<a rel="noopener" target="_blank" href="https://www.gigafree.net/tool/resize/Upscayl.html" title="Upscayl - ｋ本的に無料ソフト・フリーソフト" class="blogcard-wrap external-blogcard-wrap a-wrap cf"><div class="blogcard external-blogcard eb-left cf"><div class="blogcard-label external-blogcard-label"><span class="fa"></span></div><figure class="blogcard-thumbnail external-blogcard-thumbnail"><img src="https://presler-bird.com/wp-content/uploads/cocoon-resources/blog-card-cache/5cfd71b94f13fd6d879f2d88998369e5.png" alt="" class="blogcard-thumb-image external-blogcard-thumb-image" width="320" height="180" /></figure><div class="blogcard-content external-blogcard-content"><div class="blogcard-title external-blogcard-title">Upscayl - ｋ本的に無料ソフト・フリーソフト</div><div class="blogcard-snippet external-blogcard-snippet">各種画像ファイルを、AIの力で綺麗に拡大してくれるソフト「Upscayl」。</div></div><div class="blogcard-footer external-blogcard-footer cf"><div class="blogcard-site external-blogcard-site"><div class="blogcard-favicon external-blogcard-favicon"><img src="https://www.google.com/s2/favicons?domain=https://www.gigafree.net/tool/resize/Upscayl.html" alt="" class="blogcard-favicon-image external-blogcard-favicon-image" width="16" height="16" /></div><div class="blogcard-domain external-blogcard-domain">www.gigafree.net</div></div></div></div></a>



<h2 class="wp-block-heading"><span id="toc2">Upscaylを試してみる</span></h2>



<p>一般的な画像拡大技術(バイキュービック法)と比較してUpscaylがどの程度優れた超解像を行えるのかを試してみようと思います。</p>



<p>以下手順で比較していきます。</p>



<ol><li>オリジナルの画像を用意する</li><li>オリジナルの画像を縮小した縮小画像を作る</li><li>各手法で縮小画像をオリジナルの画像と同等のサイズに戻した復元画像を作る</li><li>オリジナルの画像と復元画像を比較し、どの手法がオリジナルに近い状態に復元できているかを調べる</li></ol>



<p>オリジナルの画像として、本サイトが現時点でヘッダーに設定しているカワセミさんの写真を用意しました！</p>



<figure class="wp-block-image aligncenter size-medium"><img decoding="async" fetchpriority="high" width="294" height="300" src="https://presler-bird.com/wp-content/uploads/2022/10/orig_half-294x300.jpg" alt="" class="wp-image-162" srcset="https://presler-bird.com/wp-content/uploads/2022/10/orig_half-294x300.jpg 294w, https://presler-bird.com/wp-content/uploads/2022/10/orig_half-1004x1024.jpg 1004w, https://presler-bird.com/wp-content/uploads/2022/10/orig_half-768x783.jpg 768w, https://presler-bird.com/wp-content/uploads/2022/10/orig_half.jpg 1445w" sizes="(max-width: 294px) 100vw, 294px" /></figure>



<p>これを縮小した画像が以下の通りです。なお、Upscaylがピクセル数を4倍に増やす仕様となっているため、これに合わせてオリジナル画像を1/4に縮小した画像となっています。</p>



<figure class="wp-block-image aligncenter size-medium"><img decoding="async" width="294" height="300" src="https://presler-bird.com/wp-content/uploads/2022/10/4minimized_orig_half-294x300.jpg" alt="" class="wp-image-174" srcset="https://presler-bird.com/wp-content/uploads/2022/10/4minimized_orig_half-294x300.jpg 294w, https://presler-bird.com/wp-content/uploads/2022/10/4minimized_orig_half.jpg 361w" sizes="(max-width: 294px) 100vw, 294px" /></figure>



<p>この画像をどれだけオリジナルの画像に近づけられるかで勝負する、という感じです！</p>



<p>比較の際に使用したソフトウェアは以下の通りです。</p>



<ul><li>Upscayl v1.5.5</li><li>GIMP 2.10.14<ul><li>バイキュービック法による画像拡大に利用</li><li><a rel="noopener" target="_blank" href="https://www.gimp.org/">https://www.gimp.org/</a></li></ul></li></ul>



<h2 class="wp-block-heading"><span id="toc3">比較結果</span></h2>



<p>まずは一般的な手法として、バイキュービック法で拡大した画像を見てみましょう！</p>


		<div class='wp-block-icb-image-compare  align' id='icbImageCompare-57b34b03-e' data-attributes='{&quot;cId&quot;:&quot;57b34b03-e&quot;,&quot;border&quot;:{&quot;width&quot;:&quot;0px&quot;,&quot;style&quot;:&quot;solid&quot;,&quot;color&quot;:&quot;#0000&quot;,&quot;side&quot;:&quot;all&quot;,&quot;radius&quot;:&quot;0px&quot;,&quot;styles&quot;:&quot;border-radius: 0px;&quot;},&quot;beforeImg&quot;:{&quot;id&quot;:162,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/orig_half.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;orig_half&quot;},&quot;afterImg&quot;:{&quot;id&quot;:167,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/4restored_minimized_orig_half_by_cubic.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;4restored_minimized_orig_half_by_cubic&quot;},&quot;cap&quot;:&quot;\u5de6\uff1a\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf&lt;br&gt;\u53f3\uff1a\u7e2e\u5c0f\u753b\u50cf\u3092\u30d0\u30a4\u30ad\u30e5\u30fc\u30d3\u30c3\u30af\u6cd5\u3067\u62e1\u5927\u3057\u305f\u753b\u50cf&quot;,&quot;align&quot;:&quot;&quot;,&quot;alignment&quot;:&quot;center&quot;,&quot;width&quot;:&quot;80%&quot;,&quot;isSwap&quot;:false,&quot;isLabel&quot;:true,&quot;beforeLabel&quot;:&quot;&quot;,&quot;afterLabel&quot;:&quot;&quot;,&quot;labelTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:15,&quot;tablet&quot;:15,&quot;mobile&quot;:15}},&quot;labelColors&quot;:{&quot;color&quot;:&quot;#fff&quot;,&quot;bg&quot;:&quot;#00000080&quot;},&quot;labelPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;},&quot;isCap&quot;:true,&quot;capAlign&quot;:&quot;center&quot;,&quot;capTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:14,&quot;tablet&quot;:14,&quot;mobile&quot;:14}},&quot;capColors&quot;:{&quot;color&quot;:&quot;#333&quot;,&quot;bg&quot;:&quot;#f4f4f4&quot;},&quot;capPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;}}'></div>

		


<p>どうでしょうか？ピクセル数は増えて解像度はオリジナルの画像と同等にまで戻っていますが、<strong>シャープネスが足りておらず、品質の良い写真とは言えない</strong>ですね。</p>



<p>次に、Upscaylを利用して拡大した画像を見てみます。Upscaylは写真向けには「Sharpen Image」と「General Photo」の二種類の画像拡大方法を提供しています。まずはGeneral Photoで拡大したものです。</p>


		<div class='wp-block-icb-image-compare  align' id='icbImageCompare-60019819-1' data-attributes='{&quot;cId&quot;:&quot;60019819-1&quot;,&quot;border&quot;:{&quot;width&quot;:&quot;0px&quot;,&quot;style&quot;:&quot;solid&quot;,&quot;color&quot;:&quot;#0000&quot;,&quot;side&quot;:&quot;all&quot;,&quot;radius&quot;:&quot;0px&quot;,&quot;styles&quot;:&quot;border-radius: 0px;&quot;},&quot;beforeImg&quot;:{&quot;id&quot;:162,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/orig_half.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;orig_half&quot;},&quot;afterImg&quot;:{&quot;id&quot;:165,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/4restored_minimized_orig_half_by_upscayle_general_photo.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;4restored_minimized_orig_half_by_upscayle_general_photo&quot;},&quot;cap&quot;:&quot;\u5de6\uff1a\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf&lt;br&gt;\u53f3\uff1a\u7e2e\u5c0f\u753b\u50cf\u3092Upscayl\u3067Type\u3092General Photo\u3068\u8a2d\u5b9a\u3057\u3066\u62e1\u5927\u3057\u305f\u753b\u50cf&quot;,&quot;align&quot;:&quot;&quot;,&quot;alignment&quot;:&quot;center&quot;,&quot;width&quot;:&quot;80%&quot;,&quot;isSwap&quot;:false,&quot;isLabel&quot;:true,&quot;beforeLabel&quot;:&quot;&quot;,&quot;afterLabel&quot;:&quot;&quot;,&quot;labelTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:15,&quot;tablet&quot;:15,&quot;mobile&quot;:15}},&quot;labelColors&quot;:{&quot;color&quot;:&quot;#fff&quot;,&quot;bg&quot;:&quot;#00000080&quot;},&quot;labelPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;},&quot;isCap&quot;:true,&quot;capAlign&quot;:&quot;center&quot;,&quot;capTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:14,&quot;tablet&quot;:14,&quot;mobile&quot;:14}},&quot;capColors&quot;:{&quot;color&quot;:&quot;#333&quot;,&quot;bg&quot;:&quot;#f4f4f4&quot;},&quot;capPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;}}'></div>

		


<p>どうでしょうか？バイキュービック法によるものと見比べてみるとわかりやすいですが、<strong>ジャギーやノイズが抑えられており</strong>、かなりオリジナルの品質に近づけられているのではないでしょうか？流石に細かい羽毛や羽の質感すべてを再現できてはいないですが、画素数を4倍にまで増やしているにも関わらず破綻しない画像を生成できている点は凄いなーと思います。バイキュービック法では見られたような背景部分のノイズがこちらでは見られない点も嬉しいところです。</p>



<p>UpscaylでSharpen Imageを選択して拡大したものを見てみましょう。</p>


		<div class='wp-block-icb-image-compare  align' id='icbImageCompare-f612083d-d' data-attributes='{&quot;cId&quot;:&quot;f612083d-d&quot;,&quot;border&quot;:{&quot;width&quot;:&quot;0px&quot;,&quot;style&quot;:&quot;solid&quot;,&quot;color&quot;:&quot;#0000&quot;,&quot;side&quot;:&quot;all&quot;,&quot;radius&quot;:&quot;0px&quot;,&quot;styles&quot;:&quot;border-radius: 0px;&quot;},&quot;beforeImg&quot;:{&quot;id&quot;:162,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/orig_half.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;orig_half&quot;},&quot;afterImg&quot;:{&quot;id&quot;:163,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/4restored_minimized_orig_half_by_upscayle_sharpen_image.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;4restored_minimized_orig_half_by_upscayle_sharpen_image&quot;},&quot;cap&quot;:&quot;\u5de6\uff1a\u30aa\u30ea\u30b8\u30ca\u30eb\u753b\u50cf&lt;br&gt;\u53f3\uff1a\u7e2e\u5c0f\u753b\u50cf\u3092Upscayl\u3067Type\u3092Sharpen Image\u3068\u8a2d\u5b9a\u3057\u3066\u62e1\u5927\u3057\u305f\u753b\u50cf&quot;,&quot;align&quot;:&quot;&quot;,&quot;alignment&quot;:&quot;center&quot;,&quot;width&quot;:&quot;80%&quot;,&quot;isSwap&quot;:false,&quot;isLabel&quot;:true,&quot;beforeLabel&quot;:&quot;&quot;,&quot;afterLabel&quot;:&quot;&quot;,&quot;labelTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:15,&quot;tablet&quot;:15,&quot;mobile&quot;:15}},&quot;labelColors&quot;:{&quot;color&quot;:&quot;#fff&quot;,&quot;bg&quot;:&quot;#00000080&quot;},&quot;labelPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;},&quot;isCap&quot;:true,&quot;capAlign&quot;:&quot;center&quot;,&quot;capTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:14,&quot;tablet&quot;:14,&quot;mobile&quot;:14}},&quot;capColors&quot;:{&quot;color&quot;:&quot;#333&quot;,&quot;bg&quot;:&quot;#f4f4f4&quot;},&quot;capPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;}}'></div>

		


<p>General Photoよりも更に細かい部分が描き込まれている事がわかります。General Photoの時点でも十分に良い品質の写真だとは思いますが、Sharpen Imageでは特に<strong>羽毛の境目などがよりはっきりと描かれており、名前の通りシャープネスがかなり意識されている</strong>ようです。しかも、それでいてGeneral Photoの際と同じく背景のノイズが増えていないです。鳥のような細かい書き込みが重要な被写体を対象とする場合は、こちらを選択すると良さそうですね！</p>



<p>最後に、General Photo、Sharpen Imageそれぞれの手法で生成した画像を並べて比較してみます。</p>


		<div class='wp-block-icb-image-compare  align' id='icbImageCompare-30c21992-1' data-attributes='{&quot;cId&quot;:&quot;30c21992-1&quot;,&quot;border&quot;:{&quot;width&quot;:&quot;0px&quot;,&quot;style&quot;:&quot;solid&quot;,&quot;color&quot;:&quot;#0000&quot;,&quot;side&quot;:&quot;all&quot;,&quot;radius&quot;:&quot;0px&quot;,&quot;styles&quot;:&quot;border-radius: 0px;&quot;},&quot;beforeImg&quot;:{&quot;id&quot;:165,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/4restored_minimized_orig_half_by_upscayle_general_photo.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;4restored_minimized_orig_half_by_upscayle_general_photo&quot;},&quot;afterImg&quot;:{&quot;id&quot;:163,&quot;url&quot;:&quot;https:\/\/presler-bird.com\/wp-content\/uploads\/2022\/10\/4restored_minimized_orig_half_by_upscayle_sharpen_image.jpg&quot;,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:&quot;4restored_minimized_orig_half_by_upscayle_sharpen_image&quot;},&quot;cap&quot;:&quot;\u5de6\uff1aType\u3092General Photo\u3068\u8a2d\u5b9a\u3057\u3066\u62e1\u5927\u3057\u305f\u753b\u50cf&lt;br&gt;\u53f3\uff1aType\u3092Sharpen Image\u3068\u8a2d\u5b9a\u3057\u3066\u62e1\u5927\u3057\u305f\u753b\u50cf&quot;,&quot;align&quot;:&quot;&quot;,&quot;alignment&quot;:&quot;center&quot;,&quot;width&quot;:&quot;80%&quot;,&quot;isSwap&quot;:false,&quot;isLabel&quot;:true,&quot;beforeLabel&quot;:&quot;&quot;,&quot;afterLabel&quot;:&quot;&quot;,&quot;labelTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:15,&quot;tablet&quot;:15,&quot;mobile&quot;:15}},&quot;labelColors&quot;:{&quot;color&quot;:&quot;#fff&quot;,&quot;bg&quot;:&quot;#00000080&quot;},&quot;labelPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;},&quot;isCap&quot;:true,&quot;capAlign&quot;:&quot;center&quot;,&quot;capTypo&quot;:{&quot;fontSize&quot;:{&quot;desktop&quot;:14,&quot;tablet&quot;:14,&quot;mobile&quot;:14}},&quot;capColors&quot;:{&quot;color&quot;:&quot;#333&quot;,&quot;bg&quot;:&quot;#f4f4f4&quot;},&quot;capPadding&quot;:{&quot;vertical&quot;:&quot;10px&quot;,&quot;horizontal&quot;:&quot;15px&quot;}}'></div>

		


<p>シャープネスの具合がかなり違うのがわかると思います。前述の通り鳥のような被写体の場合にはやはりSharpen Imageの方が適していると思いますがいかがでしょうか？</p>



<h2 class="wp-block-heading"><span id="toc4">わかったこと</span></h2>



<p>本記事ではUpscaylを利用した超解像技術を試してみました！一般的な手法であるバイキュービック法と比較し、より高品質な超解像が行えることが記事中の比較で分かりました。更に鳥のような細かい書き込みが重要な被写体の場合はSharpen Imageを設定した超解像が有効のようでした。</p>



<p>珍しい鳥さんを見かけて撮影したものの、機材の限界だったり、撮影ミスをしてしまったなどでボツにしてしまっている写真がたくさんあります。そういったものを今後Upscaylで救い、より多くの方に鳥の魅力を届けられるような作品にできれば良いなーと思います！</p>
]]></content:encoded>
					
					<wfw:commentRss>https://presler-bird.com/try-upscayl-for-bird-pic/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
