Aalborg University Copenhagen

Slides:



Advertisements
Similar presentations
Color Image Processing
Advertisements

Achromatic and Colored Light CS 288 9/17/1998 Vic.
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
School of Computing Science Simon Fraser University
Colour Theory and Application B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Color Mixing There are two ways to control how much red, green, and blue light reaches the eye: “Additive Mixing” Starting with black, the right amount.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Images and colour Colour - colours - colour spaces - colour models Raster data - image representations - single and multi-band (multi-channel) images -
CSc 461/561 CSc 461/561 Multimedia Systems Part A: 2. Image.
1 Perception. 2 “The consciousness or awareness of objects or other data through the medium of the senses.”
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Color of (digital image) Raed S. Rasheed Agenda Color. Color Image. Color Models – RGB color model. – CMYK color model. – HSV and HSL color model.
Color Models AM Radio FM Radio + TV Microwave Infrared Ultraviolet Visible.
COLOR MODELS Ramya Sarma Anusha Holla
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
Digital Images The digital representation of visual information.
Product Design Sketching Chromatic Theories. Color Spectrum The range of colors seen by human eye is the “visible color spectrum”
© 1999 Rochester Institute of Technology Color. Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Color. There are established models of color, each discipline uses it own method for describing and discussing color intelligently.
25.2 The human eye The eye is the sensory organ used for vision.
UNIT EIGHT: Waves Chapter 24 Waves and Sound Chapter 25 Light and Optics.
Week 6 Colour. 2 Overview By the end of this lecture you will be familiar with: –Human visual system –Foundations of light and colour –HSV and user-oriented.
6. COLOR IMAGE PROCESSING
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Chap 4 Color image processing. Chapter 6 Color Image Processing Chapter 6 Color Image Processing Two major areas: full color and pseudo color 6.1 Color.
Digital Image Processing Part 1 Introduction. The eye.
Waves How do we see color?
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Digital Image Processing Week VIII Thurdsak LEAUHATONG Color Image Processing.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
A color model is a specification of a 3D color co-ordinate system and a visible subset in the co-ordinate System within all colors in a particular color.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
Color Theory. Which colours is white light made of?
Introduction to Computer Graphics
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Colors of Pigment The primary colors of pigment are magenta, cyan, and yellow. [
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
Lecture 15 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
Color and Color for the Web First, discuss idea of color (some overlap with lecture on HVS) First, discuss idea of color (some overlap with lecture on.
Chapter 4: Color in Image and Video
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Image Processing Lecture 12: Color Image Processing Naveed Ejaz.
Color Models Light property Color models.
School of Electronics & Information Engineering
IMAGE PROCESSING COLOR IMAGE PROCESSING
Color Image Processing - 1
Design Concepts: Module A: The Science of Color
Color Image Processing
Color Image Processing
Color Image Processing
Chapter 6: Color Image Processing
Color Image Processing
Colour Theory Fundamentals
COMS 161 Introduction to Computing
Color Image Processing
Digital Image Processing
Digital Image Processing
Color Image Processing
Color Model By : Mustafa Salam.
Presentation transcript:

Aalborg University Copenhagen Digital Color Images Lecture on the image part (#1) Image Processing (IP2) Volker Krüger Aalborg Media Lab Aalborg University Copenhagen vok@media.aau.dk

Agenda What are digital colors ? What are color spaces ? Why do we have different color spaces?

What is Color? The colors that humans perceive are determined by the nature of the light reflected from an object! Green objects reflect “green” light! Achromatic: Only intensities (amount of light) Gray levels as seen on black/white TV-monitor Ranges from black to white Chromatic: Light waves; Visual range: 400nm-700nm Let the students work this out!

Red, Green, Blue R,G,B are called Primary Colors R,G,B where chosen due to the structure of the human eye R,G,B are used in cameras

Receptivity of the Eye Cells

R+G+B=White? Really?!? So why don’t we get white, when we use paint? Subtractive Color! But why does it work for the TV? Additive Color!

Additive/Subtractive Color Additive Color: Sum of light of different wave lengths. That light reaches our eye directly. Examples: TV, Multimedia Projector Subtractive Color: White Color is emitted by the sun and is only partly reflected from an object! Red paint filters all light, except red! Yellow paint absorbs blue, but reflects red and green Examples: Paint

RGB Color Space The “classical” Computer Color space 3 different colors: Red, Green, Blue Similar to the human visual system! If R,G,B have the same energy, we perceive a shade of white (grey, black).

RGB Color Space A single pixel consists of three components: [0,255]. Each pixel is a Vector. (0,0) 128 251 60 = Pixel-Vector in the computer memory Final pixel in the image Caution! Sometimes pixels are not stored as vectors. Instead, first is stored the complete red component, then the complete green, then blue.

Example RGB Original Image R-Component G-Component B-Component

Convert color to grayscale ? I = (R+G+B) / 3 + / 3 = ( )

Color and Intensity are mixed RGB to Chromaticities Chromaticity Plane Colour Cube Same Colour, different intensities The sensor/spectral integration gives for each pixel a 3D vector containing the RGB values. If the illumination intensity changes the same material will always lie on that vector, just the length changes Therefore 1. Norm or chromaticities, that means independent of the brightness r+g+b=1 sufficient to look into 2D all colours Representation of colour vector C independent of intensity Used in Computer Vision: normalised RGB

Another way of separating color and intensity: HSI H=Hue S=Saturation I=intensity H and S may characterize a color: Chromaticities Hue: associated with the dominant wavelength in the mixture of light waves, as perceived by an observer. Hue is color attribute that describes a pure color Saturation: relative purity; amount of white light mixed with hue Example: Pure colors are fully saturated. Not saturated are for example pink (red+white)

HSI color space Perhaps the most intuitive color representation! Used in Computer Graphics (and computer vision)

HSI Color Space A single pixel consists of three components. Each pixel is a Vector (0,0) 128 251 60 = Pixel-Vector in the computer memory Final pixel in the image Caution! Sometimes pixels are not stored as vectors. Instead, first is stored the complete hue component, then the complete sat., then the intensity.

Example HSI Original Image Hue Saturation Intensity

YUV Color Space YUV: used in commercial color TV broadcasting and video signals We need a format that decouples grayscale and color: HSI “Poor-man’s” HSI Much easier to compute from RGB, than HSI

YUV Color Space A single pixel consists of three components. Each pixel is a Vector (0,0) 128 251 60 = Pixel-Vector in the computer memory Final pixel in the image Same Caution as before applies here!

Example YUV Original Image Intensity U-Component V-Component

Full Color / Pseudo Color Full Color: acquired by a TV camera/scanner Pseudo Color: Assigning a shade of color to a monochrome intensity or range of intensities

Mapping of Gray Values into Pseudo Color Images

Pseudo Color

What to remember Achromatic versus Chromatic How come that with RGB we can represent almost all colors? Subtractive Color versus Additive Color Color Spaces RGB: Used in cameras and the HSV Normalised RGB: Decouples intensity and color Used in Computer Vision HSI: Decouples intensity and color (used in CG and CV) YUV: Used in commercial color TV Pseudo color: represent grayscales as colors

Exercises Questions to the lecture? What was good about the lecture and what could have been better? How many different 512x512 grayscale (8bit) images exist? How many different colors exist for a 24bit pixel? How many different 512x512 color (24bit) images exist? How is color represented in HTML? Start EyesWeb! Load the example patches under Eyesweb3.3.0\patches\video PE-Questions: explain in your own words: Why can we use RGB to generate almost all colors? What is the difference between Achromatic and Chromatic? What is the difference between Subtractive Color and Additive Color? Describe the four different color spaces (RGB, rg, HSI, YUV) What are their characteristics and where are they used? What is a pseudo color image?