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

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

Color Image Processing. Gonzales & Woods: Chapter 6

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

COLOR and the human response to light

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

Color Science. CS 4620 Lecture 15

Chapter 9: Color. What is Color? Wavelength is a property of an electromagnetic wave in the frequency range we call light

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

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

COLOR. and the human response to light

Colors in Images & Video

PERCEIVING COLOR. Functions of Color Vision

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

Introduction to Color Science (Cont)

Digital Image Processing

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

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

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

Color vision and representation

Figure 1: Energy Distributions for light

What is Color? Chapter 9: Color. Color Mixtures. Color Mixtures 10/29/2012. What is color? Color vocabulary

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

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

LECTURE 07 COLORS IN IMAGES & VIDEO

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

Digital Image Processing Color Models &Processing

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

Introduction. The Spectral Basis for Color

Computer Graphics Si Lu Fall /27/2016

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

6 Color Image Processing

Color Image Processing EEE 6209 Digital Image Processing. Outline

Color. Fredo Durand Many slides by Victor Ostromoukhov. Color Vision 1

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer.

Digital Image Processing. Lecture # 6 Corner Detection & Color 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

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

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

Chapter 3 Part 2 Color image processing

Color Image Processing

A World of Color. Session 4 Color Spaces. OLLI at Illinois Spring D. H. Tracy

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

Image Processing. Michael Kazhdan ( /657) HB Ch FvDFH Ch. 13.1

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

Color Computer Vision Spring 2018, Lecture 15

Digital Image Processing

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

Lecture Color Image Processing. by Shahid Farid

Digital Image Processing

Introduction to Color

Digital Image Processing. Lecture # 8 Color Processing

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

Color Image Processing. Jen-Chang Liu, Spring 2006

The Principles of Chromatics

Color , , Computational Photography Fall 2018, Lecture 7

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

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

Color Image Processing

Color , , Computational Photography Fall 2017, Lecture 11

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

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

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

What is Color. Color is a fundamental attribute of human visual perception.

Unit 8: Color Image Processing

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

Mahdi Amiri. March Sharif University of Technology

University of British Columbia CPSC 414 Computer Graphics

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

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

Multimedia Systems and Technologies

Introduction to Computer Vision CSE 152 Lecture 18

Color Reproduction. Chapter 6

Human Vision, Color and Basic Image Processing

Interactive Computer Graphics

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

Digital Image Processing (DIP)

Wireless Communication

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

Lecture 3: Grey and Color Image Processing

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

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

Lecture 8. Color Image Processing

Image Representations, Colors, & Morphing. Stephen J. Guy Comp 575

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

any kind, you have two receptive fields, one the small center region, the other the surround region.

The basic tenets of DESIGN can be grouped into three categories: The Practice, The Principles, The Elements

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

Digital Image Processing COSC 6380/4393

Geography 360 Principles of Cartography. April 24, 2006

Reading instructions: Chapter 6

Graphics and Image Processing Basics

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

Sampling and Reconstruction. Today: Color Theory. Color Theory COMP575

Color Image Processing

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

Colorimetry and Color Modeling

05 Color. Multimedia Systems. Color and Science

Introduction to computer vision. Image Color Conversion. CIE Chromaticity Diagram and Color Gamut. Color Models

Physics 1230: Light and Color. If you do not have a telescope, please come get the parts on front table. Useful for Written_HW12.

Chapter 6: Color Image Processing. Office room : 841

Transcription:

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

ACHROMATIC LIGHT (Grayscale) Quantity of light physics sense of energy -- intensity and luminance psychological sense (perceived intensity) -- brightness Intensity and Brightness They are related but are not the same. Checkout the 3- way switch, you will go from 50watt to 100, and 100 to 150, but the brightness are levels are not even. 2

Gamma correction Characteristic of the eye: it is sensitive to ratios of intensity levels rather than to absolute values of intensity. On a brightness scale, the differences between intensities of 0.1 and 0.11 and of 0.5 and 0.55 are equal. Brightness is called perceived intensity. Sometimes, without confusion, simply intensity. 3

To find 256 perceived intensities starting from lowest I 0 to a maximum of 1: I r 0 I 0 (1/, I I 0 1 ) ri 1/ 255 0, I, I j 2 r ri j I 1 0 r I 2 I 0,, I (255 j)/ 255 0 255 r 255 I 0 1 And in general for n+1 intensities: r 1/ n j ( 1/ I0), I j r I0, j log r ( I j / I0) The minimum attainable intensity I 0 for a CRT is anywhere from about 1/200 to 1/40 of the maximum intensity of 1.0. 4

