Download - 拡大縮小から始める画像処理
![Page 1: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/1.jpg)
拡大・縮小から始める画像処理
武田祐一
![Page 2: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/2.jpg)
Q 画像処理って?
![Page 3: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/3.jpg)
Q 画像処理って?
A 画像をコンピュータ上で処理するアレです
![Page 4: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/4.jpg)
Q 画像処理って?
A 画像をコンピュータ上で処理するアレです
顔認識
![Page 5: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/5.jpg)
Q 画像処理って?
A 画像をコンピュータ上で処理するアレです
顔認識
Inpainting
![Page 6: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/6.jpg)
画像ってどう表してんの?
![Page 7: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/7.jpg)
画像ってどう表してんの?
![Page 8: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/8.jpg)
画像ってどう表してんの?
画素
画像は画素の集まりで表現される
![Page 9: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/9.jpg)
縮小処理
大きい画像を! 小さくする!
![Page 10: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/10.jpg)
え、縮小とか簡単じゃね?って思いました?
![Page 11: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/11.jpg)
だって
対応する画素の値を取ってくればいいだけじゃないの?
![Page 12: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/12.jpg)
でも問題が起こります
![Page 13: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/13.jpg)
サンプリング定理
こんな感じの縞模様を縮小しましょう
![Page 14: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/14.jpg)
サンプリング定理
全部まっくろに!
![Page 15: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/15.jpg)
んじゃあどうすんの?
![Page 16: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/16.jpg)
んじゃあどうすんの?
平均化します
![Page 17: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/17.jpg)
画像の縮小
対応する画素をすべて足し合わせてノーマライズ
![Page 18: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/18.jpg)
拡大処理
大きくする!小さい画像を
![Page 19: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/19.jpg)
拡大処理
でも、本質的に無茶です。
だって、100を200に見せろって言ってるもんなんですから
![Page 20: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/20.jpg)
でもやっぱりキレイに見せたいですよね
![Page 21: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/21.jpg)
拡大処理
50 60
50 60
![Page 22: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/22.jpg)
拡大処理
50 60
50 60ここの色は?
![Page 23: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/23.jpg)
拡大処理
50 60
50 60ここの色は?
だいたい中間になるはず!
![Page 24: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/24.jpg)
拡大処理
50 55 60
50 60ここの色は?
だいたい中間になるはず!
![Page 25: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/25.jpg)
拡大処理→補間問題
50 60
ここの値を決めるのが拡大処理の問題
![Page 26: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/26.jpg)
拡大処理→補間問題
50 60
ここの値を決めるのが拡大処理の問題
関数補間問題に帰着
• 直線フィッティング• 二次関数
(バイリニア補間)
• Lanczos関数
50 60
![Page 27: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/27.jpg)
超解像
画素数の少ない画像を複数枚集めて、高解像度な画像を作る技術
30×30 240×240
![Page 28: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/28.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 29: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/29.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 30: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/30.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 31: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/31.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 32: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/32.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 33: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/33.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
![Page 34: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/34.jpg)
超解像アイデア:ちょっとずつズレた画像を重ね合わせる
超解像!
![Page 35: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/35.jpg)
今日紹介できなかったトピック
スパースコーディング
• 劣化した画像から要素を学習して補正• L1ノルム正則化の最小二乗問題を解く
![Page 36: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/36.jpg)
今日紹介できなかったトピック
PTAM
• ARツールキットがもっと進化したやつ• マーカーレス・超ロバスト
![Page 37: 拡大縮小から始める画像処理](https://reader033.vdocuments.pub/reader033/viewer/2022060201/559a9f831a28ab02098b46a0/html5/thumbnails/37.jpg)
Thank you for listening