II-1. Color in Scientific Visualization. Let s start with the most important component in a visualization system You!

Similar documents
Color in Scientific Visualization

Using Color in Scientific Visualization

Colors in Visualization. By Mike Bailey Oregon State University

Colors in Scientific Visualization. Mike Bailey Oregon State University

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

Color in Scientific Visualization

Colors in Images & Video

LECTURE 07 COLORS IN IMAGES & VIDEO

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

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

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

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

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

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

COLOR and the human response to light

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

Color Image Processing

Mahdi Amiri. March Sharif University of Technology

Lecture 3: Grey and Color Image Processing

Wireless Communication

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

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

University of British Columbia CPSC 414 Computer Graphics

Digital Image Processing

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

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

Color, Vision, & Perception. Outline

COLOR. and the human response to light

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

Introduction & Colour

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

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

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

VC 16/17 TP4 Colour and Noise

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

Introduction. The Spectral Basis for Color

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

Lecture 8. Color Image Processing

Color Image Processing. Gonzales & Woods: Chapter 6

Chapter 3 Part 2 Color image processing

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

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

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

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

The human visual system

Overview of Human Cognition and its Impact on User Interface Design (Part 2)

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

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

Human Vision, Color and Basic Image Processing

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

Color Image Processing

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

excite the cones in the same way.

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

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

Color Perception and Applications. Penny Rheingans University of Maryland Baltimore County. Overview

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

Colour + Perception. CMPT 467/767 Visualization Torsten Möller. Pfister/Möller

6 Color Image Processing

Visual Perception. Jeff Avery

Chapter 2 Fundamentals of Digital Imaging

Color Science. CS 4620 Lecture 15

Colour, Vision & Perception

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

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

Digital Image Processing. Lecture # 8 Color Processing

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

Introduction to Computer Vision CSE 152 Lecture 18

Comp/Phys/Apsc 715. Example Videos. Administrative 1/23/2014. Lecture 5: Trichromacy, Color Spaces, Properties of Color

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

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

USE OF COLOR IN REMOTE SENSING

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

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

Additive. Subtractive

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin

Digital Images. Back to top-level. Digital Images. Back to top-level Representing Images. Dr. Hayden Kwok-Hay So ENGG st semester, 2010

Color Theory: Defining Brown

Introduction to Multimedia Computing

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color Perception. This lecture is (mostly) thanks to Penny Rheingans at the University of Maryland, Baltimore County

CSE512 :: 6 Feb Color. Jeffrey Heer University of Washington

Visual Perception. human perception display devices. CS Visual Perception

Color images C1 C2 C3

Fig Color spectrum seen by passing white light through a prism.

EECS490: Digital Image Processing. Lecture #12

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

The Principles of Chromatics

Basics of Colors in Graphics Denbigh Starkey

Problems. How do cameras measure light and color? How do humans perceive light and color?

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

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

Multimedia Systems and Technologies

Interactive Computer Graphics

Imaging Process (review)

YIQ color model. Used in United States commercial TV broadcasting (NTSC system).

Technology and digital images

Transcription:

Color in Scientific Visualization The often scant benefits derived from coloring data indicate that even putting a good color in a good place is a complex matter. Indeed, so difficult and subtle that avoiding catastrophe becomes the first principle in bringing color to information. Above all, do no harm. Mike Bailey mjb@cs.oregonstate.edu -- Edward Tufte colorinvis.pptx What s Wrong with this Color Scale? Not a bad choice of color scale, but the Dynamic Range needs some work Source: Scientific American, June 2000 Sensors in Your Retina Let s start with the most important component in a visualization system You! How Many Shades of Different Colors Are We Able to Detect? Rods ~115,000,000 Concentrated on the periphery of the retina Sensitive to intensity Most sensitive at 500 nm (~green) ~7,000,000 Cones Concentrated near the center of the retina Sensitive to color Three types of cones: long(~red), medium (~green), and short (~blue) wavelengths II-1