Dynamic range -- the ratio between the maximum and minimum intensities (1/I 0 ), the bigger the better. The intensity is related to the number of electrons N in a CRT I = kn g where k & g are constants; g is between 2.2 to 2.5 N is proportional to V (the control-grid voltage), so for another constant K: I = KV g 5

Given a desired intensity I, we can determine the voltage (intensity) needed in the hardware: r (1/I 1/n j 0),I j r I0 And we know that I = KV g ; V = (I/K) 1/g, Therefore, gamma correction means: 1 / g V j = ROUND((I j /K) ) 6

The values of K, g, and I 0 depend on the CRT in use, so in practice the look-up table is loaded by a method based on actual measurement of intensities. Use of the look-up table in this general manner is also called gamma correction. If the display has hardware gamma correction, then I j rather than V j is placed in entry j of the look-up table or refresh buffer. 7

How many intensities are enough? when r < 1.01, the eye cannot distinguish between intensities I j,i j+1. Thus the appropriate value for n, the number of intensity levels: r = 1.01 = (1/ I 0 ) 1/n It depends on the lowest intensity value I 0. If I 0 = 1/200, n = log 1.01 200 = 532 8

Halftone Approximation Spatial integration -- if we view a very small area from a sufficiently large viewing distance, our eyes average fine detail within the area and record only the overall intensity. An n*n group of bi-level pixels can provide n 2 +1 intensity levels using halftoning technique. It is a trade-off between spatial resolution and intensity resolution. 9

The pixel patterns to approximate the halftones must be designed not to introduce visual artifacts in an area of identical intensity values: a) form a growth sequence so that any pixel intensified for intensity level j is also intensified for all levels k>j. b) The patterns must grow outward from the center. c) For certain hardware system, all pixels that are on must be adjacent to other on pixels. 1 0

6 5 8 4 7 Dither matrix: 1 0 3 to display an intensity I, 2 we turn on all pixels whose values are < I Halftone approximation is not limited to bilevel displays. For each point, we can have Multiple level of intensities. Error diffusion: the error is added to the values of the four image-array pixels to the right of and below the pixel in question (7/16 of the error to the pixel to the right, 3/16 to the pixel below and to the left, 5/16 to the pixel immediately below, and 1/16 to the pixel below and to the right.) 11

CHROMATIC LIGHT Discussions of color perception: Hue -- distinguishes among colors such as red, green, and yellow. Saturation -- refers to how far color is from a gray of equal intensity. Red is highly saturated; pink is relatively unsaturated; unsaturated colors include more white light than do the vivid, saturated colors. Brightness (Lightness) -- perceived intensity In graphic design profession, colors are specified by matching to printed color samples. 1 2

Artists often specify color as different tints, shades, and tones of saturated, or pure, pigments (subjective). tints -- results from adding white pigment to a pure pigment shade -- comes from adding a black pigment to a pure pigment tone -- is the consequence of adding both black and white pigments to a pure pigment White tints Pure color Grays Shades Black The percentage of pigments that must be mixed to match a color can be used as a color specification. 1 3

Psychophysics The above color specifications are subjective: human observers judgements, the lighting, the size of the sample, the surrounding color, etc. Light is electromagnetic energy in the 400- to 700-nm wavelength part of the spectrum, which is perceived as the colors from violet through indigo, blue, green, yellow, and orange to red. The amount of energy present at each wavelength is represented by a spectral energy distribution. 1 4

A quantitative way of specifying color: colorimetry Dominant wavelength -- is the wavelength of the color we see ; corresponds to the perceptual notion of hue Excitation purity -- corresponds to the saturation of the color Luminance -- corresponds to the intensity (brightness, lightness) The above wavelength and energy distribution corresponds to a light. The distribution represents an infinity of numbers, one for each wavelength in the visible spectrum. A pure color is 100% saturated, containing no white light. White light and grays are 0% saturated, containing no color of any dominant wavelength.) 1 5

We can describe the visual effect of any spectral distribution by dominant wavelength, excitation purity, and luminance. Two spectral energy distributions that look the same are called metamers. e1=e2: excitation purity=0; e1=0: excitation purity=100%. The dominant wavelength may not be the one whose component in the spectral distribution is largest. 1 6

Tristimulus theory of color perception: the retina has 3 kinds of color sensors (cones), with peak sensitivity to R, G, or B lights 1 7

