Color (colour) Chapter 6 Digital Multimedia, 2nd edition.

Slides:



Advertisements
Similar presentations
Detecting and Mixing Colors STEM DIGITAL Institute Rob Snyder.
Advertisements

RET Optics Research Workshop ”Demos” Dr. Mike Nofziger Professor College of Optical Sciences University of Arizona Dr. Mike Nofziger 2013.
How Do We Mix Color? How do determine complimentary color?
P H Y S I C S Chapter 8: Light and Optics Section 8A: Light and Refraction.
Aalborg University Copenhagen
Chapter Twenty-Five: Light 25.1 Properties of Light 25.2 Color and Vision 25.3 Optics.
Fundamentals of Digital Imaging
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
CS 4731: Computer Graphics Lecture 24: Color Science
Colour Theory and Application B.Sc. (Hons) Multimedia ComputingMedia Technologies.
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
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.
Digital Image Fundamentals
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 & Color Management. Overview I. Color Perception Definition & characteristics of color II. Color Representation RGB, CMYK, XYZ, Lab III. Color Management.
CMYK Cyan Cyan Magenta Magenta Yellow Yellow Black Black.
1 Additive Colour Mixing using a Computer Monitor You will use: a Liquid Crystal Display (LCD) or Cathode Ray Tube (CRT) Computer Monitor, this PowerPoint.
Digital Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
Light and Color. Light is a form of energy light travels extremely fast and over long distances light carries energy and information light travels in.
Color Systems. Subtractive Color The removal of light waves to perceive color: –Local or physical attributes of pigments, dyes, or inks reflect certain.
Kleur Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions.
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.
Guilford County SciVis V104.02
TCP/IP.
CS 376 Introduction to Computer Graphics 01 / 26 / 2007 Instructor: Michael Eckmann.
Digital Images The digital representation of visual information.
How do we perceive colour? How do colours add?. What is colour? Light comes in many “colours”. Light is an electromagnetic wave. Each “colour” is created.
C O L O R S PRINT VS MULTIMEDIA. Main Difference Print –Primary Colors CMYK Cyan, Magenta, Yellow, Black - Subtractive Color system –Add together = black.
Product Design Sketching Chromatic Theories. Color Spectrum The range of colors seen by human eye is the “visible color spectrum”
Digital Images Chapter 8, Exploring the Digital Domain.
Color Management. How does the color work?  Spectrum Spectrum is a contiguous band of wavelengths, which is emitted, reflected or transmitted by different.
Color. There are established models of color, each discipline uses it own method for describing and discussing color intelligently.
Color Theory And Photography
Color Models. Color Vision The color-responsive chemicals in the cones are called cone pigments and are very similar to the chemicals in the rods. The.
25.2 The human eye The eye is the sensory organ used for vision.
Digital Media Dr. Jim Rowan ITEC 2110 Color. Question! Inside Photoshop and Gimp there are image filters that, among other things, allow you to blur the.
UNIT EIGHT: Waves Chapter 24 Waves and Sound Chapter 25 Light and Optics.
Chapter 16 Light and Color  16.1 Properties and Sources of Light  16.2 Color and Vision  16.3 Photons and Atoms.
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 Media Dr. Jim Rowan ITEC 2110 Color. COLOR Is a mess It’s a subjective sensation PRODUCED in the brain Color differs for light and paint/ink Printing.
COLOR.
Color Color Color Tsung-Yi Wu.
Introduction to Computer Graphics
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
INPUT AND OUTPUT COMPUTER DEVICES PENGANTAR TEKNOLOGI INFORMASI (A)
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Raster Graphics and Color Greg Humphreys University of Virginia CS 445, Fall 2003.
Lesson 2. Review - Energy in a Wave A wave is a disturbance that transfers energy from one point to another without transferring matter. In a water wave,
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
LIGHT Chapter Twenty-Five: Light  25.1 Properties of Light  25.2 Color and Vision  25.3 Optics.
1.02 Color Here we go AGAIN!. A chart used to choose colors—helps you choose colors that look good together. Color Palette.
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
Chapter 3 Color Objectives Identify the color systems and resolution Clarify category of colors.
16.2 Color and Vision. Chapter 16 Objectives  Describe at least five properties of light.  Describe the meaning of the term “intensity.”  Use the speed.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Half Toning Dithering RGB CMYK Models
Color Theory.
Detecting and Mixing Colors STEM DIGITAL Institute
Advanced AV Production
Chapter 6: Color Image Processing
Chapter V, Printing Digital Images: Lesson II Picture Display and Computer Monitors
Why does a blue shirt look blue?
Light Waves Day 1.
Presentation transcript:

