Retinex Theory Psych221 Final Project Mike Jahr March 16, 2000.

Slides:



Advertisements
Similar presentations
Land’s Retinex algorithm
Advertisements

Computational Colour Vision Stephen Westland Centre for Colour Design Technology University of Leeds June 2005
Lightness and Retinex Theory Journal of the Optical Society of America Vol. 61, No. 1 Jan Edwin H. Land & John J. McCann.
Evolving Color Constancy Marc Ebner Universit ä t W ü rzburg, Germany Pattern Recognition Letters 27 ( 2006 ) Elsevier.
Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Color Frank Dellaert Many slides by Jim Rehg Some slides by David Forsyth.
Introduction to 3D Graphics Lecture 1: Illusions and the Fine Art of Approximation Anthony Steed University College London.
Approaches for Retinex and Their Relations Yu Du March 14, 2002.
Achromatic and Colored Light CS 288 9/17/1998 Vic.
Color Mixing Additive vs. Subtractive
“Land Mondrian” What Newton Found (and everyone believed) White light can be split into all wavelengths by a prism.
Exam next week Covers everything about all sensory modalities except hearing This includes: vision balance/touch/taste/smell/ proprioception/theroception.
Midterm 2 March 9 th and 10 th Review Session Monday 7pm in this room (probably)
Ch 71 Sensation & Perception Ch. 7: Perceiving Color © Takashi Yamauchi (Dept. of Psychology, Texas A&M University) Main topics Trichromatic theory Opponent.
Laurent Itti: CS599 – Computational Architectures in Biological Vision, USC Lecture 10: Color Perception. 1 Computational Architectures in Biological.
Lecture 30: Light, color, and reflectance CS4670: Computer Vision Noah Snavely.
Ter Haar Romeny, FEV Nuclei of fungus cell Paramecium Caudatum Spatial gradient Illumination spectrum -invariant gradient Color RGB original Color-Scale.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
What Newton Found (and everyone believed) White light can be split into all wavelengths by a prism.
Color.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2010.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Image Formation Mohan Sridharan Based on slides created by Edward Angel CS4395: Computer Graphics 1.
Introduction of the intrinsic image. Intrinsic Images The method of Finlayson & Hordley ( 2001 ) Two assumptions 1. the camera ’ s sensors are sufficiently.
CSC 461: Lecture 2 1 CSC461 Lecture 2: Image Formation Objectives Fundamental imaging notions Fundamental imaging notions Physical basis for image formation.
Color Vision Topic 2: History of Color Vision. About the Author Professor: Cambridge President: International Color Vision Society (ICVS) Research interests.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
1Computer Graphics Lecture 3 - Image Formation John Shearer Culture Lab – space 2
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Computer Graphics I, Fall 2008 Image Formation.
1 Image Formation. 2 Objectives Fundamental imaging notions Physical basis for image formation ­Light ­Color ­Perception Synthetic camera model Other.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Any questions about the current assignment? (I’ll do my best to help!)
Lab #5-6 Follow-Up: More Python; Images Images ● A signal (e.g. sound, temperature infrared sensor reading) is a single (one- dimensional) quantity that.
Color John C. Hart CS 418 Intro to Computer Graphics.
25.2 The human eye The eye is the sensory organ used for vision.
Lecture 2b Readings: Kandell Schwartz et al Ch 27 Wolfe et al Chs 3 and 4.
1 Formation et Analyse d’Images Session 2 Daniela Hall 7 October 2004.
Many of the figures from this book may be reproduced free of charge in scholarly articles, proceedings, and presentations, provided only that the following.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
©College of Computer and Information Science, Northeastern UniversityMay 27, CS 4300 Computer Graphics Prof. Harriet Fell Fall 2012 Lecture 4 – September.
September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI.
Digital Image Processing Part 1 Introduction. The eye.
Panorama artifacts online –send your votes to Li Announcements.
1 Angel: Interactive Computer Graphics4E © Addison-Wesley 2005 Image Formation.
Introduction to Computer Graphics
Lecture 34: Light, color, and reflectance CS4670 / 5670: Computer Vision Noah Snavely.
Color and Brightness Constancy Jim Rehg CS 4495/7495 Computer Vision Lecture 25 & 26 Wed Oct 18, 2002.
LIGHT Chapter Twenty-Five: Light  25.1 Properties of Light  25.2 Color and Vision  25.3 Optics.
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation 靜宜大學 資訊工程系 蔡奇偉 副教授
BASIC COLOUR COURSE Algemeen
1 Angel and Shreiner: Interactive Computer Graphics6E © Addison-Wesley 2012 Image Formation Sai-Keung Wong ( 黃世強 ) Computer Science National Chiao Tung.
Sensation and Perception. Transformation of stimulus energy into a meaningful understanding –Each sense converts energy into awareness.
CS332 Visual Processing Department of Computer Science Wellesley College CS 332 Visual Processing in Computer and Biological Vision Systems Analysis of.
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
25.2 The human eye The eye is the sensory organ used for vision.
Angel: Interactive Computer Graphics5E © Addison-Wesley 2009
Mr. Koch AP Psychology Forest Lake High School
CS 4722 Computer Graphics and Multimedia Spring 2018
Image Formation Ed Angel Professor Emeritus of Computer Science,
Ch 6: The Visual System pt 3
Computer Vision Lecture 4: Color
Isaac Gang University of Mary Hardin-Baylor
Capturing Light… in man and machine
-perceptions not in agreement (“pure” blue?)
Angel: Interactive Computer Graphics4E © Addison-Wesley 2005
Image Formation Ed Angel
Color Vision and Color Constancy
University of New Mexico
Presentation transcript:

