Inverse (Reverse) Tone Mapping
- dr. Francesco Banterle
francesco.banterle@isti.cnr.it
Inverse (Reverse) Tone Mapping dr. Francesco Banterle - - PowerPoint PPT Presentation
Inverse (Reverse) Tone Mapping dr. Francesco Banterle francesco.banterle@isti.cnr.it The problem ? The problem f ( I ) : D w h c R w h c D [0 , 255] This means to expand the range The problem L w = f ( L d ) : D w
francesco.banterle@isti.cnr.it
This means to expand the range
Lw = f(Ld) : Dw××h → Rw×× 2 4 Rw Gw Bw 3 5 = Lwg ✓ 1 Ld 2 4 Rd Gd Bd 3 5 ◆ Two steps:
LDR (8-bit) HDR
Lw(x) = ( (1 − k)Ld(x) + kLw,maxLd(x) if Ld(x) ≥ R, Ld(x)
k = ✓Ld(x) − R 1 − R ◆α
R = 0.75 α=0.5
be applied. This non-linearity depends on exposedness of the image [Masia et al. 2009]:
Lw(x) = k ✓ Ld(x) − Ld,min Ld,max − Ld,min ◆γ Lw(x) = Ld(x)γ γ = 10.44k − 0.6282 k = log Ld(x) − log Ld,min log Ld,max − log Ld,min
Lw(x) = f(Ld(x)) = ( s1Ld(x) if Ld(x) ≤ ω, s1ω + s2(Ld(x) − ω)
s1 = ρ ω s2 = 1 − ρ Ld,max − ω ,
and lights
range based on the histogram of the region:
low frequencies) for avoiding contouring
by Adams (9 zones):
techniques:
p = ✓e(v sin(π z−1
16 )) − 1
ev − 1 ◆−2.2 v = 5.25 z ∈ [0, 9]
Auto-Labeling Binary Mask Input
Rempel et al. 2007, Banterle et al. 2009, Kovaleski et al. 2010]:
etc
(avoiding contouring and compression artifacts)
[Banterle et al. 2008]
[Rempel et al. 2007]
LDR Expanded f-stop 0 Expanded f-stop -4 Expanded f-stop -8
fill gaps in over-exposed and under-exposed area [Wang et al. 2007]:
“healing tool” in Adobe PhotoShop
in continuous over-exposed regions
2D Gaussian lobe fit
445 450 455 460 465 0.5 1 1.5 2 2.5 3 3.5 4X axis Luminance cd/m2
LDR profile 2D Gaussian fitOriginal image courtesy of Ahmet Oguz Akyuz
Original image courtesy of Ahmet Oguz Akyuz
tone mapping:
compression
colors due to expansion
1994]:
s
h(x) = SMax(1−3t(x)2 +2t(x)3)+SMin(3t(x)2 −2t(x)3) t(x) = Ld(x) Lw(x)
1 s = h(x)
Original LDR image Expanded Image Expanded Image + Color Recovery
methods against a “ground truth”.
techniques do not generate exact luminance values
in the PSNR, RMSE, etc.
performing better than a simple non-linear expansion, validate against other methods, etc. [Banterle et al. 2006, 2007, 2008]
performing better than a simple non-linear expansion, validate against other methods, etc. [Banterle et al. 2006, 2007, 2008]
HDR-VDP
Lucy model is courtesy of the Stanford 3D Scanning Repository
HDR-VDP
Lucy model is courtesy of the Stanford 3D Scanning Repository
2009, Banterle 2009]:
and tone mapped expanded images
[Masia et al. 2009]:
understanding artifacts in expanded images