è¶ è§£åããã°ã©ã waifu2xã¨NeuronDoublerï¼ã¨ãä»ã«ããããï¼ãæ¯ã¹ã¦ã¿ã
ã¯ããã«
ç¾å¨ãç»åã®è¶ 解åï¼é«è§£ååï¼å¦çã¨ãã¦ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ï¼äººå·¥ç¥è½ï¼ãæ´»ç¨ãããã®ãããªã¼ã§å ¬éããã¦ãã¾ããããã§ãæ¬ç¨¿ã§ã¯ãå è¬ããã¥ã¼ã©ã«ãããã¯ã¼ã¯ãæ´»ç¨ããè¶ è§£åå¦çã¨ãã¦è©±é¡ã«ãªã£ãwaifu2xã¨ä»¥åããå ¬éããã¦ããNeuronDoublerãæ¯è¼ããã¨ã¨ãã«ãåèã¨ãã¦èåãªããªã¼ã®é«è§£ååã½ããã§ããSmillaEnlargerï¼ç¬èªã¢ã«ã´ãªãºã ï¼ãå¤å ¸çãªãã¤ãã¥ã¼ããã¯æ³ãLanczos-3æ³ãåãªãæ¡å¤§ã§ãããã¢ã¬ã¹ããã¤ãã¼æ³ã«ããç»åå¦çãæ¯è¼ãããã®ã§ãã
æ¡å¤§æ¹å¼ã®èª¬æ
waifu2x
å¶ä½è
ã®ããã°ã«ããã°Deep Convolutional Neural Networksã«ãã£ã¦å¦çãè¡ãããã°ã©ã ã§ãã
詳細ã¯è£½ä½è
ã®ããã°ãåç
§ãã¦ãã ãããultraist.hatenablog.com
NeuronDoubler
å¶ä½è
ã®ããã°ã«ããã°ç¬èªéçºã®ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã¨ãã¼ãã³ã¼ãã£ã³ã°ã«ãã£ã¦å¦çãè¡ã*1ããã°ã©ã ã§ãã
ãªãã製ä½è
ã®ããã°ã¯æ¥æ¬èªã§ã®ããã¥ã¡ã³ããè±å¯ãªã®ã§ãåèã«ãªãã¨æããã¾ãã
Loggia Logic: 人工知能超解像プログラム NeuronDoubler
SmillaEnlarger
èåãªããªã¼ã®ç»åæ¡å¤§ã½ããã§ç¬èªã¢ã«ã´ãªãºã ã ããã§ãã詳細ã¯èª¿ã¹ãã®ã§ãããããããã¾ããã§ããã
SmillaEnlarger download | SourceForge.net
ãã¤ãã¥ã¼ããã¯æ³
å¨å²4x4ãã¯ã»ã«ããç®çã®ãã¯ã»ã«ãè£å®ããã¢ã«ã´ãªãºã ã§ããæ¤ç´¢ããã°ãããã§ãè³æãå®è£ ãåºã¦ããã®ã§è©³ç´°ã¯ãã¡ãã§ã
Lanczos-3
å¨å²6x6ãã¯ã»ã«ããç®çã®ãã¯ã»ã«ããã¤ãã¥ã¼ããã¯ã¨ã¯ç°ãªãæ¹æ³ã§è£å®ããã¢ã«ã´ãªãºã ã§ããæ¤ç´¢ããã°ãããã§ãè³æãå®è£ ãåºã¦ããã®ã§è©³ç´°ã¯ãã¡ãã§ã
ãã¢ã¬ã¹ããã¤ãã¼æ³
åãªãæ¡å¤§ã§ãã
å®é¨æ¹æ³
使ç¨ã½ãã
waifu2x
NeuronDoubler
- NeuronDoubler v3.21
- Java 1.7.0_67-b01(64bit)
- ãã¼ããæ大8G確ä¿
SmillaEnlarger
- SmillaEnlarger Ver 0.9.0
- Enlarger parameter default
ãã¤ãã¥ã¼ããã¯æ³
- Photoshop CS6 64bit
- ãã¤ãã¥ã¼ããã¯ï¼èªåï¼
Lanczos-3æ³
- è¤ -Resizer- ï½2.66.4 #219
- è¨å®ã¯ããã©ã«ã
ãã¢ã¬ã¹ããã¤ãã¼æ³
- Photoshop CS6 64bit
使ç¨ç»å
人ç©
ã¿ããªå¤§å¥½ãã¬ããã*2ã使ãã¾ãããã¨ãã¨TIFFå½¢å¼ã ã£ãã®ã§ãããã¯ã¦ãªãã©ãã©ã¤ãã«ã¢ããã§ããªãã®ã§PNGã«å¤æãã¦ãã¾ãã
風æ¯
æ°å®¿ã®é¢¨æ¯åçã§ãã
CC BY-SA 3.0 Morio
ã¤ã©ã¹ã1
waifu2xã®å¶ä½è
ã使ç¨ãã¦ãããã¯ããã®ç»åã§ããèãç³»ãã£ã©ã¯ã¿ã¼ã®ã¤ã©ã¹ãã§ãã
CC BY-NC 3.0 Crypton Future Media, Inc.
ã¤ã©ã¹ã2
æ¡å¼µã«ã¼ãã®è£
çæ¹æ³ã示ãããã¯ãã«ã«ã¤ã©ã¹ãã¬ã¼ã·ã§ã³ã§ãã
CC BY-SA 3.0 Joshgeake at English Wikipedia
ãã³ã¬
ä½è¤ç§å³°ã®ããã©ãã¯ã¸ã£ãã¯ã«ãããããã®ä¸å ´é¢ã§ãã
ã¿ã¤ãã«ï¼ãã©ãã¯ã¸ã£ãã¯ã«ãããããèä½è
å: ä½è¤ç§å³°ããµã¤ãå: 漫画 on web
å®é¨æ¹æ³
ç»åã®æ£è¦å
Photoshop CS6ã使ç¨ããããããã®ç»åãã512x512ãã¯ã»ã«ã§åãåºãã*3ä¸ã§ãPNG-24 sRGBã§ä¿åãããããããå ç»åãã¨ããã
縮å°
å½è©²ç»åãPhotoshop CS6ã®ãã¤ãã¥ã¼ããã¯ï¼èªåï¼ã§å辺ã1/2ã«ç¸®å°ããã
æ¡å¤§
å½è©²ç»åãåæ¹å¼ã§å辺2åã«æ¡å¤§ãããã¾ããå¦çæéãã¹ãããã¦ã©ããã§è¨æ¸¬ããã
æ¯è¼
å ç»åã¨æ¡å¤§ããç»åãã類似画像検出ソフト DRE Ver 1.0.2ã®Loose Luminance Similarity*4ã§æ¯è¼ããè·é¢ãè¨æ¸¬ãããã¾ããDiff IMG 2.2.0ã«ããMean error*5ãè¨æ¸¬ãããä½µãã¦ãç®è¦ã«ãã確èªãè¡ãã
çµæ
人ç©
å ç»å
waifu2x
å
ç»åã¨æ¯ã¹ã¦è¼ªéã強調ããã¦ãããåé¢ãã¤ã¸ã¼ãªæããåºã¦ãã¾ã£ã¦ããã
NeuronDoubler
waifu2xã«è¿ãããããã½ãããªæãã«ä»ä¸ãã£ã¦ãã
SmillaEnlarger
å
¨ä½çã«ãã¤ãºãåºã¦ãã¾ã£ã¦ãããç´°é¨ã¯ãã±ã¦ããã
ãã¤ãã¥ã¼ããã¯æ³
å
¨ä½çã«SmillaEnlargerã«è¿ãããç´°é¨ã®ä»ä¸ããã¯å¤§å³ã«ãªã£ã¦ããã
Lanczos-3æ³
ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã使ã£ããã®ã«ã¯å£ãããç´°é¨ã®è¼ªéã¯å²ã¨ã¯ã£ãããã¦ããã
ãã¢ã¬ã¹ããã¤ãã¼æ³
å½ããåã ãã¸ã£ã®ã£ã¦ããã
風æ¯
å ç»å
waifu2x
æ§é ç©ã®ç·ãå¤ã«æ»²ãã§å¤ªã£ã¦ãããããªæãã«ãªã£ã¦ãããèæ¯ã®å±±ã¯ãã£ãã£ã¼ã«ã強調ããã¦ããã
NeuronDoubler
ãã¯ãwaifu2xã«è¿ããå
¨ä½çã«ã½ãããªæãã«ãªã£ã¦ãããæ§é ç©ã®ç·ãèªç¶ã«æ¡å¤§ããã¦ããã
SmillaEnlarger
ãã¯ããã¤ã¸ã¼ãæ§é ç©ã®ç·ã¯å¤ªã£ã¦ãããä¸èªç¶ã¨ããã»ã©ã§ã¯ãªããä¸é¨ã®å»ºç©ç¾¤ã¯å
¨ä½çã«ã¤ã¶ãã¦ããã
ãã¤ãã¥ã¼ããã¯æ³
æ§é ç©ã®ç·ãªã©ã¯èªç¶ã«åç¾ããã¦ããããå
¨ä½çã«ã¤ã¶ããå°è±¡ã¯ã¬ãããªãã
Lanczos-3æ³
å
¨ä½çã«ã½ãããªæãã«ãªã£ã¦ããããæ§é ç©ã®ç·ãªã©ã¯ãããªãã«åç¾ããã¦ããå°è±¡ã
ãã¢ã¬ã¹ããã¤ãã¼æ³
ç¸å¤ãããã¸ã£ã®ã¸ã£ã®ã
ã¤ã©ã¹ã1
å ç»å
waifu2x
ç´°ãç·ã滲ãã æãã«ãªã£ã¦ãã¾ã£ã¦ããããåç¾ã¨ãã¦ã¯æªããªãå°è±¡ã
NeuronDoubler
滲ãã æãã¯ç¡ãããã·ã£ã¼ããã«æ¬ ããã
SmillaEnlarger
ç¸å¤ããããã¤ã¸ã¼ãå
¨ä½ã®å°è±¡ã¨ãã¦ã¯ãå
ç»åãé ç®ã§ã¿ããããªæãã«è¦ããã
ãã¤ãã¥ã¼ããã¯æ³
çµµãäºéã«ãªã£ã¦ãããããªæããã½ããã«ãªãã·ã£ã¼ããã¯ä½ãã
Lanczos-3æ³
å
¨ä½çã«ã·ã£ã¼ãã ããwaifu2xã§å¦çããç»åããã¬ãã¬ã«ãããããªå°è±¡ã
ãã¢ã¬ã¹ããã¤ãã¼æ³
ãã£ã±ããã¸ã£ã®â¦
ã¤ã©ã¹ã2
å ç»å
waifu2x
ç´ç·ããããã§ãããããªã¼ãã³ãã§æ¸ãç´ãããããªã¤ã©ã¹ãã«ãªã£ã¦ããã
NeuronDoubler
waifu2xã«æ¯ã¹ã¦ç´ç·é¨åã¯ãã£ãããã¦ãããã®ã®ãå
¨ä½çã«ãã¬ãã¬ãªæãã«ãªã£ã¦ããã
SmillaEnlarger
ç´ç·ã®åç¾æ§ã¯é«ããããã¤ã¸ã¼ãªå¾åã¯å¤ãããã
ãã¤ãã¥ã¼ããã¯æ³
ç·ã¯ãã£ãããã¦ãããããã³ãã±æãé«ãã
Lanczos-3æ³
ç´ç·ã®åç¾æ§ãé«ããã·ã£ã¼ããããããªãã«ãªã£ã¦ããã
ãã¢ã¬ã¹ããã¤ãã¼æ³
ã¸ã£ã®â¦
ãã³ã¬
å ç»å
waifu2x
ç¸å¤ããã水彩ã®ãããªç·ã®æ»²ãã æãã¯ãããããã£ãã£ã¼ã«ã®åç¾æ§ã¯æªããªãã
NeuronDoubler
å
¨ä½çã«ãã¬ãæãã«ãªã£ã¦ãããããã£ãã£ã¼ã«ã®åç¾æ§ã¯æªããªãã
SmillaEnlarger
æ¯è¼çèªç¶ã§ã¯ããããä¸ã®ã³ãã®ãã£ãã£ã¼ã«ãã¤ã¶ãã¦ãã¾ã£ã¦ããã
ãã¤ãã¥ã¼ããã¯æ³
NeuronDoublerã«è¿ããããããããã³ãã±ãã¦ãã¾ã£ã¦ããæããããã
Lanczos-3æ³
æ¯è¼çã·ã£ã¼ããªä»ä¸ããã ããä¸ã®é§ã®ãã£ãã£ã¼ã«ã¯ã¤ã¶ãã¦ããã
ãã¢ã¬ã¹ããã¤ãã¼æ³
ã¸ã£â¦
å¦çæé
äººç© | é¢¨æ¯ | ã¤ã©ã¹ã1 | ã¤ã©ã¹ã2 | ãã³ã¬ | åè | |
waifu2x | 13.88 | 14.03 | 14.23 | 14.07 | 14.05 | |
NeuronDoubler | 10.48 | 11.24 | 7.21 | 11.66 | 10.32 | |
SmillaEnlarger | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | 1ç§ä»¥ä¸ |
ãã¤ãã¥ã¼ããã¯æ³ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | 1ç§ä»¥ä¸ |
Lanczos-3æ³ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | 1ç§ä»¥ä¸ |
ãã¢ã¬ã¹ããã¤ãã¼æ³ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | è¨æ¸¬ä¸è½ | 1ç§ä»¥ä¸ |
åä½ï¼ç§
ã¹ãããã¦ã©ããã§è¨æ¸¬ããã®ã§èª¤å·®ã¯å¤§ããã
å ç»åã¨ã®æ¯è¼ï¼æ°å¤è©ä¾¡ï¼
DRE
DREã®Loose Luminance Similarityã«ãããè·é¢ï¼ä½ãæ¹ãè¯ãï¼
äººç© | é¢¨æ¯ | ã¤ã©ã¹ã1 | ã¤ã©ã¹ã2 | ãã³ã¬ | åå·®å¤ã®å¹³å | |
waifu2x | 4 | 10 | 11 | 34 | 11 | 59.43 |
NeuronDoubler | 5 | 9 | 10 | 35 | 13 | 61.27 |
SmillaEnlarger | 7 | 12 | 8 | 27 | 9 | 56.50 |
ãã¤ãã¥ã¼ããã¯æ³ | 4 | 8 | 10 | 36 | 13 | 58.46 |
Lanczos-3æ³ | 5 | 8 | 10 | 39 | 14 | 63.33 |
ãã¢ã¬ã¹ããã¤ãã¼æ³ | 5 | 8 | 8 | 35 | 12 | 55.10 |
åå·®å¤ã®å¹³åã¯åç»åãã¨ã«åã½ããã®åå·®å¤ãåºãã¦å¹³åãã¨ã£ããã®ãï¼ä½ãæ¹ãè¯ãï¼
Diff IMG
Diff IMGã«ãããmean errorï¼ä½ãæ¹ãè¯ãï¼
äººç© | é¢¨æ¯ | ã¤ã©ã¹ã1 | ã¤ã©ã¹ã2 | ãã³ã¬ | åå·®å¤ã®å¹³å | |
waifu2x | 14.06268 | 25.33036 | 12.04940 | 23.88212 | 24.98231 | 57.43 |
NeuronDoubler | 12.63195 | 22.00640 | 12.48466 | 24.61251 | 23.29071 | 53.45 |
SmillaEnlarger | 17.00923 | 25.66328 | 14.15476 | 29.70645 | 25.57523 | 68.93 |
ãã¤ãã¥ã¼ããã¯æ³ | 11.92329 | 21.01698 | 14.10989 | 29.34508 | 25.26622 | 59.85 |
Lanczos-3æ³ | 11.97502 | 20.58567 | 13.71461 | 26.97517 | 23.81519 | 56.00 |
ãã¢ã¬ã¹ããã¤ãã¼æ³ | 15.33894 | 29.21112 | 15.71615 | 31.87706 | 30.17735 | 77.71 |
åå·®å¤ã®å¹³åã¯åç»åãã¨ã«åã½ããã®åå·®å¤ãåºãã¦å¹³åãã¨ã£ããã®ãï¼ä½ãæ¹ãè¯ãï¼
çµè«
waifu2x
å ¨ä½çã«ã·ã£ã¼ãã§è¯ããã輪éãç·ãå¤ã«å¤ªã£ãã滲ãã æãã«ãªã£ãããããå¾åãããã
NeuronDoubler
waifu2xã«æ¯ã¹ã¦ã·ã£ã¼ããã«æ¬ ãããã輪éãç·ã¯ããèªç¶ã«æ¡å¤§ãããã
SmillaEnlarger
å ¨ä½çã«ãã¤ã¸ã¼ã§ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã使ç¨ãããã®ã«æ¯ã¹ã¦ãã£ãã£ã¼ã«ã®åç¾æ§ã¯å£ãã
ãã¤ãã¥ã¼ããã¯æ³
æ¯è¼çèªç¶ã«ä»ä¸ãããããã³ãã±ãããããªæããåºã¦ãã¾ãã·ã£ã¼ããã«æ¬ ããã
Lanczos-3æ³
ãã£ãã£ã¼ã«ã§ã¯ãã¥ã¼ã©ã«ãããã¯ã¼ã¯ã使ç¨ãããã®ã«è² ããããã·ã£ã¼ãããé«ãç·ç»ãªã©ã«ã¯æ¯è¼çåããããããªãã
ãã¢ã¬ã¹ããã¤ãã¼æ³
åç´ãªæ¡å¤§ãªã®ã§è«å¤ã
*1:Loggia Logic: 人工知能超解像プログラム NeuronDoubler のアルゴリズム(動作原理)
*2:ç»åå¦çå®é¨ã®å®çªç»å レナ (画像データ) - Wikipedia
*3:ã¬ãã®ã¿å ãã512x512ãã¯ã»ã«
*4:é¡ä¼¼ç»åæ¤ç´¢
*5:å¹³å誤差