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.

Slides:



Advertisements
Similar presentations
A Digital Imaging Primer Nick Dvoracek Instructional Resources Center University of Wisconsin Oshkosh.
Advertisements

P H Y S I C S Chapter 8: Light and Optics Section 8A: Light and Refraction.
Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Digital Imaging and Image Analysis
Colors – part 1 K1066BI – Graphical Design Teppo Räisänen
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.
Aalborg University Copenhagen
Chapter Twenty-Five: Light 25.1 Properties of Light 25.2 Color and Vision 25.3 Optics.
Capturing and optimising digital images for research Gilles Couzin.
1 Computer Science 631 Lecture 6: Color Ramin Zabih Computer Science Department CORNELL UNIVERSITY.
Image Representation.
Color (colour) Chapter 6 Digital Multimedia, 2nd edition.
1 Perception. 2 “The consciousness or awareness of objects or other data through the medium of the senses.”
Digital Media Lecture 6: Color Part 1 Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
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
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.
Chapter 6 Color Multimedia Systems. Key Points Colour is a subjective sensation produced in the brain. The measurable physical quantity that best models.
© 1999 Rochester Institute of Technology Color. Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
07: Color in Interactive Digital Media
Color Sources:
Color. There are established models of color, each discipline uses it own method for describing and discussing color intelligently.
© 1999 Rochester Institute of Technology Introduction to Digital Imaging.
Color in image and video Mr.Nael Aburas. outline  Color Science  Color Models in Images  Color Models in Video.
25.2 The human eye The eye is the sensory organ used for vision.
Images The Science of Images What is an Image on the computer? The Psychology of Images What do we use images for? What effect color has on our mood and.
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.
What title would you give to each droodle?. Almost bald man with a split-end.
Communicating Quantitative Information Is a picture worth 1000 words? Digital images. Number bases Standards, Compression Will [your] images last? Homework:
1 Chapter 2: Color Basics. 2 What is light?  EM wave, radiation  Visible light has a spectrum wavelength from 400 – 780 nm.  Light can be composed.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
CSC361/ Digital Media Burg/Wong
Rainbow - colours in the eye  play with colours  use of colour  'physics' of colour  how we see colour  how computers do colour see also
Digital Media Lecture 7: Color part 2 Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Rainbow - colours in the eye and on the screen who I am Alan Dix part-time Professor at Lancaster part-time entrepreneur at aQtive and vfridge
Digital Media Lecture 4: Bitmapped images: Compression & Convolution Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
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.
Color Theory. Which colours is white light made of?
Introduction to Computer Graphics
Digital Media Dr. Jim Rowan ITEC 2110 Color Part 2.
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
Digital Media Dr. Jim Rowan ITEC 2110 Images: Chapters 3, 4 & 5.
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.
Digital Media Dr. Jim Rowan ITEC 2110 Chapter 3. Roll call.
TOPIC 4 INTRODUCTION TO MEDIA COMPUTATION: DIGITAL PICTURES Notes adapted from Introduction to Computing and Programming with Java: A Multimedia Approach.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
Digital Media Dr. Jim Rowan ITEC 2110 Bitmapped Images.
Light - Radiated when electrons in molecules move from a higher energy level to a lower one. A photon is produced to maintain conservation of energy and.
The Visible Spectrum And how we see it. What is Visible Light? The cones in the eye are only sensitive to a narrow range of EM frequencies. Visible Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
BITMAPPED IMAGES & VECTOR DRAWN GRAPHICS
Dr. Jim Rowan ITEC 2110 Color Part 2
Chapter V, Printing Digital Images: Lesson II Picture Display and Computer Monitors
Dr. Jim Rowan ITEC 2110 Color Part 2
Digital Media Dr. Jim Rowan ITEC 2110 Color.
Dr. Jim Rowan ITEC 2110 Color Part 2
Light Waves Day 1.
Dr. Jim Rowan ITEC 2110 Color Part 2
Dr. Jim Rowan ITEC 2110 Chapter 3
Visuals are analog signals...
Presentation transcript:

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 is different than viewing a monitor –a monitor EMITS light of a specific wavelength (or a combination of them) –print is like paint... it absorbs all the colors EXCEPT the color that you see which is reflected by the paint –a ball that is painted yellow and is viewed in a room that is lit by a light that is completely blue will look black... Why?

Light Is electromagnetic radiation (just like microwaves and radio signals... just different wavelengths) Visible light has a wavelength that is between 400 and 700 nanoMeters A nanoMeter is 1 billionth of a meter... –HINT: It’s a very short wave

/wiki/Electromagnetic_ spectrum

Light Visible light is a mix of different wavelengths of light at different intensities The sun has one Spectral Power Distribution, fluorescent light another, a camera flash another and an LED light another

