light and colors
play

Light and Colors CS 148: Summer 2016 Introduction of Graphics and - PowerPoint PPT Presentation

Light and Colors CS 148: Summer 2016 Introduction of Graphics and Imaging Zahid Hossain http://lighthouse8.com/wp-content/uploads/2012/08/true-colors.jpg What is Light ? http://en.wikipedia.org/wiki/Electromagnetic_radiation 2 CS 148:


  1. Light and Colors CS 148: Summer 2016 Introduction of Graphics and Imaging Zahid Hossain http://lighthouse8.com/wp-content/uploads/2012/08/true-colors.jpg

  2. What is Light ? http://en.wikipedia.org/wiki/Electromagnetic_radiation 2 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  3. What is Light ? Electric field Magnetic field http://en.wikipedia.org/wiki/Electromagnetic_radiation 3 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  4. What is Light ? http://en.wikipedia.org/wiki/File:EM_spectrum.svg 4 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  5. Important Facts C = 299,792,458 m/s ( In Vacuum ) Material Speed (multiple of c ) Air 0.9997 Water 0.75 Fused quartz 0.686 Crown glass 0.658 Dense flint glass 0.60 Diamond 0.41 http://wiki.answers.com/Q/What_is_the_velocity_of_light_in_space_and_in_different_materials 5 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  6. Important Facts C = 299,792,458 m/s ( In Vacuum ) Material Speed (multiple of c ) Air 0.9997 Water 0.75 Fused quartz 0.686 Crown glass 0.658 Dense flint glass 0.60 Diamond 0.41 Explains refraction ! & total internal reflection http://wiki.answers.com/Q/What_is_the_velocity_of_light_in_space_and_in_different_materials 6 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  7. Refraction Refractive Index Snell’s Law http://upload.wikimedia.org/wikipedia/commons/1/13/F%C3%A9nyt%C3%B6r%C3%A9s.jpg 7 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  8. Total Internal Reflection When Light travels from denser medium to a lighter medium, the incident angle above a critical angle may cause when: 8 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  9. Wave Particle Duality 9 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  10. Wave Particle Duality 10 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  11. What have we lost ? • Diffraction • Polarization • Interference 11 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  12. Photon [foh-ton]: A quantum of light that has a position, a direction of propagation, and a wavelength. 12 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  13. Energy Carried by a Photon Speed of Light ~ 3 x 10 8 m/s Frequency (Hz) Planck Constant: 6.63 x 10 -34 J.s Wavelength (m) 13 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  14. Spectral Power Distribution Intuitively: Photons for each wavelength can be counted to give a histogram http://www.lamptech.co.uk/Images/Illustrations/SO%20SPD%27s.jpg 14 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  15. Colors 15 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  16. Types of Cones http://web.stanford.edu/group/vista/cgi-bin/FOV/wp-content/uploads/2012/02/rec.spec_.sens_.png 16 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  17. Measuring Light Perception Sensitivity “This cone sees green light” 17 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  18. Measuring Light Perception Power distribution Sensitivity “This light is orange.” “This cone sees green light” 18 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  19. Measuring Light Perception Multiply and integrate 19 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  20. Measuring Light Perception Multiply and integrate 20 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  21. Cone Responses Power distribution 21 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  22. Cone Responses Sensitivity 22 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  23. Cone Responses Tristimulus values 23 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  24. Conclusion There is an infinite number of wavelengths, but we only see three integral values. 24 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  25. Conclusion There is an infinite number of wavelengths, but we only see three integral values. 25 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  26. Metamers [met-uh-mers] Spectral compositions that create the same tristimulus values. 26 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  27. Implication for Displays We can simulate visual effects of any wavelength by stimulating cones independently. 27 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  28. CIE Primaries • Red: 700 nm • Green: 546.1nm • Blue: 435.8 nm 28 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  29. Color Matching Experiments 435.8 nm 546.1 nm 700 nm “Match this color.” One wavelength 29 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  30. CIE RGB Color Matching Spectral Tristimulus Values http://en.wikipedia.org/wiki/CIE_1931_color_space 30 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  31. CIE RGB Tristimulus Values 31 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  32. CIE RGB Color Matching http://en.wikipedia.org/wiki/CIE_1931_color_space 32 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  33. Color Matching Experiments 435.8 nm 546.1 nm 700 nm “Match this color.” One wavelength How do you do “Negative Light” ? 33 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  34. CIE XYZ http://upload.wikimedia.org/wikipedia/commons/8/8f/CIE_1931_XYZ_Color_Matching_Functions.svg 34 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  35. CIE XYZ http://upload.wikimedia.org/wikipedia/commons/8/8f/CIE_1931_XYZ_Color_Matching_Functions.svg 35 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  36. CIE XYZ Tristimulus Developed in 1931 36 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  37. CIE RGB to XYZ Conversion Positive for visible wavelengths 37 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  38. Chromaticity Diagram Projection of X,Y,Z on the plane z is redundant because 38 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  39. Chromaticity Diagram Given x,y and one tristimulus value (typically Y, hence named CIE xyY) one can recover X,Y and Z like the following 39 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  40. Chromaticity Diagram: D65 D65 – Mid day light Corresponds to 6500K, (actually ~6504K.) (x,y) = 0.3128, 0.3290) D65 40 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  41. Chromaticity Diagram: Complementary Color Color A and B are complementary If Combine(A,B) can produce White Or Gray 41 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  42. Chromaticity Diagram RGB are vertices; can achieve colors inside the triangle by combining them 42 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  43. Chromaticity Diagram RGB are vertices; can achieve colors inside the triangle by combining them 43 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  44. Gamut [gam-uht]: The set of colors representable using a particular display device or color space. 44 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  45. Describing a Display: HDTV Vertices are primaries, possibilities are inside triangle http://upload.wikimedia.org/wikipedia/commons/8/8f/CIExy1931_sRGB.svg 45 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  46. Preception and Color Spaces 46 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  47. Perception of Color 420nm 450nm 590nm 620nm 47 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  48. Perception of Color 420nm 450nm 590nm 620nm 48 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

  49. Perceptual Uniformity • A distance metric in a perceptually uniform color space would corresponds to the visual difference between colors as perceived by human. 49 CS 148: Introduction to Computer Graphics and Imaging (Summer 2016) – Zahid Hossain

Recommend


More recommend