1 / 85

Color

Color. Marc Pollefeys COMP 256. S. N. N. S. Last class. point source model. Last class. Photometric stereo. Last class. Shadows … Local shading does not explain everything …. Announcement. Assignment 2 (Photometric Stereo) is available on course webpage:

etta
Download Presentation

Color

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Color Marc Pollefeys COMP 256

  2. S N N S Last class • point source model

  3. Last class • Photometric stereo

  4. Last class • Shadows … • Local shading does not explain everything …

  5. Announcement • Assignment 2 (Photometric Stereo) is available on course webpage: http://www.cs.unc.edu/vision/comp256/ reconstruct 3D model of face from images under varying illumination (data from Peter Belhumeur’s face database) Due data: Wednesday, Feb. 12.

  6. The sensation of color is caused by the brain. Some ways to get this sensation include: Pressure on the eyelids Dreaming, hallucinations, etc. Main way to get it is the response of the visual system to the presence/absence of light at various wavelengths. Light could be produced in different amounts at different wavelengths (compare the sun and a fluorescent light bulb). Light could be differentially reflected (e.g. some pigments). It could be differentially refracted - (e.g. Newton’s prism) Wavelength dependent specular reflection - e.g. shiny copper penny (actually most metals). Flourescence - light at invisible wavelengths is absorbed and reemitted at visible wavelengths. Causes of color

  7. Radiometry for colour • All definitions are now “per unit wavelength” • All units are now “per unit wavelength” • All terms are now “spectral” • Radiance becomes spectral radiance • watts per square meter per steradian per unit wavelength • Radiosity --- spectral radiosity

  8. Black body radiators • Construct a hot body with near-zero albedo (black body) • Easiest way to do this is to build a hollow metal object with a tiny hole in it, and look at the hole. • The spectral power distribution of light leaving this object is a simple function of temperature • This leads to the notion of color temperature --- the temperature of a black body that would look the same

  9. Simplified rendering models: reflectance slide from T. Darrel

  10. Simplified rendering models: transmittance slide from T. Darrel

  11. Color of the sky Violet Indigo Blue Green Yellow Orange Red J. Parkkinen and P. Silfsten

  12. Color of lightsources Violet Indigo Blue Green Yellow Orange Red

  13. Spectral albedo Spectral albedoes for several different leaves Spectral albedoes are typically quite smooth functions. spectral albedo  color color  spectral albedo Measurements by E.Koivisto.

  14. slide from T. Darrel

  15. slide from T. Darrel

  16. slide from T. Darrel

  17. Demos • Additive color • Subtractive color http://www.hazelwood.k12.mo.us/~grichert/explore/dswmedia/coloradd.htm

  18. Accurate color reproduction is commercially valuable Many products are identified by color Few color names are widely recognized by English speakers - About 10; other languages have fewer/more, but not many more. It’s common to disagree on appropriate color names. Color reproduction problems increased by prevalence of digital imaging - eg. digital libraries of art. How do we ensure that everyone sees the same color? Why specify color numerically?

  19. slide from T. Darrel

  20. slide from T. Darrel

  21. slide from T. Darrel

  22. slide from T. Darrel

  23. slide from T. Darrel

  24. slide from T. Darrel

  25. slide from T. Darrel

  26. slide from T. Darrel

  27. slide from T. Darrel

  28. The principle of trichromacy • Experimental facts: • Three primaries will work for most people if we allow subtractive matching • Exceptional people can match with two or only one primary. • This could be caused by a variety of deficiencies. • Most people make the same matches. • There are some anomalous trichromats, who use three primaries but make different combinations to match.

  29. Grassman’s Laws • Colour matching is (approximately) linear • symmetry: U=V <=>V=U • transitivity: U=V and V=W => U=W • proportionality: U=V <=> tU=tV • additivity: if any two (or more) of the statements U=V, W=X, (U+W)=(V+X) are true, then so is the third • These statements are as true as any biological law. They mean that color matching under these conditions is linear.

  30. slide from T. Darrel

  31. slide from T. Darrel

  32. slide from T. Darrel

  33. slide from T. Darrel

  34. slide from T. Darrel

  35. slide from T. Darrel

  36. slide from T. Darrel

  37. slide from T. Darrel

  38. slide from T. Darrel

  39. How does it work in the eye?

  40. slide from T. Darrel

  41. slide from T. Darrel

  42. slide from T. Darrel

  43. slide from T. Darrel

  44. slide from T. Darrel

  45. slide from T. Darrel

  46. A qualitative rendering of the CIE (x,y) space. The blobby region represents visible colors. There are sets of (x, y) coordinates that don’t represent real colors, because the primaries are not real lights (so that the color matching functions could be positive everywhere).

More Related