colour cpsc 533c february 3, 2003 rod mcfarland. ware, chapter 4 the science of colour vision colour...

38
Colour CPSC 533C February 3, 2003 Rod McFarland

Upload: hilary-heath

Post on 13-Jan-2016

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Colour

CPSC 533C

February 3, 2003

Rod McFarland

Page 2: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Ware, Chapter 4

• The science of colour vision

• Colour measurement systems and standards

• Opponent process theory

• Applications

Page 3: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

The science of colour vision

• Receptors and trichromacy theory

Red

Blue Green

Page 4: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Colour measurement systems and standards

• Any colour can be matched using a combination of three “primaries”.

• The primaries are not necessarily red, green, and blue. Any three different colours can be used. The range of colours that can be produced from a given set of primaries is the gamut.

bBgGrRC

Page 5: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Colour standards

• CIE (Commission Internationale d’Éclairage)– Primaries chosen for

mathematical properties: do not actually correspond to colours. These “virtual” colours X, Y, and Z are called tristimulus values.

– Y is the same as luminance

Page 6: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

CIE – Chromaticity

• Chromaticity is derived from tristimulus values:

• Since x+y+z=1, just use x, y values and luminance (Y).

• Chromaticity diagram:

Z

Y

X

ZYXz

y

x1

Page 7: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Uniform Colour Space - CIEluv• Uniform colour space: a

representation where equal distances in space correspond to equal distances in perception

• Useful for:– Specification of colour

tolerances– Color coding (maximum

distinction)– Pseudocolour sequences to

represent ordered data values• CIE XYZ color space is not

uniform• CIEluv is a transformation of

the chromaticity diagram

Page 8: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

• CIEluv does not solve all problems:– Contrast effects– Small colour patches: difficult to distinguish

colours in the yellow-blue direction

Page 9: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Opponent process theory

• Black-white (luminance), red-green, and blue-yellow opponents

• Has basis in biology and culture

• Should use opponent colours for coding data

Page 10: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Properties of Colour Channels

• Isoluminant / Equiluminous patterns: a colour pattern whose components do not differ in luminance

• Red-green and yellow-blue channels carry only about 1/3 of the detail carried by black-white.

Page 11: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Yellow Text on a Blue Background

• Is fairly easy to read unless the text is isoluminant with the background colour. As the luminance of the background becomes the same as the luminance of the text, it is very difficult to make out what the text says. So much so, that at this point I can write just about anything I want here and hardly anyone would want to put in the effort to see what it was I had written.

Page 12: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Other isoluminance effects

• Stereoscopic depth is not detectable with isoluminant colours

• Isoluminance in animation makes it appear to be slower than the same animation in black-and-white

• Shape and form are best shown using luminance:

Page 13: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Colour appearance

• Contrast

• Saturation

• Brown

low high

Page 14: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour selection interfaces

• Colour naming– Natural Colour System (NCS) e.g. 0030-G80Y20

• Blackness 00, intensity 30, green 80, yellow 20

– Pantone, Munsell: standard colour chips

Page 15: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for labelling (nominal information encoding)– Distinctness

• A rapidly distinguished colour lies outside the convex polygon defined by the other colours in CIE space

Page 16: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for labelling (2)– Unique hues: “universally recognized” hues

(red, green, blue, yellow, black, white) should be used

– Contrast with background: border around objects

Page 17: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for labelling (3)– Colour blindness: majority of colour-blind

people cannot distinguish red-green, but most people can distinguish blue-yellow

– Number: only 5-10 codes easily distinguished

Page 18: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for labelling (4)– Size

• Colour-coded objects should not be very small (about ½ degree minimum size).

• Smaller objects should be more highly saturated, large colour-coded regions should have low saturation. Text highlighting should be high-luminance, low-saturation.

– Conventions• Common usage of colours, e.g. red=stop,

green=ready, blue=cold…

Page 19: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for labelling (5)– Ware’s 12 recommended colours (in order of

preference):

Page 20: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Pseudocolour sequences for mapping– Pseudocolouring is the practice of assigning

colour to map values that do not represent colour

• Medical imaging• Astronomical images• Mapping nonvisible spectrum information to the

visible spectrum (astronomy, infrared images)

– Gray scale best for showing surface shape– Colour best for classification

Page 21: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for mapping (2)– For orderable sequences, black-white, red-green,

blue-yellow, or saturation (dull-vivid) sequence can be used.

– For detailed data, the sequence should be based mainly on luminance. For low letail, chromatic or saturation sequences can be used.

– Uniform colour spaces can be used to create colour sequences where equal perceptual steps correspond to equal metric steps.

– Where it is important to be able to read off values from a colour map, a sequence that cycles through many colours is preferable.

Page 22: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for mapping (3)– A “spiral” through colour space (cycling

through several colours while continuously increasing in luminance) is often a good choice.

Hue 0, 50,…250, 45, 95…

Luminance 0, 25, 50… 225

Page 23: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for mapping (4)– Perception: even if the sequence is smooth,

people tend to see discrete colours, potentially miscategorizing data.

• My personal division into blue, green, yellow, orange, red, purple: very nonlinear

Page 24: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for mapping (5)– Using colour for 3-D information mapping

• Difficult to read accurately• May be used to identify regions• Satellite images: regions of invisible spectrum

mapped to red, green, blue channels

Page 25: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Applications

• Colour for multidimensional discrete data– 5-D plot using (x, y) position, red, green, blue– Possible to identify clusters– Ambiguous: is a point low-red or high-green?– Other methods needed to analyze clusters

once identified

Page 26: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Rogowitz et al. How Not to Lie with Visualization

• Visual representation of data affects the perceived structure of the data.

Page 27: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Enhancing data interpretation using Colour

• Perceptual impact of a colour is not predictable from the red/green/blue components of the colour

• Mapping different aspects of colour to different data is not intuitively decodable by users.

• Default colour maps: rainbow– Perceptual nonlinearity– False contours– Yellow attracts attention

Page 28: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Guiding colour map selection

• Constrain the set of colour maps available to the user based on:– Data type– Data spatial frequency– Visualization task– Other design choices made by user

Page 29: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Representing Structure

• Nominal data– Object should be distinguishably different but not

perceptually ordered

• Ordinal data– Distinguishable with perceptual ordering

• Interval data– Equal steps in data correspond to equal steps in

perceived magnitude

• Ratio data– Zero point distinguishable in colour sequence

Page 30: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Structure

• Magnitude of a variable at every spatial position– Use luminance (gray scale) or saturation

Page 31: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Spatial Frequencyhi

gh

spa

tial f

requ

ency

low

luminance-based saturation-based

Page 32: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Segmentation• Low frequency – more segmentation steps can be used

Page 33: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

Highlighting

Luminance-based map can be highlighted using hue variations. The highlighted regions have the same luminance value as the rest of the map.

Page 34: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

PRAVDA

• Perceptual Rule-Based Architecture for Visualizing Data Accurately

• Part of IBM’s Visualization Data Explorer (http://www.research.ibm.com/dx/)

• Provides choices for colour maps based on spatial frequency, data type, and user-selected goal: isomorphic (structure-preserving), segmentation, highlighting

Page 35: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process

PRAVDA

Page 36: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process
Page 37: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process
Page 38: Colour CPSC 533C February 3, 2003 Rod McFarland. Ware, Chapter 4 The science of colour vision Colour measurement systems and standards Opponent process