Color To reproduce it electronically or manipulate it digitally we need a way to model color. i.e. we need a way to convert a subjective sensation to a reproducible physical phenomenon

A model of color: roughly based on the eye Rods(night vision, B&W) Cones (3 kinds, one for red, one for blue and one for green) RGB –tri-stimulus theory: the theory that states any color can be completely specified with just 3 values

RGB Color is specified by 3 numbers –one for red –one for green –one for blue Color is displayed on a monitor by 3 different colored things –one for red –one for green –one for blue

The 3 colored things Phosphor for a CRT and Flat panel displays (aka SED or surface conductor electron emitter display) Pockets of fluorescent gas for Plasma a bunch of other stuff too... All of them have the ability to adjust the intensity of each of the three things resulting in the display of most of the visible colors

RGB... Good but not all visible colors In truth, the 3 different cones in the eye are cross connected in very complex ways This keeps the model, which assumes (wrongly) that each is strictly sensing R or G or B, from being able to completely reproduce the visual stimulus

RGB Pure red –(100%, 0%, 0%) –(255,0,0) Pure green –(0%, 100%,,0%) –(0,255,0) Pure blue –(0%, 0%, 100%) –(0,0,255)

Mixing the Color of Light Is an additive process –monitors emit light Is not like mixing paint which is a subtractive process –paint absorbs light

How many colors? Different cultures have different ideas about when 2 colors differ People individually differ in their ability to distinguish between two colors With the range of (which can be encoded in one byte) for each of the Red, Green and Blue there are 16.8 million possibilities

Color Depth Usually expressed in bits One byte for each of the RGB => 24 bits Back to binary... –1 bit => 2 1 => 2 choices –2 bits => 2 2 => 4 choices –4 bits => 2 4 => 16 choices –8 bits => 2 8 => 256 choices

Color and Grey RGB (0, 0, 0) is black RGB (255, 255, 255) is white When R = G = B you get grey –RGB (25, 25, 25) is dark grey –RGB (200, 200, 200) is light grey

Color at 16 bit Color Depth RGB at 24 bits –24 bits => 3 bytes –3 bytes, 3 colors => one byte per color RGB at 16 bits –16 bits => 2 bytes –2 bytes, 3 colors... –16/3 = 5 bits with one left over... –HMMMmmmm... –What to do?

16 bit color 16/3 = 5 bits with one left over... What to do with the extra bit? Go back to human perception –Humans do not discriminate Blue as well as they do Green vision –Evolutionary roots? Lots of blue light in daylight Lots of green to discriminate Assign 5 bits to R & B, and 6 bits to G –allows twice as many greens as blues

Why more than 16.8 million? 24 bits is plenty for human vision and 48 bits are WAY more than needed for human vision... If you scan at 48 bit color there is a lot of information buried in the image than we can distinguish BUT... This information can be used by the program to make extremely fine distinctions during image manipulation (edge finding for example) (Failed rocket engine example)

Why worry about color depth? One reason: file size Any reduction in color depth has a 3-fold effect on the final image size A 100X100 RGB image –at 24 bit color => 30,000 bytes uncompressed –at 16 bit color => 20,000 bytes uncompressed –1 byte => 1/3 reduction of size

Why is too big bad? It wastes valuable computer resources –hard drive disk space –vram space –data transit time VRAM internet monitor main memory hard drive Sure, computers are really fast and big now BUT... Consider Video...

Indexed color We’ve seen this before... the color table Used by a number of file formats –tiff, png, bmp, gif, Use a table (color palete) to store colors Use a map of logical colors to reference the color map

Indexed color vs. 8 bit color 8 bit color defines only 256 colors Indexed color allows 256 different colors What’s the difference? –8 bit defines 256 colors---whether they are used or not –Indexed color allows 256 different colors that exist in the image

Indexed color vs. 8 bit color 8 bit direct color... an example –suppose... Red gets 3 bits ==> 000, 001, 010, ==> 8 values Green gets 3 bits ==> 000, 001, 010, ==> 8 values Blue gets 2 bits ==> 00, 01, 10, 11 ==> 4 values total different colors ==> 8 x 8 x 4 = 256 different colors But images in nature have a narrower range of colors... a palete With indirect color you can store 256 different colors that are actually found in the image –results in an image that more closely mimics the image

Indexed color Even though it allows for a closer-to- real-life image, some colors must be modified How to do this? –use the nearest color –optical mixing... dithering

Nearest color Loss of some detail Distorted color Generates artifacts –Banding or posterization

Optical mixing: Dithering Dithering uses a group of colors to approximate the desired color Works well for high resolution images Works poorly for low resolution images See figure 6.8, p169 for dithering effects

Questions?