Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

Similar documents
Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain

Mahdi Amiri. March Sharif University of Technology

COLOR and the human response to light

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

COLOR. and the human response to light

Colors in Images & Video

The Science Seeing of process Digital Media. The Science of Digital Media Introduction

Multimedia Systems and Technologies

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

COLOR. Elements of color. Visible spectrum. The Fovea. Lecture 3 October 30, Ingela Nyström 1. There are three types of cones, S, M and L

COLOR. Elements of color. Visible spectrum. The Human Visual System. The Fovea. There are three types of cones, S, M and L. r( λ)

Lecture 8. Color Image Processing

Raster Graphics. Overview קורס גרפיקה ממוחשבת 2008 סמסטר ב' What is an image? What is an image? Image Acquisition. Image display 5/19/2008.

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Raster Graphics 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

Digital Image Processing Color Models &Processing

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

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

To discuss. Color Science Color Models in image. Computer Graphics 2

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies

Color Image Processing. Gonzales & Woods: Chapter 6

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University

The Principles of Chromatics

Interactive Computer Graphics

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match

LECTURE 07 COLORS IN IMAGES & VIDEO

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin

Color Image Processing

Lecture 3: Grey and Color Image Processing

Digital Image Processing

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

Wireless Communication

The human visual system

SEEING. Seeing lecture 2 The retina and colour vision. Dr John S. Reid Department of Physics University of Aberdeen

Additive Color Synthesis

Figure 1: Energy Distributions for light

Color Image Processing

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

Lecture Color Image Processing. by Shahid Farid

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

Lecture 6 6 Color, Waves, and Dispersion Reading Assignment: Read Kipnis Chapter 7 Colors, Section I, II, III 6.1 Overview and History

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

IFT3355: Infographie Couleur. Victor Ostromoukhov, Pierre Poulin Dép. I.R.O. Université de Montréal

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

In order to manage and correct color photos, you need to understand a few

Colors in images. Color spaces, perception, mixing, printing, manipulating...

Color Theory: Defining Brown

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options?

05 Color. Multimedia Systems. Color and Science

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30)

Color Science. CS 4620 Lecture 15

Color vision and representation

Introduction. The Spectral Basis for Color

Introduction to Color Science (Cont)

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Introduction to Multimedia Computing

Dr. Shahanawaj Ahamad. Dr. S.Ahamad, SWE-423, Unit-06

Images and Colour COSC342. Lecture 2 2 March 2015

Color Perception. Color, What is It Good For? G Perception October 5, 2009 Maloney. perceptual organization. perceptual organization

Adapted from the Slides by Dr. Mike Bailey at Oregon State University

Introduction & Colour

Colour (1) Graphics 2

Reading. Foley, Computer graphics, Chapter 13. Optional. Color. Brian Wandell. Foundations of Vision. Sinauer Associates, Sunderland, MA 1995.

Image Perception & 2D Images

Reading for Color. Vision/Color. RGB Color. Vision/Color. University of British Columbia CPSC 314 Computer Graphics Jan-Apr 2013.

LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR

Color and Color Models

Werner Purgathofer

Digital Image Processing (DIP)

Visual Imaging and the Electronic Age Color Science

Color. Computer Graphics CMU /15-662

University of British Columbia CPSC 314 Computer Graphics Jan-Apr Tamara Munzner. Color.

Human Vision, Color and Basic Image Processing

Chapter Objectives. Color Management. Color Management. Chapter Objectives 1/27/12. Beyond Design

Announcements. Electromagnetic Spectrum. The appearance of colors. Homework 4 is due Tue, Dec 6, 11:59 PM Reading:

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones

Introduction to Computer Vision CSE 152 Lecture 18

Chapter 2 Fundamentals of Digital Imaging

Brief Introduction to Vision and Images

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

LIGHT AND LIGHTING FUNDAMENTALS. Prepared by Engr. John Paul Timola

skip chap. 8 for now Chap. 9 Color (continued) Lecture 19 Tuesday, October 26

Color and perception Christian Miller CS Fall 2011

Conceptual Physics Fundamentals

Using Color in Scientific Visualization

USE OF COLOR IN REMOTE SENSING

Color Reproduction. Chapter 6

Computer Graphics Si Lu Fall /27/2016

White light can be split into constituent wavelengths (or colors) using a prism or a grating.

Color. Bilkent University. CS554 Computer Vision Pinar Duygulu

Chapter 3 Part 2 Color image processing

Graphics and Image Processing Basics

University of British Columbia CPSC 414 Computer Graphics