Tristimulus theory of color perception: the retina has 3 kinds of color sensors (cones), with peak sensitivity to R, G, or B lights The luminous-efficiency function, the eye s response to light of constant luminance, as the dominant wavelength is varied from 400 to 700: our peak sensitivity is to yellow-green light of wavelength around 550. 1 8

Colors can be specified by positively weighted sums of red, green, and blue (the so-called primary colors). This notion is almost true. A negative value means if one of the primaries is added to the color sample, the sample (after addition) can then be matched by a mixture of the other two primaries. 1 9

Certain colors cannot be produced by RGB mixes, and hence cannot be shown on an CRT. Our eye can distinguish side-by-side colors. When colors differ only in hue, the wavelength between just noticeably different colors varies (mostly within 4 nm) Dl(nm) 10 8 6 4 2 Can t tell the difference Very distinguishable 400 Wavelength 700 l (nm) 2 0

Color Measurement Any color can be matched using a combination of three primaries. C rr gg bb The primaries are not necessarily red, green, and blue. Any three different colors can be used. The range of colors that can be produced from a given set of primaries is the gamut.

The CIE Chromaticity Diagram In 1931, the Commission Internationale de l Eclairage (CIE) defined three matching primaries, called X, Y, Z, to replace the RGB. 2 2

Color standard CIE (Commission Internationale d Éclairage) Primaries chosen for mathematical properties: do not actually correspond to colors. These virtual colors X, Y, and Z are called tristimulus values. Y is the same as luminance

The primaries can be used to match, with only positive weights, all the colors we can see. Y matches the luminous-efficiency function The amounts of X, Y, and Z primaries needed to match a color with a spectral energy distribution P(l), are: X k P( l) x l dl Y k P( l) y l d l Z k P( l) z l d l k is a constant chosen according to the engery distribution P The CIE chromaticity diagram, the projection onto the (X,Y) plane of the X+Y+Z=1 plane Chromaticity values depend only on dominant wavelength and saturation, and are independent of the amount of luminous energy (luminance). 2 4

For every wavelength in spectrum, calculate (X,Y,Z) from CIE color matching functions From (X,Y,Z), calculate (x, y) x X X Y Z y Y X Y Z Plot (x,y) for all wavelengths in spectrum Generates a horseshoe shaped diagram All physical colors lie inside the horseshoe

Chromaticity Diagram

Artist s Rendition of Chromaticity Diagram All physical colors inside or on boundary White light near (x, y) = (1/3, 1/3) Monochromatic wavelengths on boundary

Barycentric Color System I.e., center of gravity 2 colors: P and Q Combine P and Q in different amounts Can generate any color on straight line connecting P and Q

Dominant Wavelength and Purity Dominant wavelength Draw line from white point through the (x,y) point Extend line to boundary l D Purity Percentage of distance from white point to edge. Purity is 0% at white point Purity is 100% at boundary

Dominant Wavelength Example White point at (0.33, 0.33) (x,y) = (0.2, 0.6) Draw line from white point through point Extend it to boundary l D = 515 nm Purity 55% 45% white light + 55% 515 nm light

Complementary Wavelength P and Q are complementary Line passes through white point I.e., combination of light from P and Q can give white

Color Gamuts Any three colors form a triangle Combinations of 3 colors must lie inside triangle. Why? 1 Physical Region 2 3

Color Gamuts and Color Reproduction Best color reproduction Use biggest color gamut True for all media, print, monitor, film, slides No 3 primaries can reproduce human vision Human Vision

The interior and boundary of the horseshoe-shaped region represent all visible chromaticity values. (All perceivable colors in 3D with the same chromaticity but different luminances map into the same point within this region in 2D.) The 100% spectrally pure colors of the spectrum are on the curved part of the boundary. A standard white light, meant to approximate sunlight, is formally defined by a light source illuminant C, marked by the center dot. 3 4

The CIE chromaticity diagram is useful in many ways: It allows us to measure the dominant wavelength and excitation purity of any color by matching the color with a mixture of the three CIE primaries. A=B+C; AC/BC is the excitation purity of A; B is the dominant wavelength Complementary colors are those that can be mixed to produce white light (D and E). 3 5

The CIE chromaticity diagram is useful in many ways: Nonspectral F, no dominant wavelength; B is the complement dominant wavelength. CF/CG is the excitation purity. Take a flat spectral distribution and delete some of the light at frequency B, the resulting color will be perceived as F. 3 6

The CIE chromaticity diagram is useful in many ways: Color gamuts (ranges), show the effect of adding colors together. I and J can be added to produce color between I and J; A third color K can be used with I and J to produce the gamut of all colors in triangle IJK. 3 7

Examples of Gamuts