Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: 400-700nm. range Visible light:

Similar presentations


Presentation on theme: "CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: 400-700nm. range Visible light:"— Presentation transcript:

1

2 CS6825: Color

3 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: 400-700nm. range Visible light: 400-700nm. range

4 3 Color: Color: It is determined by light source, surface properties (what light is absorbed & reflected) and the sensor. It is determined by light source, surface properties (what light is absorbed & reflected) and the sensor.

5 4 The Sensor - Human Vision Human eyes have 2 types of sensors: Human eyes have 2 types of sensors: CONESCONES Sensitive to colored light, but not very sensitive to dim light, Curves like Red, Green, Blue Sensitive to colored light, but not very sensitive to dim light, Curves like Red, Green, Blue RODSRODS (very) Sensitive to achromatic light (very) Sensitive to achromatic light

6 5 Human Cones We perceive color using three different types of cones: We perceive color using three different types of cones: 440 nm (BLUE)440 nm (BLUE) 545 nm (GREEN)545 nm (GREEN) 580 nm (RED)580 nm (RED) SGSG SRSR SBSB

7 6 Illumination Source - Sunlight Sunlight under different conditions…is not pure white light Sunlight under different conditions…is not pure white light

8 7 Color Models They provide a standard way of specifying a particular color using a 3D coordinate system. Hardware oriented: Hardware oriented: RGBRGB CMYCMY YIQ (luminance, inphase, quadrature)YIQ (luminance, inphase, quadrature) Image processing oriented: Image processing oriented: HIS (hue, intensity, saturation)HIS (hue, intensity, saturation) XYZXYZ

9 8 CIE primaries: XYZ The Commission Internationale de l’Eclairage defined 3 standard primaries: X, Y, Z that can be added to form all visible colors. (better at this than Red, Green, Blue space ) The Commission Internationale de l’Eclairage defined 3 standard primaries: X, Y, Z that can be added to form all visible colors. (better at this than Red, Green, Blue space ) Y was chosen so that its color matching function matches the sum of the 3 human cone responses. Y was chosen so that its color matching function matches the sum of the 3 human cone responses.

10 9 CIE primaries: XYZ All positive spectral matching curves All positive spectral matching curves Y corresponds to brightness Y corresponds to brightness Equal energy white: X=Y=Z Equal energy white: X=Y=Z Relationship to RGB Relationship to RGB

11 10 x,y,z normalize X,Y,Z s.t. x+y+z=1x,y,z normalize X,Y,Z s.t. x+y+z=1 Chromaticity is given byChromaticity is given by HUE HUE SATURATION SATURATION Pure colors are at the curved boundaryPure colors are at the curved boundary White is (1/3,1/3,1/3)White is (1/3,1/3,1/3) Image Gonzales and Woods

12 11 Mixing Colors on CIE diagram Any color along a line can be obtained by mixing the colors of the endpoints. Any color along a line can be obtained by mixing the colors of the endpoints. Any point in a triangle can be obtained by mixing the colors of the vertices. Any point in a triangle can be obtained by mixing the colors of the vertices.

13 12 RGB Model Based on human visual system cones. Based on human visual system cones. Additive model. Additive model. An image consists of 3 BANDS: Red (R), Green (G), Blue (B) An image consists of 3 BANDS: Red (R), Green (G), Blue (B) Used in computer monitors, televisions, consumer digital cameras. Used in computer monitors, televisions, consumer digital cameras. Hence often used in media vision systems. Hence often used in media vision systems.

14 13 RGB convert to XYZ

15 14 CMY Model Cyan-Magenta-Yellow is a subtractive model which is good to model absorption of colors. Cyan-Magenta-Yellow is a subtractive model which is good to model absorption of colors. Appropriate for paper printing. Subtractive model Appropriate for paper printing. Subtractive model

16 15 RGB Is Additive CMY Is Subtractive Typically used for projected/ emitted light like TV / computers Typically used for reflected light like in printers

17 16 YIQ Model Used by NTSC TV standard Used by NTSC TV standard Separates Hue (I,Q) from Luminance (Y) (so for old black and white TVs can transmit/use just Y). Separates Hue (I,Q) from Luminance (Y) (so for old black and white TVs can transmit/use just Y).

18 17 Luminance vs Intensity

19 18 HSI Model HSI Model Multiple views of the HSI space

20 19 RGB-HSI Conversion (See Gonzalez and Woods) Note: R, G and B are in [0,1] range

21 20 Color constancy Ability to perceive the colors of objects in a scene independent for the most part from the color of the ambient illumination Ability to perceive the colors of objects in a scene independent for the most part from the color of the ambient illumination Research into how can from a measurement such as R,G,B extract the information from the true color of the object (surface) and REMOVE the factors of the illumination source and the sensor limitation/properties. Research into how can from a measurement such as R,G,B extract the information from the true color of the object (surface) and REMOVE the factors of the illumination source and the sensor limitation/properties.

22 21 Color Balancing by von Kries method balancing is the global adjustment of the intensities of the colors balancing is the global adjustment of the intensities of the colors Refer to wiki (http://en.wikipedia.org/wiki/Color_balance) for details of this simple algorithm that uses XYZ space. Refer to wiki (http://en.wikipedia.org/wiki/Color_balance) for details of this simple algorithm that uses XYZ space.wikihttp://en.wikipedia.org/wiki/Color_balancewikihttp://en.wikipedia.org/wiki/Color_balance Here are the results: Here are the results:

23 22 Conclusion Color is an important visual clue – how would you know how to grab a red pen without the red cap? Color is an important visual clue – how would you know how to grab a red pen without the red cap? Color can and is represented in many different “color spaces”…like RGB, CMY, XYZ,etc. Color can and is represented in many different “color spaces”…like RGB, CMY, XYZ,etc. We typically use different color spaces for different purposes (i.e. CMY for printers, RGB for monitors and cameras). We typically use different color spaces for different purposes (i.e. CMY for printers, RGB for monitors and cameras). Color correction looks at trying to reduce or if possible eliminate the effects the illumination has on the appearance of the color of an object. This is an active area of research in color. We saw a simple color balance method. Color correction looks at trying to reduce or if possible eliminate the effects the illumination has on the appearance of the color of an object. This is an active area of research in color. We saw a simple color balance method.


Download ppt "CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: 400-700nm. range Visible light:"

Similar presentations


Ads by Google