Transcription:

CSCU9N5: Multimedia and HCI 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5 CSCU9N5: Multimedia and HCI 2 1

Electromagnetic Spectrum CSCU9N5: Multimedia and HCI 3 Why/How do we perceive colours? Before answering this, we look at what happens when light rays enter our eyes CSCU9N5: Multimedia and HCI 4 2

Photoreceptors The retina is the area at the back of the eye on which the image we see is formed. Photoreceptors are sensitive to light, and send signals to the brain about what we see. Two different types of receptors, commonly called rods and cones Rods are for the night vision in black and white Cones are for daytime colour vision CSCU9N5: Multimedia and HCI 5 CSCU9N5: Multimedia and HCI 6 3

Rods Rods are very sensitive to light, and allow us to see under a very low level of illumination They give us our night vision, in shades of white, grey and black About 120 millions rods in one eye Located mainly towards the edges of the retina (so better for peripheral vision) Cannot resolve fine detail Subject to light saturation Ever been looking up at the stars, and a neighbour s security light comes on and temporarily dazzles you? CSCU9N5: Multimedia and HCI 7 Cones Cones are less sensitive to light than the rods, so can tolerate more light There are about 6 million cones, mainly concentrated on the fovea area of the retina Three types of cone, each sensitive to a different wavelength - this allows colour vision The actual wavelengths that the cones are most sensitive to are 560nm, 530nm, 430nm, commonly labelled red, green, blue respectively better labelling would be short, medium, and long wavelengths CSCU9N5: Multimedia and HCI 8 4

Cone sensitivity 60% cones red 30% green 10% blue CSCU9N5: Multimedia and HCI 9 What is colour perception for? To support the animal in its ecology To enable it to identify food (etc.) in different lighting conditions colour constancy The ability to recognise colours in different illuminations A difficult problem for computer systems And one that can result in unexpected visual illusions CSCU9N5: Multimedia and HCI 10 5

CSCU9N5: Multimedia and HCI 11 Colour constancy example Above are parts of the two sections, without the surrounding parts of the image. The eye/brain corrects for the expected effect of the shadow. What colour is this dress? CSCU9N5: Multimedia and HCI 12 6

What is colour? There are two possible reasons why an object may be coloured: It may reflect light unevenly over the visible spectrum It may emit light unevenly over the visible spectrum. If an object reflects light evenly, it will be white or grey or black If it emits light whose energy is spread evenly over the spectrum, the light will be white. CSCU9N5: Multimedia and HCI 13 Reflected light: Light incident on a surface CSCU9N5: Multimedia and HCI 14 7

Why are things coloured? Most things reflect, rather than emit, light Materials have different absorption and scattering characteristics for different wavelengths of light Examples: A yellow object absorbs a lot of blue light, but scatters in the longer (red and green) wavelengths Black clothing gets very hot in sunlight, because it doesn t scatter much light (obviously not, as it s black!) so it absorbs a lot (as heat) CSCU9N5: Multimedia and HCI 15 Emitting light: Additive Colour Matching Mixing different amounts and wavelengths of light together produces colours Maxwell s trichromatic colour theory CSCU9N5: Multimedia and HCI 16 8

Colour Models Different ways of constructing colours some ways are from primaries some are more numerical ways Some of the more common systems: RGB (red green blue) CMY (cyan magenta yellow) CMYK (cyan magenta yellow black) HSV (hue saturation value) CIE (Commission Internationale d Eclairange) primaries CSCU9N5: Multimedia and HCI 17 RGB Additive colour scheme Adds red, green and blue amounts starting from black. Typical colour scheme used in graphics programming, image files, HTML etc. R, G, B values typically all from 0-255 (so stored in 1 byte) Examples: Orange R=255 G=135 B=75 Turquoise R=23 G=173 B=178 CSCU9N5: Multimedia and HCI 18 9

CMY and CMYK CMY = Cyang Magenta g Yellow g CMYK has added black and is used for printing (more in later lectures) Amount of Cyan in a colour is the same as how much red is missing in the colour compared to white (with the red fully on) Similarly, Amount of Magenta = amount of green missing Amount of Yellow = amount of blue missing Subtractive system CSCU9N5: Multimedia and HCI 19 RGB and CMY RGB and CMY are complementary colour models C = G+B = W-R M = R+B = W-G Y = R+G = W-B (W = white) CSCU9N5: Multimedia and HCI 20 10