Sidebar: How Many Pixels Do You Need? Monitors: Additive Colors A person with 20/20 vision has a visual acuity of: 1 arc-minute = 1/60 Θ = 1 / 60 =.00029 R Density = 1 D Viewing Distance (inches) Required Pixel Density (ppi) 36 95 31 111 24 143 12 286 9 400 6 600 If the monitor s resolution is 1600 x 1200, then its diagonal size would need to be: 21 18 14 7 5 3 II-2

Additive Color (RGB) Plasma Displays use Additive Color R M=R+B Y=R+G W=R+G+B G Gas cell Phosphor C=G+B B Grid of electrodes OpenGL: glcolor3f( r, g, b ); 0. r, g, b 1. http://electronics.howstuffworks.com LCD Displays use Additive Color Hue-Saturation-Value (HSV): For many vis applications, a simpler way to specify additive color Hue 120º Grid of electrodes Saturation 0º Color filters 240º Value float hsv[3], rgb[3]; The HsvRgb function is in your sample code http://electronics.howstuffworks.com HsvRgb( hsv, rgb ); glcolor3fv( rgb ); 0. s, v, r, g, b 1. 0. h 360. Home Depot uses a form of HSV :-) Hue-Saturation-Value (HSV): For many vis applications, a simpler way to specify additive color 120º Notice that blue-green-red in HSV space corresponds to the visible portion of the electromagnetic spectrum 0º : 380 nm : 520 nm : 780 nm 240º Turning a scalar value into a hue when using the Rainbow Color Scale S S Hue 240. 240. S S max min min II-3

Hue-Saturation-Value: The OSU ColorPicker Program The OpenDX Visualization Software Allows you to Sculpt the Transfer Function in HSV,, Hue, Saturation, Value Subtractive Colors (CMYK) Subtractive Color (CMYK) B C M G B G=C+Y B=C+M K=C+M+Y M R C G B Y R=M+Y Color Printing Uses subtractive colors Uses 3 (CMY) or 4 (CMYK) passes CMYK printers have a better-looking black There is a considerable variation in color gamut between products How Do Color Separations Work in Color Printing? Source: R. Daniel Overheim and David Wagner, Light and Color, John Wiley & Sons, 1982. II-4

Getting the CMYK Colors CIE Chromaticity Diagram Wax 520 nm 0.90 0.80 Toner 0.60 0.50 y 040 0.40 0.20 780 nm Toner 0.10 Sheets Point 0.20 0.40 0.60 0.80 x 380 nm CIE Chromaticity Diagram Color Gamut for a Workstation Monitor 520 nm 0.90 0.80 Color CRT 0.90 0.80 Point 0.60 0.60 0.50 y 040 0.40 C' D 0.50 y 0.40 0.20 C 780 nm 0.20 Monitor 0.10 Eye 0.10 Point 0.20 0.40 0.60 0.80 x 0.20 0.40 0.60 0.80 x 380 nm C = the color D = the dominant wavelength C = the complementary color II-5

Color Gamut for a Monitor and Color Slides Color Gamut for a Monitor and Color Printer Color CRT 0.90 0.80 0.60 0.50 y Slide Projected Color Slides Color CRT 0.90 0.80 0.60 0.50 y Color Paper Hardcopy 0.40 0.40 0.20 0.20 Eye 0.10 0.20 0.40 0.60 0.80 Point Eye 0.10 0.20 0.40 0.60 0.80 x x The Perceptually Uniform L-a-b Color Space Color Meters Are Able to Measure L-a-b Coordinates 520 nm OSU Logo 780 nm Point 380 nm What Makes a Good Contrast? Some Good Rules of Thumb When Using Color for Scientific Visualization Many people think simply adding color onto another color makes a good contrast In fact, a better measure is the Luminance Using this also helps if someone makes a grayscale photocopy of your color hardcopy II-6