Retinex Theory Psych221 Final Project Mike Jahr March 16, 2000

Color Constancy Color depends on wavelength But, objects reflect different wavelengths under different lighting conditions. –Banana in daylight, fluorescent light, no light... To us, they seem to retain their color.

How is this possible? There is more to color than wavelength. The visual system must somehow “discount the illuminant”

A Juicy Burger

A Closer Look...

What’s going on? It’s not very saturated, but the red burger has browns, greens, tans… How can we see these colors in only red and white light?

Enter Edwin H. Land Land was the founder of Polaroid; interested in color While running Maxwell’s experiments (3 color projectors), he noticed this It spawned decades of experiments

The Mondrian Apparatus Land set up 3 filtered light sources (LMS) Can calibrate each one; precisely control light Telescopic photometer Actually closer to a Van Doesburg...

Mondrian Experiments Measure reflectance from a green patch Calibrate lights so that a blue patch reflects an identical spectrum It still looks blue!

More Mondrian Calibrate lights for even reflectance from the green patch Cover all other patches; looks gray Uncover all patches; looks green

Land’s Conclusions Perceived color depends on reflected spectrum, but also on surroundings Relative reflectance is more important than absolute reflectance

Discount the Illuminant: Retinex “A framework for computing perceived colors on the basis of the relative intensities of three wavelengths and their spectral interactions.” Processed in retina or cortex? Retinex!

Principles of Retinex Process each receptor class independently Objective is to calculate illuminant- independent “lightness” values Lightness values represent perceived color

The Algorithm Pick a starting pixel x 1, then form a path by randomly selecting neighboring pixels Update an accumulator at each pixel: Threshold step: if difference is small, use previous sensor response

The Algorithm II Keep a counter N(x) for each pixel After a number of paths, normalize A(x) by N(x) for each pixel Result is L(x), the lightness value Algorithm has two parameters: –number of paths, length of each path

What is Lightness? Should not depend on viewing conditions Should only depend on surface properties Results in a triplet that is tough to interpret –The retinex color space Issue: what to do with it?

My Implementation 1Convert image from RGB to LMS via phosphor spectra and cone sensitivities 2Run algorithm to get lightness values 3Do something with lightness values?? B&W implementation

Retinex Variants McCann et al. –Retinex with reset Horn –Determining lightness from an image Marini –Retinex with Brownian motion

Illusions under Retinex Original imageProcessed image

More Illusions Original imageRetinex image

Biological Basis Some monkey neurons respond to colors, not wavelengths –Cortical area V4 in prestriate cortex Even goldfish can discount the illuminant

Problems with Retinex Too dependent on composition of surfaces in image Higher-order processes influence color

Conclusion Retinex is a long-lived theory, has sparked much debate and many imitators Although not a generally accurate model of human vision, it does perform well in some situations

Appendix Source files, sample images, sample output, etc. can be found in src/ along with brief explanations of each.src/

References E. H. Land, “Recent advances in retinex theory and some implications for cortical applications: Color vision and the natural image,” Proc. Nat. Acad. Sci. USA 80, 5163–5169 (1983). E. H. Land, “Recent advances in retinex theory,” Vision Res. 26, 7–22 (1986). B. K. P. Horn, “Determining lightness from an image,” Comp. Graphics Image Process. 3, 277–299 (1974). D. H. Brainard and B. A. Wandell, “Analysis of the retinex theory of color vision,” J. Opt. Soc. Am. 3, 1651–1661 (1986). J. J. McCann, “Lessons learned from Mondrians applied to real images and color gamuts,” IS&T Rep. 14, 6 (1999).

References E. H. Adelsen, “Lightness perception and lightness illusions,” in M. Gazzaniga, M.S., Ed., The Cognitive Neurosciences, Cambridge, MA: MIT Press, pp (1999). F.W. Campbell, F.R.S., “Dr. Edwin H. Land,” Biographical Memoirs of Fellows of the Royal Society, 40, (1994). D. Marini and L. Marini, “Measuring the colours we receive,” Science Tribune, October (1997).