HLS/HBS/HSV Closer to how we think about colour Hue which colour along spectrum of red-yellow-green-blue-violet Lightness or Brightness or Value how much or little light is produced from an area Saturation or Colourfulness how much colour it exhibits (greys are very unsaturated) CSCU9N5: Multimedia and HCI 21 CSCU9N5: Multimedia and HCI 22 11

CSCU9N5: Multimedia and HCI 23 CSCU9N5: Multimedia and HCI 24 12

CSCU9N5: Multimedia and HCI 25 CSCU9N5: Multimedia and HCI 26 13

Device-Dependent Colour Models Colour models so far: RGB, HSV,CMY,CMYK They are all device-dependent specific to particular hardware eg a colour with RGB values (140,60,203) will show up as slightly different colours on different monitors There is a need to achieve colour fidelity imagine an image being created, displayed on the screen, then printed. It can be important to keep the colours the same at each stage of the process. What we need: a device-independent colour model. CSCU9N5: Multimedia and HCI 27 CIE and the Standard Observer Based on experiments, the CIE (Committee Internationale de l Éclairage) in 1931 defined a Standard Observer A standard set of three primaries (X,Y,Z) These primaries are imaginary primaries in that they do not actually correspond to real visible colours They are not real in the sense that they are more saturated (intensely colourful) than real colours Y is chosen to match a standard measure of brightness - also known as Gamma (γ) CSCU9N5: Multimedia and HCI 28 14

XYZ CSCU9N5: Multimedia and HCI 29 XYZ and Device Independence XYZ is one industry standard for a deviceindependent colour space Some printers and monitors are capable of using this standard to produce colour output that is faithful to the input colours What happens (in brief) is that the device is calibrated, so that it knows how to convert to and from XYZ and its own (device-dependent) colour model (RGB or CMYK) CSCU9N5: Multimedia and HCI 30 15

Generating Colour Issues to consider in colour production: Physical limits of hardware Range of colours available Ways to circumvent limits eg by trying to increase number of colours Non-linearity (a.k.a. gamma correction) Portability i.e. how to keep the colours of an image true to life CSCU9N5: Multimedia and HCI 31 Flat Screen Monitors LCD: Liquid crystal display Liquid crystal light gates control transmission of ambient/backlit light through polarised light filters Reflective or transmissive Lower power Small to large: pixel pitch 0.2 to 0.5mm OLED Organic light-emitting diodes No backlighting required Thinner and lighter than LCDs Higher contrast ratio and truer black than LCDs (Samsung Galaxy S5) CSCU9N5: Multimedia and HCI 32 16

Monitor Gamut The gamut is the range of displayable colour Choice of exactly which primaries (phosphor colours) is a trade-off between obtaining a large gamut making the display sufficiently bright to see easily Note that the gamut shrinks as ambient (surrounding) light increases as you will know from trying to use a monitor when the sun is shining The darkest colours are lost first CSCU9N5: Multimedia and HCI 33 CSCU9N5: Multimedia and HCI 34 17

Gamut for different technologies CSCU9N5: Multimedia and HCI 35 Gamma Correction Important issue to be aware of, concerning monitors Brightness is an easily-understandable concept but a subjective one the same level of light is perceived to be dim in a bright environment, and very bright in a dark environment Luminance (Y, gamma) is an objective measure designed to correspond to our idea of brightness measure of power, weighted by a particular spectral sensitivity function characteristic of human vision CSCU9N5: Multimedia and HCI 36 18

Roughly speaking... Gamma Correction Luminance (Y) proportional to Voltage gamma Gamma approximately 2.2 for LCD screens In other words, a linear increase in the voltage does not mean a linear increase in brightness! Gamma correction may be needed to produce linearity. CSCU9N5: Multimedia and HCI 37 Accurate Colour Matching Monitor calibration alone does not ensure colour matching Colour matching technology requires software to perform calculations matching colours between screen and printer (or other devices) The calculations are between the colour models used by the devices (e.g. the RGB of a monitor or the CMYK of a printer) and an objective deviceindependent colour model, such as a CIE colour model XYZ, or Lab (as used in Photoshop) CSCU9N5: Multimedia and HCI 38 19

Colour Matching Systems Examples: PANTONE has about 1000 unique colours identified by swatches COLORCURVE identifies colours by a lightness value, a red/green value, and a blue/yellow value TRUMATCH and FOCOLTONE use swatch books that allow the user to select CMYK colours according to what is printed on the printer How to use: Install software on computer, print out samples, then choose your colour according to the printout CSCU9N5: Multimedia and HCI 39 End of Lecture CSCU9N5: Multimedia and HCI 40 20