Color Alone Doesn t Cut It! Luminance Contrast is Crucial! Four score and seven years ago, our foreparents brought forth upon this continent a new nation, conceived in liberty, and dedicated to the proposition that all people are created equal. I sure hope that my life does not depend on being able to read this quickly and accurately! Four score and seven years ago, our foreparents brought forth upon this continent a new nation, conceived in liberty, and dedicated to the proposition that all people are created equal. I would prefer that my life depend on being able to read this quickly and accurately! The Luminance Equation Luminance Table Y =.30* +.59* +.11* R G B Y 0 0.59 11% 30% 59% Cyan Magenta 0.41 Orange 0.5 0.60 0.89 Contrast Table (I use a L* of about 0.40) Cyan Magenta Orange 0 0.59 0.41 0.60 0.89 0 0.41 0.29 0.89 0.19 0.40 0.59 0.41 0.59 0.59 0.41 0.89 0.29 0.19 0.48 0.48 0.59 0.18 1 0.49 0.78 Cyan 0.40 0.59 0.29 0.19 Magenta Orange 0.41 0.60 0.59 0.41 0.18 1 0.49 0.29 0.19 0.19 0.48 0.89 0.59 0.78 0.19 0.48 II-7

Pre-Established Color Meanings : : : : Do Not Attempt to Fight Pre-Established Color Meanings Stop On Off Dangerous Hot High stress Oxygen Shallow Money loss On Plants Carbon Moving Money Cool Safe Deep Nitrogen Neutral Hydrogen In Visualization, we Use the Concept of a Transfer Function to set Color and Opacity as a Function of Scalar Value Use the Right Transfer Function Color Scale to Represent a Range of Scalar Values Gray scale Intensity Interpolation Color Saturation interpolation Two-color interpolation Scalar Value Rainbow scale Heated object interpolation -- Gray Scale Intensity and Saturation Color Scales II-8

Two-Color Interpolation Rainbow Color Scale Implementation: 240º 120º 0º Heated Object Color Scale -- Color Scale Implementation: add one color component at a time Color Scale Contours A Gallery of Color Scales II-9

Something Different: A Gallery of Add-One-Component-at-a-Time Color Scales Something Different Adding Beyond R+G+B R+B+G G+R+B G+B+R B+R+G B+G+R Visualization by Justin Finn Something Really Different The Haxby Color Scale But, Here s What s Really Important: Given any 2 colors, make it intuitively obvious which represents higher and which represents lower Obvious: Not obvious: What in the World was The Oregonian Thinking When They Chose This Color Scale? This is Better Source: The Oregonian, January 11, 2006 Source: The Oregonian, October 31, 2006 Shouldn t lush-green colors represent wet and sand-colors represent dry? II-10

And, one more And, one more Much of the total dynamic range of the color scale is used up in the first small percent of the animation, leaving little for the rest of the animation Source: The Oregonian, February 21, 2010 Source: The Oregonian, February 21, 2010 Limit the Total Number of Colors if Viewers are to Discern Information Quickly Instructions: 1. Press red to logoff normally 2. Press light red to delete all your files, change your password to something random, and logoff? You have 2 seconds Color Rules The Ability to Discriminate Colors Changes with Surrounding Color: Simultaneous Contrast In visualization applications, we must be aware that our perception of color changes with: The surrounding color How close two objects are How long you have been staring at the color Sudden changes in the color intensity II-11

The Ability to Discriminate Colors Changes with Surrounding Color: Simultaneous Contrast The Ability to Discriminate Colors Changes with Surrounding Color: Simultaneous Contrast http://xkcd.com The Ability to Discriminate Colors Changes with Surrounding Color: Simultaneous Contrast http://xkcd.com II-12

