Title: Perception-motivated High Dynamic Range Video Encoding
1(No Transcript)
2Perception-motivated High Dynamic Range Video
Encoding
Rafal Mantiuk, Grzegorz Krawczyk,Karol
Myszkowski, Hans-Peter Seidel
3High Dynamic Range
4High vs Low Dynamic Range Video
- LDR Video
- Intended for
- existing displays
- Relative pixel brightness
- HDR Video
- Intended for
- the human eye
- Photometric or radiometric units cd/m2,
Watt/m2sr
5High Dynamic Range Video
- Goal Efficient encoding of full dynamic range of
luminance perceived by the human observer
6Overview
- HDR Pipeline
- HDR Video Encoding
- Luminance Quantization
- Edge Coding
- Results
- vs. MPEG-4
- vs. OpenEXR
- Demo Applications
7Related Work
Acquisition ? Storage ? Display
8Related Work
Acquisition ? Storage ? Display
- Global Illumination
- HDR Cameras
- HDRC (IMS Chips)
- Lars III (Silicon Vision)
- Autobrite (SMal Camera Technologies)
- LM9628 (National)
- Digital Pixel System (Pixim)
- Technology overview Nayar2003
HDRC IMS Chips
9Related Work
Acquisition ? Storage ? Display
- Still images
- Radiance RGBE Ward91
- OpenEXR Bogart2003
- logLuv TIFF Ward98
- HDR JPEG Ward2004
- Video
- No video format
10Related Work
Acquisition ? Storage ? Display
- LDR Displays
- But Tone Mapping necessary
- HDR displays start to appear
- University of British Columbia Seetzen2004
11HDR Encoding Framework
- Detail level 1 Input Output
bitstream
LDR
Video encoder
HDR
White MPEG Orange HDR Encoder
12HDR Encoding Framework
- Detail level 2 Color Transform
LDR
bitstream
YCrCb
Color
Video
Transform
Encoder
L u'v'
HDR
p
White MPEG Orange HDR Encoder
13HDR Encoding Framework
- Detail level 3 Edge Coding
DCT
Variable
Coding
length
LDR
bitstream
Color
Motion
Tran.
Comp.
HDR
Run-
Edge
length
Coding
White MPEG Orange HDR Encoder
14Encoding of Color
15Encoding of Color
- How to represent color data?
- Floating Points ineffective compression
- Integers ok, but require quantization
- How to quantize color data?
- Quantization errors lt threshold of perception
- Use uniform color space (Luv, Lab) Ward98
- Find minimum number of bits
- Color (uv) 8 bits are enough
16Encoding of Luminance
- How to quantize luminance?
- Gamma correction?
- Logarithm?
8
6
log(Y)?
4
log Luminance Y
2
0
-2
-4
Integer representation
17Threshold Versus Intensity
- Psychophysical measurements
- The smallest perceivable difference ?Y for a
certain adaptation level YA - tvi Ferwerda96, CIE 12/2.1
?Y
log Threshold ?Y
YA - Adaptation Luminance
log Adaptation Luminance YA
18Luminance Quantization
Just below threshold of perception
Maximum quantization error
log Luminance Y
Integers Lp
19Luminance Quantization
Just below threshold of perception
Maximum quantization error
log Luminance Y
10 11 bits are enough
- Capacity function Ashkihmin02
- Grayscale Standard Display Function DICOM03
Integers Lp
20Luminance QuantizationsComparison
2
cvi
11-bit percep. quant.
32-bit LogLuv
0
RGBE
log Contrast Threshold
-2
-4
-2
0
2
4
-4
6
8
log Adapting Luminance
21Edge Coding
22Edge Coding Motivation
- HDR video can contain sharp contrast edges
- Light sources, shadows
- DCT coding of sharp contrast may cause high
frequency artifacts
DCT coding
Edge coding
23Edge Coding Solution
- Solution Encode sharp edges in spatial domain,
the rest in frequency domain
?Run-length encoding
?DCT encoding
24Edge Coding Algorithm
original
I
horizontal decomposition
edge block horiz. edges
II
horizontal DCT
III
vertical decomposition
edge block vert. edges
IV
vertical DCT
25Edge Coding Algorithm
original
I
horizontal decomposition
edge block horiz. edges
II
horizontal DCT
III
vertical decomposition
edge block vert. edges
IV
vertical DCT
26Edge Coding Algorithm
original
I
horizontal decomposition
edge block horiz. edges
II
horizontal DCT
III
vertical decomposition
edge block vert. edges
IV
vertical DCT
27Edge Coding Algorithm
original
I
horizontal decomposition
edge block horiz. edges
II
horizontal DCT
III
vertical decomposition
edge block vert. edges
IV
vertical DCT
28Edge Coding Algorithm
original
I
horizontal decomposition
edge block horiz. edges
II
horizontal DCT
III
vertical decomposition
edge block vert. edges
IV
vertical DCT
29Results
- 2x size of tone-mapped MPEG-4 video
- 20-30x saving compared to intra-frame compression
(OpenEXR)
Bit-stream Size
30Demo Applications
- Display dependent rendering
- Choice of tone-mapping
- Extended postprocessing
31Conclusions
- HDR video compression
- Modest changes to MPEG-4
- Lpuv color space
- Luminance quantization (10-11 bits)
- Edge coding
- Applications
- On-the-fly tone mapping
- Blooming, motion blur, night vision
- Tuned for display
- LDR / HDR Display
32Acknowledgments
- HDR Images and Sequences
- Paul Debevec
- SpheronVR
- Jozef Zajac
- Christian Fuchs
- Patrick Reuter
- HDR Camera
- HDRC(R) VGAx
- courtesy of IMS CHIPSwww.hdrc.com
- Comments and help
- Volker Blanz
- Scott Daly
- Michael Goesele
- Jeffrey Schoner
33Thank you
http//www.mpi-sb.mpg.de/resources/hdrvideo/