Color (colour) Chapter 6 Digital Multimedia, 2nd edition

Color is how our eyes perceive different forms of energy. Energy moves in the form of waves. What is color?

What is a wave? Think of a fat guy (Dr. Breimer) doing a cannonball into a pool. The incredible energy created by my fat ass hitting the water is transfer and dispersed into the pool in the form of a wave

Why does energy move in waves? I don’t f***ing know. Are you 4-years old? you have to ask a million stupid questions? Seriously, there is some complex physics behind the reason, but here is a simple way to explain it….

Why does energy move in waves? Q: How does a snake move without legs? A: By going “swish swish” Similarly, the “swish swish” of a wave allows energy to move even in a vacuum.

Why does energy need to move anyway? To get a 40oz beverage from the liquor store

Where were we anyhow? Short wavelength Long wavelength Light is a form of energy that travels in a wave pattern. The length of the wave can vary

The Human Eye… has Cones and Rods (like nerves) that can detect different wavelengths of light… and send signals to the brain.

We can only see a very limited range of wave lengths. What would it be like if we could see microwaves? Visible Energy

What microwaves might look like

Spectrum of visible light

What is your favorite color? Can you guess mine? –Infared My son’s favorite color is yellow, red, black, white, blue, purple, brown (poop color), khaki (light poop color), and orange. –This is his way of saying he hates pink

Tristimulus Theory Any color can be produced by mixing different amounts of three additive primaries

How do TVs and Computer Monitors create color?

The same way our eyes detect color. By mixing the three wavelengths your eyes can detect.

Red, Yellow and Blue (NOT!) In kindergarten, we all learned that the primary colors were: Red, Yellow, and Blue, right? Well, that was a lie. Just, like in 1 st grade when they told you there was a giant vacuum in space. There is NO giant vacuum in space. Microwaves are NOT invisible. And, Yellow is NOT a primary color!

Yellow Yellow is ONLY considered primary when mixing paint or ink Mixing paint is different than mixing light More colors = darker color Red + Green is too dark (brownish, not yellow)

Green Mixing light is different than mixing paint. It is an additive and synergistic process More color = lighter color Red + Green = bright yellow. Red + Green + Blue = white!

Back to TVs and Monitors The surface is black, no light equals black. Each pixel is created from three separate light signals. Two models: –RGB: Red, Green, Blue –CMYK: Cyan Magenta Yellow Key (level of intensity – bright to dark)

Pixel Components If you put colors close enough together, the eye perceives them as one color.

TVs and Monitors Light signals can be generated in many different ways The key is that you want the pixel to be very small and bright. Three technologies: 1.CRT: Cathode Ray Tube 2.LCD: Liquid Crystal Display 3.Plasma

CRT: Cathode Ray Tube Glass tube containing an electron gun and a fluorescent screen

LCD: Liquid Crystal Display Each pixel consists of a layer of molecules aligned between transparent electrodes, and polarizing filters

Plasma TV Cells between two panels of glass hold neon and xenon gas. Gas is electrically turned into a plasma which excites phosphors to emit light.

RGB vs. Wavelength Technologically, it is easier to control color by emitting three different colors RGB, rather than vary the wavelength to create a “pure” color. Similar to Binary –Can encode any number in binary –Can encode any color with RGB combination

