computational model of lightness perception for hdr...

24
Computational Model of Lightness Perception for HDR Imaging Grzegorz Krawczyk Karol Myszkowski Hans-Peter Seidel MPI Informatik, Saarbrücken, Germany

Upload: others

Post on 10-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Computational Model of Lightness Perception for HDR Imaging

Grzegorz KrawczykKarol MyszkowskiHans-Peter Seidel

MPI Informatik, Saarbrücken, Germany

Page 2: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

High Dynamic Range

luminance range [log cd/m2]-6 -4 -2 0 2 4 6 8

conventional display

HDR image

human vision

Page 3: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Lightness Perception in HDR

-6 -4 -2 0 2 4 6 8

luminance range [log cd/m2]

HDR image(luminance)

luminance reduction

in the context of the scene(lightness)

perceived luminance(brightness)

Page 4: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Motivation

Model the lightness perception correspondingto conditions in the real world.

Constraints while observing HDR scenes on a display:Limited dynamic rangeLimited field of viewDifferent context of observationDifferent adaptation levelInconsistencies in perception(constancy failures not present)

Page 5: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Previous Work – Tone MappingBrightness, contrast sensitivityand sigmoid functionsTumbiln93, Ward94, Ferwerda96, Ward97, Pattanaik98, Reinhard02, Reinhard05 …Contrast domain methodsHorn79, Jobson97, Fattal02Intrinsic image models (illumination and reflectance layers)Durand02

?

?Problems:

Loss of fine scene details due to quantizationResult computed with unknown offset → mapping to gray scale not definedEmpirical scaling of illumination layer → how is it related to perception?

Page 6: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Contributions

Computational model of lightness perceptionCorrect lightness reproduction for HDR imagesNo change in local contrast if possibleUse frameworks for local image processing

Page 7: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

The Theory“An Anchoring Theory of Lightness Perception”

developed by Gilchrist et al. 1999Key concepts:

Frameworks – areas of common illuminationAnchoring – luminance → lightness mapping

Page 8: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

FrameworksFrameworks allow for lightness

estimation in complex images.

Perceptual organization:– semantic grouping– good continuation– grouping of illumination– proximity

Frameworks:– defined by probability maps– each pixel belongs to several

frameworks– one global framework

Page 9: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Computational Model for Frameworks1.

2.

3.

Initially, identify frameworks using luminance.

Centroids define frameworks.

Customized K-means segmentation:• Initial centroids (1)• Calculate probabilities (2)• Remove invalid frameworks

• no pixels with probability >95%• Recalculate probabilities if

framework removed• Final centroids with probabilities (3)

Page 10: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Spatial InfluenceImprove perceptual organization

– good continuation– proximity

Bilateral filtering of frameworks:smooth local variationspreserve sharp borders

Page 11: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Anchoring

Page 12: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

AnchoringMapping between

luminance value and value on a scale of perceived gray shades.

Two possibilities:Anchoring to middle-grayAnchoring to white

Experimental evidence favorsanchoring to white.

white

gray

black

selfluminous

?

Page 13: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Estimation of AnchorAnchoring to white rule:

– tendency of the highest luminance to appear white

– tendency of the largest areato appear white

Self-luminosity:– small white disc surrounded by a large

dark area appears luminous

Our approach:– filter framework area with a large

Gaussian kernel to eliminate highlights– highest luminance in framework

becomes an anchor

Page 14: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Articulation of FrameworksStronger influence on pixels’ lightness by frameworks

that are highly articulated.

Estimation of articulation:Based on the dynamic rangeLow dynamic range → minimum articulationDynamic range above 1:10→ maximum articulationPenalize frameworks with small area

Attenuate belongingness to framework according to articulation.

Page 15: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Net LightnessShift original luminance

– according to local anchors– proportionally to belongingness (dependent on size and articulation)– constant influence of the global framework

Page 16: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Verification & Applications

Testing the Model– Frameworks within Multi-Illuminant Scenes– Anchoring in Gelb Illusion

Applications– Tone Mapping of HDR images– Local Image Processing

Page 17: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Frameworks in Natural Scenes

Image copyrights: Magnum Photos.

Experiment originally conducted by Gilchrist and RadonjicProbe disks’ luminance is constantDisk vs. background ratios range from 1:2 to 1:9Constant lightness of probe disks within frameworksLightness independent of background ratio

Page 18: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Anchoring in Gelb IllusionThe Gelb Effect is a well known illusion which provides

a good example of lightness constancy failure.

Illusion appears in dark room conditionsBlack paper in a dark room illuminated with light appears whiteIs perceptually darkened by an adjacent paper of higher reflectanceCannot be explained with contrast theoriesSupports the anchoring theory and the highest luminance rule

Page 19: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Anchoring in Gelb Illusion

Page 20: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Tone Mapping of HDR Images

Luminance compression in CIE Yxy color space.Limited influence of the global framework which counteracts the dynamic range reductionScaling of dynamic range in framework if necessary

Page 21: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Comparison of TMODecomposition into frameworks allows for the most

efficient use of available dynamic range.

Presented Computational ModelPhotographic Tone Reproduction Bilateral Filtering

Page 22: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Local White Balance

White balance within frameworksGlobal white balance Original image

Page 23: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Conclusions

Computational model of lightness perception theoryFormalized method for extracting frameworksApplication of the anchoring theory to tone reproduction in HDR imagesSimulation of lightness experimentsFrameworks in local image processing

Page 24: Computational Model of Lightness Perception for HDR Imagingresources.mpi-inf.mpg.de/.../krawczyk05spie-slides.pdf · 2006-01-23 · Krawczyk et al. - Computational Model of Lightness

Krawczyk et al. - Computational Model of Lightness Perception

Acknowledgments

I would also like to thank:Summant Pattanaik and Rafał Mantiukfor discussionsAlan Gilchristfor details on his experiment with natural scenesOpenEXR, Magnum Photosfor making their images available

Thank you for your attention!