Upscaler(アップスケーラー) 比較検証
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/Upscaler(アップスケーラー).png)
Upscalerとは
Stable DiffusionのUpscalerは、画像の解像度を高品質にアップスケールするための画像処理技術です。この技術は、最新のディープラーニング技術を応用しており、高解像度画像を生成するために、大量の画像データを学習しています。
Stable DiffusionのUpscalerは、従来のアップスケーリング技術と比較して、より高品質で自然な画像を生成することができます。これは、アップスケール処理中に発生するノイズや歪みを最小限に抑えることができるためです。また、この技術は、画像のディテールを緻密に再現することができ、画像の質感や色彩を正確に保持することができます。
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/200.png)
この画像を様々なUpscalerで試していきます。
参考にしてください。
※他の 設定は以下の通りデフォルト値で検証します。
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/yairuqcv.png)
比較画像
条件によっては変化するのだと思われますが今回の検証結果では大きな違いはありませんでした。 比較画はこちらです。
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/201.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/202.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/203.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/204.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/205.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/206.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/207.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/208.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/209.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/210.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/211.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/212.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/213.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/216.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/217.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/218.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/image.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/image.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/06/女の子2.png)
元の画像と比較画像は同じものなの?
イメージが違うのはなぜなの
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/06/女の子.png)
それはね! Upscaler時に追加されるノイズが大きく影響している様なのです、少しノイズ役割をおさらいしておきまましょうか。
ノイズの役割
Stable Diffusionは、低解像度の画像とランダムなノイズを組み合わせて、高品質な高解像度の画像を生成します。低解像度の画像は、高品質の画像を生成するための「ヒント」や「初期値」になります。ランダムなノイズは、生成された画像に自然な質感を与えるのに役立ち、不自然なパターンが現れるのを防ぐためにも使用されます。
ノイズは、Stable Diffusionが生成する画像の多様性を増やし、訓練データにはない新しい画像を生成するのにも役立ちます。そのため、Stable Diffusionは、高品質で自然な画像を生成するために、ノイズを必要としていると言えます。
つまり、Stable Diffusionは、低解像度の画像とランダムなノイズを組み合わせて、高品質な高解像度の画像を生成する技術であり、ノイズは高品質で自然な画像を生成するために必要不可欠な要素であるということです。
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/06/女の子2.png)
影響しない程度でノイズ除去強度を調整すれば良いだけじゃないのかな?
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/06/女の子.png)
そうだね!
元画像が保てる程度のノイズ除去強度を探ってみようか!
ノイズ除去強度の比較検証
デフォルト値は0.7ですが、0.1~1まで0.1間隔でどの様な変化が起こるか検証していきます。
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00000-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00001-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00002-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00003-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00004-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00005-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00006-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00007-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00008-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00009-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/00010-2978911823.png)
![](https://www.deltakousakusitu.com/wp-content/uploads/2023/05/image.png)
元画像のイメージが保てるのはノイズ除去強度0.3程度が限界のようです、0.3以降は段々若くなる様なイメージをうけます、0.8以降は背景や服装までも変化しています、0.9以降は面影もありません。
イメージを崩したくない場合はノイズ除去強度を下げるのが良さそうですが複雑なプロンプトを使った画像では下げ過ぎると崩壊してしまう様ですので、複雑な物は少しずつ下げた方が良さそうです。
老け顔を修正したい場合は逆に高く設定すれば若く見えるかも?しれません、意外と楽しめる設定です。