RGB vs. Wavelength In fact, the cones and rods in the eyes detect only three colors. We see more than three because the cones and rods send “mixed” or synergistic signals to the brain. Humans have a hard time distinguishing RGB mixtures from “pure colors” because we sense color as RGB mixtures anyway.

RGB is great but not perfect You can NOT reproduce all the visible color wavelengths using RGB combinations But, you can get pretty close.

RGB vs. CMYK RGB is NOT suitable for printing on paper. Color printers can NOT produce Yellow (Red+Green) because ink does not have the same synergistic properties of light. Thus, Yellow has to be a primary pigment. The color wheel gets turned.

RGB vs. CMYK CMYK: Cyan, Magenta, Yellow, and K (Key) which is really black. RGB is used almost exclusively for TVs/Monitors (where the surface is Black), you don’t need Key/Black Because CMYK is also for print (where paper is typically white), you need Black (C+M+Y = purplish brown). How do you get White with RGB?

Subtract additive primary from white gives its complement –Equivalently, add other two additive primaries C = G+B = W-R M = R+B = W-G Y = R+G = W-B Cyan, magenta and yellow are subtractive primary colours (mixing ink/paint) Complementary Colours 170–171

CMYK CMYK encoding is used for applications that focus on printing: Photo Developing software and publishing software like QuarkXpress, Framemaker, etc. Applications that use RGB must convert to CMYK for printing Some RGB colors (on the monitor) can be perfectly matched using CMYK.

RGB vs. CMYK

Digital Color Operating Systems and applications encode color using bits. Very early color systems only used 2 bits (4 colors). Dr. B’s first computer (IBM 8086) supported only 4 colors CMYK. As process speeds increased and graphics hardware improved 8 bit color and 16 bit color became the standard ( )

Data  Color Assume a four color encoding (2 bits) Assume a monitor with 640 X 480 pixels Monitor refreshes 60 times per second –(60 Hertz) The operating system must send… 640 X 480 X 2 X 60 bits per second. = 36 million bit per second.

Data  Color: Hardware Monitor plugs into a video/graphics card. The video card converts the bit pattern into an electrical signal. Monitors and graphics cards work together because of international standards. –For example, VGA standard

Monitor The electrical signal triggers the pixel color. CRT and LCD technology has a limit on –How small a pixel can be. –How bright it can be –How often it can be refreshed Hertz is the typical range

Data  Color: Software The graphics card actually plugs into the mother board of the computer. The bit pattern travels across the motherboard. A device driver is used so that the operating system can communicate with the graphics card. A device driver is just small program…still written directly in assembly language.

Graphics Cards Old graphics card were just signal converters New graphics cards have memory (RAM) and processors –Takes the burden off of the computer’s processor. –Enables 24-bit color at resolutions as high as 2560x1600. –Plus graphics card can also do things like render vectors (geometry computations).

RGB Color Depth Choose number of bits for each of R, G and B More bits per color means more total colors, but image files will be larger 8 bits per color is not the standard: 24-bit color, 16.7 million colors

RGB Color Depth 8 bits (1 byte) per component means that you have 256 different “levels” If R = G = B, color is a shade of gray. Human eye can distinguish 256 shades of gray So, while 16.7 million colors is beyond what the human eye can distinguish. 24-bit RGB is under quantized for gray. But for Gray only.

Practical Technique: Color Palettes Choose 256 most important colors in an image to store in its palette When 24-bit image is reduced to indexed color, some colors may be missing form the palette –Replace missing color by nearest, may lead to posterization –Dither – use pattern of dots and optical mixing Web-safe palette – 216 colors guaranteed to reproduce accurately on all platforms and browsers

Alternative way of specifing colour Hue (roughly, dominant wavelength) Saturation (purity) Value (brightness) Model HSV as a cylinder: H angle, S distance from axis, V distance along axis Basis of popular style of colour picker HSV 173–176