So, What s Up with the Dress Debate? Afterimages It s part of the Color Constancy effect If you see this color, but you expect that the dress is currently in a shadow, you know that it must really be this color. New York Times If you see this color, but you expect the dress is currently in bright light, you know that it must really be this color. Afterimages Beware of Mach Banding Beware of Mach Banding Beware of Mach Banding Perceived Intensity Actual Intensity Perceived Intensity Actual Intensity II-13

Beware of Mach Banding Think of the Mach Banding problem as being similar to trying to round second base at a 90º angle. Perceived Intensity The Ability to Discriminate Colors Changes with the Size of the Colored Area Actual Intensity The Ability to Discriminate Colors Changes with the Ambient Light The Ability to Discriminate Colors Changes with the Age of the Viewer Why are more men affected by CVD than women? Be Aware of Color Vision Deficiencies (CVD) It s because the red-green CVD defect is carried on the X Chromosome There is actually no such thing as color blindness CVD affects ~10% of Caucasian men CVD affects ~4% of non-caucasian men CVD affects ~0.5% of women The most common type of CVD is red-green -yellow also exists http://www.bio.miami.edu/~cmallery/150/mendel/c7.15.x.y.jpg A woman with the defective gene on one X chromosome probably has a dominant non-defective gene on the other. A man with a defect gene on his one X chromosome has no other gene to fix it. II-14

Be Aware of CVD: Code Information undantly Be Aware of CVD: Code Information undantly: Color + Four score and seven years ago, our forefathers brought forth upon this continent a new nation... Four score and seven years ago, our forefathers brought forth upon this continent a new nation... Four score and seven years ago, our forefathers brought forth upon this continent a new nation... Different fonts Symbols Fill pattern Outline pattern Outline thickness This also helps if someone makes a grayscale photocopy of your color hardcopy Use a or Line as the Boundary Between Colored Regions Do Not Display Fast-moving or High-detail Items in Color, Especially Watch the Use of Saturated s and s Together s and s are on opposite ends of the color spectrum. It is hard for your eyes to focus on both. Four score and seven years ago, our foreparents brought forth upon this continent a new nation, conceived in liberty, and dedicated to the proposition that all people are created equal. Be Aware of the Differences Between Color Gamuts Adapt by Deciding What is Most Important for Your Visualization II-15

Color Gamut for a Monitor and a Color Printer Color-Preserving vs. Contrast-Preserving Gamut Mappings 0.90 Color CRT 0.80 0.60 0.50 y 0.40 Color Paper Hardcopy Monitor colors to be printed 1 1 3 2 2 3? 3 4 2 4? 0.20 0.10 Eye 0.20 0.40 0.60 0.80 x Point Understand the Limitations of going from Monitors to NTSC Video Some Basic Rules for Using NTSC (Analog) Video or, Why I m So Glad We Are in the Twilight of Analog TV Use less saturated colors due to color gamut considerations Expect an effective resolution of (at best) ~640x480 Do not use single-pixel thick lines Stay away from the edges of the screen Some colors have better video resolution than others NTSC Cycles-of-Encoding per Scanline Beware of Gratuitous Color Pollution What: Intensity Cycles/Scanline: 267 Just because you have millions of colors to choose from, doesn't mean you must use them all Orange- 96 Purple- 35 II-16

Beware of Lots of Other Stuff II-17

Good Color and Perception References Maureen Stone, A Field Guide to Digital Color, AK Peters, 2003. Roy Hall, Illumination and Color in Computer Generated Imagery, Springer-Verlag, 1989. R. Daniel Overheim and David Wagner, Light and Color, John Wiley & Sons, 1982. David Travis, Effective Color Displays, Academic Press, 1991. L.G. Thorell and W.J. Smith, Using Computer Color Effectively, Prentice Hall, 1990. Edward Tufte, The Visual Display of Quantitative Information, Graphics Press, 1983. Edward Tufte, Envisioning Information, Graphics Press, 1990. Edward Tufte, Visual Explanations, Graphics Press, 1997. Howard Resnikoff, The Illusion of Reality, Springer-Verlag, 1989. II-18