No.2 Imaging Pipeline
Instructors: Yasuhiro Mukaigawa, Takuya Funatomi, Kenichiro Tanaka
2020 Visual Media Processing II Slide credit: Ioannis Gkioulekas, Tomokazu Sato Today’s mini-report: http://bit.ly/vmp2-2020-2
Imaging Pipeline Instructors: Yasuhiro Mukaigawa, Takuya Funatomi, - - PowerPoint PPT Presentation
Visual Media Processing II 2020 No.2 Imaging Pipeline Instructors: Yasuhiro Mukaigawa, Takuya Funatomi, Kenichiro Tanaka Todays mini -report: http://bit.ly/vmp2-2020-2 Slide credit: Ioannis Gkioulekas, Tomokazu Sato Todays mini -report
2020 Visual Media Processing II Slide credit: Ioannis Gkioulekas, Tomokazu Sato Today’s mini-report: http://bit.ly/vmp2-2020-2
Visual Media Processing II (4098), 2020 Fall
2
Visual Media Processing II (4098), 2020 Fall
3
Image processing / image analysis (#3 - #8)
Visual Media Processing II (4098), 2020 Fall
4
Visual Media Processing II (4098), 2020 Fall
5
http://360gigapixels.com/tokyo-tower-panorama-photo/
Visual Media Processing II (4098), 2020 Fall
6
ja.wikipedia.org R: 189 G: 207 B: 207
Visual Media Processing II (4098), 2020 Fall
7
Xviii 18bit camera
Visual Media Processing II (4098), 2020 Fall
8
10 times 100 times 1000 times Original 圧縮 非可逆 可逆
Visual Media Processing II (4098), 2020 Fall
9
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
10
Canon 6D sensor
close-up view of photon buckets photons array of photon buckets
To intensity 101 122 80 光子 バケツ 光子 むき出しのセンサ
Visual Media Processing II (4098), 2020 Fall
11
photodiode photodiode
color filter color filter
potential well potential well
フォトダイオード ポテンシャル井戸 読出し回路などのシリコン層 電子をためる 光子を電子に変換する
Visual Media Processing II (4098), 2020 Fall
12
Visual Media Processing II (4098), 2020 Fall
13
Visual Media Processing II (4098), 2020 Fall
14
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
15
1 𝑔 = 1 𝑏 + 1 𝑐 𝑔 𝑏 𝑐 sensor sensor sensor Short focal length Moderate focal length Long focal length Short focal length Moderate focal length Long focal length 𝑔 𝑔 𝑔 焦点距離 視野角 𝑏 Wide angle telephoto
Visual Media Processing II (4098), 2020 Fall
16 photo-studio9.com/compression-effect/
far near Wide Field of view Normal Narrow Focal length Small Moderate Large Perspective effect is lost.
psy.ritsumei.ac.jp/
圧縮効果
Visual Media Processing II (4098), 2020 Fall
17
short long
Visual Media Processing II (4098), 2020 Fall
18
ピント 被写界深度 Shallow DOF Wide DOF
Pooh 1 Pooh 2 Rilakuma
In focus region Focusing (ピント合わせ)
Pooh 1 Pooh 2 Rilakuma
Depth of field In focus region ピントの合う位置
Visual Media Processing II (4098), 2020 Fall
20
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
in shadows we are limited by noise in highlights we are limited by clipping 露光
Visual Media Processing II (4098), 2020 Fall
1500 1 25,000 400,000 2,000,000,000 明るさ
Visual Media Processing II (4098), 2020 Fall
10-6 106 adaptation range of our eyes
common real-world scenes
ダイナミックレンジ
Visual Media Processing II (4098), 2020 Fall
10-6 106 adaptation range of our eyes
common real-world scenes
10-6 106 sensor
Visual Media Processing II (4098), 2020 Fall
10-6 106 adaptation range of our eyes
common real-world scenes
10-6 106 image low exposure
Visual Media Processing II (4098), 2020 Fall
10-6 106 adaptation range of our eyes
common real-world scenes
10-6 106 image high exposure
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
HDR Data Log scale luminance Fusion image
Ordinary (LDR) images. HDR mode in iPhone camera. 明るさ 合成
Visual Media Processing II (4098), 2020 Fall
32
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
34
Single Pixel Small aperture = in-focus Large aperture = reach to neighbor pixels = out-of-focus センサ面 Lens Aperture Small = dark Large = bright 開口(絞り) ボケ
Visual Media Processing II (4098), 2020 Fall
35
1s, F14 = Wide DOF 1/30s, F2.2 = Shallow DOF Nice bokeh!
Visual Media Processing II (4098), 2020 Fall
36
シャッター速度(露光時間) time time time Fast motion can be captured Splash is blurred
Nikon-image.com
動きブレ、手ブレ
Visual Media Processing II (4098), 2020 Fall
37
x10 High ISO Equivalent long shutter ISO感度(感度、増強率)
Visual Media Processing II (4098), 2020 Fall
Visual Media Processing II (4098), 2020 Fall
39
slow shutter, small aperture, low ISO fast shutter, large aperture, low ISO fast shutter, large aperture, high ISO fast shutter, small aperture, high ISO
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
40
perceived luminance トーン・諧調 本当の明るさ 知覚する明るさ
Visual Media Processing II (4098), 2020 Fall
41
ガンマ補正 Without gamma correction. (RAW, linear image) After gamma correction.
Visual Media Processing II (4098), 2020 Fall
42
The scene True luminance What we perceive input
Camera Captured image (RAW) 線型な感度 真の明るさ
Visual Media Processing II (4098), 2020 Fall
43
input
Human perception input
display response input
Camera input
Display input
Human
Visual Media Processing II (4098), 2020 Fall
44
input
Camera RAW Luminance input
Tone reproduction Saved image (e.g., jpeg) input
Display input
Human perception Perceived image Warning: Our values are no longer linear relative to scene radiance!
Visual Media Processing II (4098), 2020 Fall
45
JPEG RAW Brightness Non-linear Linear Dynamic range Low (8bit) High (16bit) Color Distorted Bayer mosaic Information Lost Lossless File size Small Large Appearance Natural Dark JPEG への変換は、表示する直前にすること
Visual Media Processing II (4098), 2020 Fall
46
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
Incident spectrum 𝐹(𝜇) Sensitivity of color sensor 𝑇𝑗(𝜇)
𝑗 ∈ [𝑆, 𝐻, 𝐶]
Spectral reflectance 𝑆(𝜇)
R G B
Visual Media Processing II (4098), 2020 Fall
photodiod e photodiod e color filter color filter
microlens microlens
potential well potential well photodiod e color filter
microlens
potential well
Visual Media Processing II (4098), 2020 Fall
Bayer mosaic Spectral sensitivity of Canon cameras Why more green pixels? Generally do not match human’s cone response.
Visual Media Processing II (4098), 2020 Fall
Finding the “best” CFA mosaic is an active research area. CYGM
Canon IXUS, Powershot
RGBE
Sony Cyber-shot
How would you go about designing your
Visual Media Processing II (4098), 2020 Fall
Each camera has its more or less unique, and most of the time secret, spectral sensitivity.
measurements.
Images of the same scene captured using 3 different cameras with identical sRG RGB settings.
Visual Media Processing II (4098), 2020 Fall
mosaicking artifacts
Visual Media Processing II (4098), 2020 Fall
Produce full RGB image from mosaiced sensor output. Interpolate from neighbors:
Large area of research. デモザイキング
Visual Media Processing II (4098), 2020 Fall
Bilinear interpolation: Simply average your 4 neighbors. G? G1 G4 G3 G2 G? = G1 + G2 + G3 + G4 4 Neighborhood changes for different channels: 線型補間
Visual Media Processing II (4098), 2020 Fall
[Slide credit: Gordon Wetzstein]
Visual Media Processing II (4098), 2020 Fall
56
http://omilab.naist.jp/class/VMP2/2020/
Visual Media Processing II (4098), 2020 Fall
Human visual system has chromatic adaptation:
Retinal vs perceived color.
Visual Media Processing II (4098), 2020 Fall
“White” lamps.
Visual Media Processing II (4098), 2020 Fall
Human visual system has chromatic adaptation:
White balancing: The process of removing color casts so that colors that we would perceive as white are rendered as white in final image. different whites image captured under fluorescent image white- balanced to daylight ホワイトバランス
Visual Media Processing II (4098), 2020 Fall
Cameras nowadays come with a large number of presets: You can select which light you are taking images under, and the appropriate white balancing is applied.
Emission of magma(=1200℃)
White colors are described by the temperature of ideal black body radiation.
Black body radiation
ろうそくの火 室内灯 朝焼け・夕焼け 蛍光灯 フラッシュ 平均的な屋外 12時の太陽 雲 青空
色温度 黒体放射 マグマの黒体放射
Visual Media Processing II (4098), 2020 Fall
pixel to be white.
Possible approaches:
use it to normalize.
Visual Media Processing II (4098), 2020 Fall
sensor RGB white-balanced RGB sensor RGB white-balanced RGB
Visual Media Processing II (4098), 2020 Fall
input image grey world white world
Visual Media Processing II (4098), 2020 Fall
64
http://omilab.naist.jp/class/VMP2/2020/