Theory and Practice of Colour Measurement

Size: px
Start display at page:

Download "Theory and Practice of Colour Measurement"

Transcription

1 Theory and Practice of Colour Measurement Richard Harrison, September 2014 I find it difficult to judge just how good a particular coloured star is. I can appreciate a good blue, for example, but is it as good as, better or worse than one I saw six months ago? I decided the only way to be sure would be to create a permanent, reliable record that would allow colours to be compared. Ideally, the technique should be sufficiently simple to be available to everyone, which means not involving the use of expensive equipment. Before leaping in, I think it s worth taking a brief look at some basic colour theory. The Eye The human eye contains colour receptors (cones) of three types, sensitive to light of short (S), middle (M) and long (L) wavelength ranges. As shown here, their sensitivities overlap to a significant extent and, together, they provide sensitivity to all wavelengths of light from around 400nm (blue) to around 700nm (red). The eyes of different individuals have greatly varying proportions of the three types of receptor but, despite this, experiments show that most people have closely similar colour perception. Extreme deficiency in, or absence of, one or more of the sensor types is one of the possible causes of colour blindness. In the majority of people, light at a wavelength of around 560nm triggers roughly equal responses from both the M and L sensors, and virtually none from the S sensors. It is this data, when transmitted to the brain, that gives the sensation of yellow. It should, therefore, come as no surprise that, when illuminated by a suitable mixture of red (say, at 650nm) and green (say, at L M S Perceived Colour X X X Black White X X Red X Yellow X X Green X Cyan X X Blue X Purple 525nm) light, the brain receives the same signals and interprets the colour as yellow, despite there being no yellow light entering the eye. Similar arguments explain the eye s response to other mixtures of coloured light, as illustrated in the accompanying table. The combination of red and blue light, giving the sensation of purple, is worthy of further comment. As you can see from the eye s sensitivity graphs, there is no single wavelength in the visible spectrum that will evoke responses from both L and S, without also triggering a response from M; purple is not a colour that is present in the visible light spectrum. Measuring Colours The eye s ability to see a mix of light of two or more colours as another, different colour gives us the ability to measure colours in terms of the amounts of standard colours necessary to recreate the colour in question. The obvious choice for the standard colours is red, green, and blue. Let s take three particular shades, and I ll label their intensities as R, G and B. Initially, it doesn t matter which

2 precise colours we choose; on a computer screen they will be the three colours selected for the light-emitting elements. In general, they won t be pure colours that you might see in a spectrum. In principle, any colour can be reconstructed by combining appropriate amounts of these three colours, as represented by the following equation: C = R + G + B You could illustrate this on a three-dimensional graph, where each point has the colour corresponding to its R, G and B coordinates. That s neat, but it s awkward to realise in practice; a two-dimensional graph would be much easier to work with. Fortunately, there s a trick we can use to do just that. Suppose we restrict the colours we are measuring to all be of equal brightness. If we set that brightness to a standard value of, say, 100, we can write: C = R + G + B = 100 The values of R, G and B are no longer independent; selecting the values of any two means that the third is fixed. For example, for the amounts of R, G and B needed to recreate the colour C: B = 100 R G We can therefore plot a graph using only two of the standard colours, the value of the third being fixed by the choice of the other two. Let s choose R and G. Some other red will be able to be recreated by combining a large proportion of R with relatively small amounts of G and B, so it will appear at the lower right in this diagram. A green will likewise be matched with lots of G and very little R or B, and will appear at the upper left. A blue will need to be matched with a large value of B and, therefore, very little R or G and will appear at the bottom left, near the origin. By the rules of mixing colours, it is clear that a yellow will appear somewhere between the reds and the greens, a cyan will be positioned between the blues and the greens, and the various shades of purple will be located between the reds and the blues. There will be a point somewhere near the middle where R, G and B combine in the appropriate proportions to appear white. Furthermore, it should now be apparent that if you start at the white point and move along any straight line, the colour will become stronger, or purer. For example, moving along the line from white to yellow in this diagram, the yellow colour will strengthen, until a point is reached (a little further out than the marked yellow) where that particular yellow colour is as pure as possible. That yellow will be one that appears in a continuous spectrum, as a spectrum contains the purest shade of any colour. Marking the points that represent all the pure spectral colours gives rise to a curve of the general form shown in the diagram below. But, surely, isn t something wrong? Part of the curve is to the left of the vertical axis, which implies that the value of R must be negative! How can you have a negative amount of a colour? The answer

3 lies in the sad fact that, no matter which three colours you select to be your standards for R, G and B, there will be some colours that you cannot reconstruct. However, you can always convert such a colour into one that you can reconstruct by adding to it a little of one or other of your reference colours. For example, take the colour marked X. If you add gradually increasing amounts of R, the point will move to the right, as its overall colour changes. Eventually, when it reaches the vertical axis, it will be a colour that can be matched (with a combination of just G and B). The amount of R that you had to add is the negative value of R for the original colour at X. The Chromaticity Diagram I would imagine that anyone who is interested in reading about coloured pyrotechnic flames will, at some point, have come across a chromaticity diagram. You might also be thinking that it looks vaguely similar to the R-G diagram that was discussed in the previous section. If so, you would be right; a chromaticity diagram is effectively doing the same job as an R-G diagram, but with a few added tweaks. The main difference is that the axes are adjusted to avoid the annoying negative values. This is done by applying a linear transformation that converts the R, G, B values into a new set, labelled (rather unimaginatively, in my opinion) X, Y and Z. For anyone who is interested, the transformation, for one particular specification of the R, G and B colours, is defined by 1 : The price to be paid for getting rid of the negative values is that X, Y and Z no longer represent real colours. In order to standardise the range, X, Y and Z are then converted to quantities named x, y and z according to the relationships: x = X/(X+Y+Z), y = Y/(X+Y+Z) and z = Z/(X+Y+Z). The values of x, y and z are thereby restricted to lie in the range 0.0 to 1.0. The standard form of the chromaticity diagram plots y against x with an implied value of z (as for B in the R-G diagram). As in the R-G diagram, the curved boundary represents the range of pure colours present in the visible spectrum the above diagram is annotated to show the wavelengths, in nanometers, of these colours. The straight line at the lower edge represents the non-spectral mixtures of red and blue and is known as the Line of Purples. The white point at the centre is at a position where x = y = 1/3 (= z). Since the diagram contains colours that are not representable by any combination of R, G and B, the colours in the above image can t all be accurate. Computer screens and files designed to be 1 This transformation applies to the CIE (1931) RGB colour space, which is different from the srgb standard I have available on my camera.

4 displayed on them are particularly poor at showing subtleties of colour in the green region. Printed images, using 4-colour (CMYK) printing, may give a better representation, but still won t be perfect. RGB Measurements by Camera It ought to be possible to use a digital camera to obtain reliable RGB data for coloured pyrotechnic flames. Direct photographs of pyrotechnic effects, with their inherent high contrast, are not really suited to the task, but indirect photography of scattered light might offer better possibilities. In order to evaluate the suitability of using a commercially available digital camera, I ran a few initial tests on a set of high-purity coloured images. Not having a spectrograph, I decided to try photographing the highly coloured reflections from a blank DVD-R disk. The disk surface acts as a reflective diffraction grating, producing highly dispersed reflected images. I suspected that, with care, I could obtain images that contained regions of high colour purity, close to what could be obtained by use of monochromatic sources. The camera I used was a Canon EOS 550D SLR. In my initial tests it was set to use the srgb colour space and a fixed white balance for direct sunlight (colour temperature 5200K). I took direct hand-held photographs of the reflections. I let the camera select the exposure, but had previously set the exposure compensation to -5 to prevent the bright reflections from being overexposed. A typical image is shown here. I then transferred the images to a PC and used the Paint program to extract the RGB values of selected pixels. As is done for a chromaticity diagram, I converted the RGB values to r [= R/(R+G+B)] and g [= G/(R+G+B)], with values in the range 0.0 to 1.0, before plotting them on a graph (the three points marked in red indicate the extreme results that are theoretically possible). The results, as shown here, indicate that the colours I measured were, in the main, well saturated and that my selections provided good coverage of the whole range of detectable colours with the possible exception of some of the strongest blues. To get some idea of how these measurements relate to the whole gamut of existing colours, I used the transformation quoted above (despite the fact that it isn t totally appropriate for the srgb standard) to map the readings to chromaticity values, with the result as shown in the diagram on the left. I then superimposed these results on a chromaticity diagram. The triangle gives some idea of the range of colours that are distinguishable by making RGB measurements. The data suggests that making such measurements should be quite successful at detecting differences in reds, yellows, purples and to a lesser extent blues. It does, however, suggest that such measurements

5 would be far less successful when applied to greens. In the best possible interpretation, the technique seems unlikely to be able to distinguish an excellent green from one that is merely good. Critique Just because a digital camera can distinguish a range of colours doesn t mean that the resulting photographic colours will closely match the original ones. As implied earlier, I have no real control in that respect (other than being able to choose a white balance parameter) and am reliant on the unknown nature and amount of the image processing performed by the camera s software. All that the measurements described in this document really show is that photographs of highly saturated colours do, indeed, get recorded with RGB values that are close to the border of the available range. That is a first and necessary condition for a camera to meet, but it is by no means sufficient to guarantee accurate colour measurements. Furthermore, the srgb standard is about how colours are displayed (rather than how they are detected). The range of colours is, in fact, more limited than the mapping in the earlier illustration would suggest. Given the non-spectral nature of the R, G and B colours specified in the standard, the available range is more accurately shown in the diagram on the right. The measurements that I have so far made don t give any information about the sensitivity of the camera s sensors to light of a particular wavelength, or on how colours outside the srgb triangle are mapped into it. In order gain more information, I would need to obtain images of light of known wavelength and known (relative) intensity which implies the use of a spectrometer and one or more standard light sources. Without significantly more calibration effort, the absolute colour values of the numerical results will be somewhat arbitrary and are unlikely to agree in detail from one observer (and camera) to another. The whole question of the choice of standards, and the mapping from RGB values to a chromaticity diagram, would obviously need more care and attention than I have given them so far. However, even without such refinements, the relative values comparing one colour with another ought to be reasonably meaningful and should give (qualitatively, at least) fairly reliable information about relative colour and purity. It seems clear to me that differences in pyrotechnic coloured flames are detectable at least over the range of colours that are produced by the majority of current coloured star formulae. Practical Colour Measurement In order to reduce the variations in brightness and contrast to values that a camera can cope with, I came up with the idea of a light box. The box is designed to doubly diffuse the light from a lit star, supported at position A. The light passes through a baffle to a first diffusing screen at B. The diffused light falls on a similar screen at C, which is observed, or photographed, at D. Apart from the screens, the rest of the interior is painted matt black, to reduce unwanted scattering of light.

6 The two-stage diffusion serves two purposes. Firstly it provides a relatively large surface (compared with that of a star) that is reasonably uniformly illuminated and therefore easy to photograph, even with an automatic camera that has no manual control over the exposure. Secondly, it reduces the level of illumination to a point where a more sophisticated camera can use reasonably long exposures, of the order of 0.5 sec, thereby integrating out some of the random fluctuations in the light from the burning star. A further advantage of this technique is that the dimensions of the light box are largely immaterial, so it can be built to suit any reasonable set of circumstances. My prototype was constructed from two large cardboard boxes, with A5 white cards as the diffusing screens. The box containing the star is open at the top, to allow smoke to escape, and is lined with aluminium foil, with a fire-resistant mat on the base. There is, of course, some risk of the box catching fire, so it needs to be used in the open air, preferably after dark to reduce stray light. Once a photograph is taken and a JPG file transferred to a computer, it is a fairly simple process to extract R, G and B values at a number of points in the image. In the absence of specific software, the Microsoft Paint application will do the job (select the Color picker tool, click on a point in the image and then select Edit colors to see the RGB values at the selected point). Initial trials showed that this device does, indeed, work broadly as expected. As you can see, a photograph of the second screen shows that it is not as uniformly illuminated as I would have hoped, but experimentation showed that the measured r, g and b colour coordinates 2 were largely independent of the brightness across the whole illuminated area. Revised Light Box The prototype was large and cumbersome and, as mentioned earlier, produced a final image of nonuniform brightness. I therefore redesigned it, in an attempt to remedy these defects. The new design is illustrated below. 2 Measured as: r = R/(R+G+B), g = G/(R+G+B) and b = B/(R+G+B), as described earlier in this document.

7 The diffusing screens are still A5 in size, but the containing structure is about one tenth of the volume of the earlier version. In addition, the screens are oriented differently, which significantly improves the evenness and uniformity of illumination, as seen from the observation point. The source is now positioned outside the box, which almost completely removes the fire risk. However, both screens are exposed to the surroundings, which fact means that it is now essential rather than merely preferable to make measurements in total darkness. But Does it Work? Well, here are the results taken from my first trials on two blue stars. The two stars were made from a single chemical formula, but one was made with potassium perchlorate that was contaminated with a sodium compound and the second made with recrystallized potassium perchlorate. The colours shown here were taken from the photographic images, adjusted so they both had the same value of luminosity (equal to that of the grey background). As you can see, the colour difference, although not huge, is readily noticeable. The difference is, perhaps, more clearly shown in the average rgb values calculated from the measured colours at five separate points in each image, and in the corresponding r-g diagram: r g b Contaminated Uncontaminated The star made with the purified perchlorate shows a significant improvement in colour purity compared with that made from the contaminated sample. The measured values are very susceptible to small amounts of stray light, so it might be sensible to add baffles to the light box, and there is still work to be done in determining the best exposure times. However, these initial results are promising.

Figure 1: Energy Distributions for light

Figure 1: Energy Distributions for light Lecture 4: Colour The physical description of colour Colour vision is a very complicated biological and psychological phenomenon. It can be described in many different ways, including by physics, by subjective

More information

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

Color & Graphics. Color & Vision. The complete display system is: We'll talk about: Model Frame Buffer Screen Eye Brain Color & Graphics The complete display system is: Model Frame Buffer Screen Eye Brain Color & Vision We'll talk about: Light Visions Psychophysics, Colorimetry Color Perceptually based models Hardware models

More information

Unit 8: Color Image Processing

Unit 8: Color Image Processing Unit 8: Color Image Processing Colour Fundamentals In 666 Sir Isaac Newton discovered that when a beam of sunlight passes through a glass prism, the emerging beam is split into a spectrum of colours The

More information

LECTURE 07 COLORS IN IMAGES & VIDEO

LECTURE 07 COLORS IN IMAGES & VIDEO MULTIMEDIA TECHNOLOGIES LECTURE 07 COLORS IN IMAGES & VIDEO IMRAN IHSAN ASSISTANT PROFESSOR LIGHT AND SPECTRA Visible light is an electromagnetic wave in the 400nm 700 nm range. The eye is basically similar

More information

Color Image Processing. Gonzales & Woods: Chapter 6

Color Image Processing. Gonzales & Woods: Chapter 6 Color Image Processing Gonzales & Woods: Chapter 6 Objectives What are the most important concepts and terms related to color perception? What are the main color models used to represent and quantify color?

More information

Computer Graphics Si Lu Fall /27/2016

Computer Graphics Si Lu Fall /27/2016 Computer Graphics Si Lu Fall 2017 09/27/2016 Announcement Class mailing list https://groups.google.com/d/forum/cs447-fall-2016 2 Demo Time The Making of Hallelujah with Lytro Immerge https://vimeo.com/213266879

More information

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

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing For a long time I limited myself to one color as a form of discipline. Pablo Picasso Color Image Processing 1 Preview Motive - Color is a powerful descriptor that often simplifies object identification

More information

Colors in Images & Video

Colors in Images & Video LECTURE 8 Colors in Images & Video CS 5513 Multimedia Systems Spring 2009 Imran Ihsan Principal Design Consultant OPUSVII www.opuseven.com Faculty of Engineering & Applied Sciences 1. Light and Spectra

More information

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

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD) Color Science CS 4620 Lecture 15 1 2 What light is Measuring light Light is electromagnetic radiation Salient property is the spectral power distribution (SPD) [Lawrence Berkeley Lab / MicroWorlds] exists

More information

Interactive Computer Graphics

Interactive Computer Graphics Interactive Computer Graphics Lecture 4: Colour Graphics Lecture 4: Slide 1 Ways of looking at colour 1. Physics 2. Human visual receptors 3. Subjective assessment Graphics Lecture 4: Slide 2 The physics

More information

PERCEIVING COLOR. Functions of Color Vision

PERCEIVING COLOR. Functions of Color Vision PERCEIVING COLOR Functions of Color Vision Object identification Evolution : Identify fruits in trees Perceptual organization Add beauty to life Slide 2 Visible Light Spectrum Slide 3 Color is due to..

More information

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

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color 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

More information

Observing a colour and a spectrum of light mixed by a digital projector

Observing a colour and a spectrum of light mixed by a digital projector Observing a colour and a spectrum of light mixed by a digital projector Zdeněk Navrátil Abstract In this paper an experiment studying a colour and a spectrum of light produced by a digital projector is

More information

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

Test 1: Example #2. Paul Avery PHY 3400 Feb. 15, Note: * indicates the correct answer. Test 1: Example #2 Paul Avery PHY 3400 Feb. 15, 1999 Note: * indicates the correct answer. 1. A red shirt illuminated with yellow light will appear (a) orange (b) green (c) blue (d) yellow * (e) red 2.

More information

Introduction. The Spectral Basis for Color

Introduction. The Spectral Basis for Color Introduction Color is an extremely important part of most visualizations. Choosing good colors for your visualizations involves understanding their properties and the perceptual characteristics of human

More information

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

Chapter 9: Color. What is Color? Wavelength is a property of an electromagnetic wave in the frequency range we call light Chapter 9: Color What is color? Color mixtures Intensity-distribution curves Additive Mixing Partitive Mixing Specifying colors RGB Color Chromaticity What is Color? Wavelength is a property of an electromagnetic

More information

Colour Theory Basics. Your guide to understanding colour in our industry

Colour Theory Basics. Your guide to understanding colour in our industry Colour heory Basics Your guide to understanding colour in our industry Colour heory F.indd 1 Contents Additive Colours... 2 Subtractive Colours... 3 RGB and CMYK... 4 10219 C 10297 C 10327C Pantone PMS

More information

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

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner CS6640 Computational Photography 6. Color science for digital photography 2012 Steve Marschner 1 What visible light is One octave of the electromagnetic spectrum (380-760nm) NASA/Wikimedia Commons 2 What

More information

Color Reproduction. Chapter 6

Color Reproduction. Chapter 6 Chapter 6 Color Reproduction Take a digital camera and click a picture of a scene. This is the color reproduction of the original scene. The success of a color reproduction lies in how close the reproduced

More information

Color vision and representation

Color vision and representation Color vision and representation S M L 0.0 0.44 0.52 Mark Rzchowski Physics Department 1 Eye perceives different wavelengths as different colors. Sensitive only to 400nm - 700 nm range Narrow piece of the

More information

Introduction to Color Science (Cont)

Introduction to Color Science (Cont) Lecture 24: Introduction to Color Science (Cont) Computer Graphics and Imaging UC Berkeley Empirical Color Matching Experiment Additive Color Matching Experiment Show test light spectrum on left Mix primaries

More information

Additive Color Synthesis

Additive Color Synthesis Color Systems Defining Colors for Digital Image Processing Various models exist that attempt to describe color numerically. An ideal model should be able to record all theoretically visible colors in the

More information

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

To discuss. Color Science Color Models in image. Computer Graphics 2 Color To discuss Color Science Color Models in image Computer Graphics 2 Color Science Light & Spectra Light is an electromagnetic wave It s color is characterized by its wavelength Laser consists of single

More information

Digital Image Processing (DIP)

Digital Image Processing (DIP) University of Kurdistan Digital Image Processing (DIP) Lecture 6: Color Image Processing Instructor: Kaveh Mollazade, Ph.D. Department of Biosystems Engineering, Faculty of Agriculture, University of Kurdistan,

More information

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

Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Understanding Color Theory Excerpt from Fundamental Photoshop by Adele Droblas Greenberg and Seth Greenberg Color evokes a mood; it creates contrast and enhances the beauty in an image. It can make a dull

More information

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

Comparing Sound and Light. Light and Color. More complicated light. Seeing colors. Rods and cones Light and Color Eye perceives EM radiation of different wavelengths as different colors. Sensitive only to the range 4nm - 7 nm This is a narrow piece of the entire electromagnetic spectrum. Comparing

More information

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

Hello, welcome to the video lecture series on Digital image processing. (Refer Slide Time: 00:30) Digital Image Processing Prof. P. K. Biswas Department of Electronics and Electrical Communications Engineering Indian Institute of Technology, Kharagpur Module 11 Lecture Number 52 Conversion of one Color

More information

Colour Management Workflow

Colour Management Workflow Colour Management Workflow The Eye as a Sensor The eye has three types of receptor called 'cones' that can pick up blue (S), green (M) and red (L) wavelengths. The sensitivity overlaps slightly enabling

More information

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

Digital Image Processing COSC 6380/4393. Lecture 20 Oct 25 th, 2018 Pranav Mantini Digital Image Processing COSC 6380/4393 Lecture 20 Oct 25 th, 2018 Pranav Mantini What is color? Color is a psychological property of our visual experiences when we look at objects and lights, not a physical

More information

Digital Image Processing

Digital Image Processing Digital Image Processing IMAGE PERCEPTION & ILLUSION Hamid R. Rabiee Fall 2015 Outline 2 What is color? Image perception Color matching Color gamut Color balancing Illusions What is Color? 3 Visual perceptual

More information

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

What is Color Gamut? Public Information Display. How do we see color and why it matters for your PID options? What is Color Gamut? How do we see color and why it matters for your PID options? One of the buzzwords at CES 2017 was broader color gamut. In this whitepaper, our experts unwrap this term to help you

More information

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

Fig Color spectrum seen by passing white light through a prism. 1. Explain about color fundamentals. Color of an object is determined by the nature of the light reflected from it. When a beam of sunlight passes through a glass prism, the emerging beam of light is not

More information

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

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling 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,

More information

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

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour CS 565 Computer Vision Nazar Khan PUCIT Lecture 4: Colour Topics to be covered Motivation for Studying Colour Physical Background Biological Background Technical Colour Spaces Motivation Colour science

More information

CS 178 Digital Photography Professor Marc Levoy Stanford University Spring 2011

CS 178 Digital Photography Professor Marc Levoy Stanford University Spring 2011 CS 178 Digital Photography Professor Marc Levoy Stanford University Spring 2011 Final Exam Review Questions Part 1: True or False. Write T or F beside each question. 1. If the reflectance spectrum of an

More information

Digital Image Processing Color Models &Processing

Digital Image Processing Color Models &Processing Digital Image Processing Color Models &Processing Dr. Hatem Elaydi Electrical Engineering Department Islamic University of Gaza Fall 2015 Nov 16, 2015 Color interpretation Color spectrum vs. electromagnetic

More information

Digital Image Processing

Digital Image Processing Digital Image Processing 6. Color Image Processing Computer Engineering, Sejong University Category of Color Processing Algorithm Full-color processing Using Full color sensor, it can obtain the image

More information

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. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow! Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Colour Lecture (2 lectures)! Richardson, Chapter

More information

Color images C1 C2 C3

Color images C1 C2 C3 Color imaging Color images C1 C2 C3 Each colored pixel corresponds to a vector of three values {C1,C2,C3} The characteristics of the components depend on the chosen colorspace (RGB, YUV, CIELab,..) Digital

More information

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

any kind, you have two receptive fields, one the small center region, the other the surround region. In a centersurround cell of any kind, you have two receptive fields, one the small center region, the other the surround region. + _ In a chromatic center-surround field, each in innervated by one class

More information

Color , , Computational Photography Fall 2018, Lecture 7

Color , , Computational Photography Fall 2018, Lecture 7 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2018, Lecture 7 Course announcements Homework 2 is out. - Due September 28 th. - Requires camera and

More information

Chapter 3 Part 2 Color image processing

Chapter 3 Part 2 Color image processing Chapter 3 Part 2 Color image processing Motivation Color fundamentals Color models Pseudocolor image processing Full-color image processing: Component-wise Vector-based Recent and current work Spring 2002

More information

COLOR and the human response to light

COLOR and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 How

More information

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

In order to manage and correct color photos, you need to understand a few In This Chapter 1 Understanding Color Getting the essentials of managing color Speaking the language of color Mixing three hues into millions of colors Choosing the right color mode for your image Switching

More information

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

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture! Colour Lecture! ITNP80: Multimedia 1 Colour What is colour? Human-centric view of colour Computer-centric view of colour Colour models Monitor production of colour Accurate colour reproduction Richardson,

More information

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

Bettina Selig. Centre for Image Analysis. Swedish University of Agricultural Sciences Uppsala University 2011-10-26 Bettina Selig Centre for Image Analysis Swedish University of Agricultural Sciences Uppsala University 2 Electromagnetic Radiation Illumination - Reflection - Detection The Human Eye Digital

More information

Color Science. CS 4620 Lecture 15

Color Science. CS 4620 Lecture 15 Color Science CS 4620 Lecture 15 2013 Steve Marschner 1 [source unknown] 2013 Steve Marschner 2 What light is Light is electromagnetic radiation exists as oscillations of different frequency (or, wavelength)

More information

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

MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin MATH 5300 Lecture 3- Summary Date: May 12, 2008 By: Violeta Constantin Facebook, Blogs and Wiki tools for sharing ideas or presenting work Using Facebook as a tool to ask questions - discussion on GIMP

More information

05 Color. Multimedia Systems. Color and Science

05 Color. Multimedia Systems. Color and Science Multimedia Systems 05 Color Color and Science Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com Lectures Adapted From: Digital Multimedia

More information

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

The Science Seeing of process Digital Media. The Science of Digital Media Introduction The Human Science eye of and Digital Displays Media Human Visual System Eye Perception of colour types terminology Human Visual System Eye Brains Camera and HVS HVS and displays Introduction 2 The Science

More information

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

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester Lecture 8: Color Image Processing 04.11.2017 Dr. Mohammed Abdel-Megeed Salem Media

More information

The Noise about Noise

The Noise about Noise The Noise about Noise I have found that few topics in astrophotography cause as much confusion as noise and proper exposure. In this column I will attempt to present some of the theory that goes into determining

More information

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

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University Achim J. Lilienthal Mobile Robotics and Olfaction Lab, Room T1227, Mo, 11-12 o'clock AASS, Örebro University (please drop me an email in advance) achim.lilienthal@oru.se 1 2. General Introduction Schedule

More information

Images and Colour COSC342. Lecture 2 2 March 2015

Images and Colour COSC342. Lecture 2 2 March 2015 Images and Colour COSC342 Lecture 2 2 March 2015 In this Lecture Images and image formats Digital images in the computer Image compression and formats Colour representation Colour perception Colour spaces

More information

Lecture Color Image Processing. by Shahid Farid

Lecture Color Image Processing. by Shahid Farid Lecture Color Image Processing by Shahid Farid What is color? Why colors? How we see objects? Photometry, Radiometry and Colorimetry Color measurement Chromaticity diagram Shahid Farid, PUCIT 2 Color or

More information

excite the cones in the same way.

excite the cones in the same way. Humans have 3 kinds of cones Color vision Edward H. Adelson 9.35 Trichromacy To specify a light s spectrum requires an infinite set of numbers. Each cone gives a single number (univariance) when stimulated

More information

6 Color Image Processing

6 Color Image Processing 6 Color Image Processing Angela Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan 2009 Fall Outline Color fundamentals Color models Pseudocolor image

More information

HISTOGRAMS. These notes are a basic introduction to using histograms to guide image capture and image processing.

HISTOGRAMS. These notes are a basic introduction to using histograms to guide image capture and image processing. HISTOGRAMS Roy Killen, APSEM, EFIAP, GMPSA These notes are a basic introduction to using histograms to guide image capture and image processing. What are histograms? Histograms are graphs that show what

More information

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science

Slide 1. Slide 2. Slide 3. Light and Colour. Sir Isaac Newton The Founder of Colour Science Slide 1 the Rays to speak properly are not coloured. In them there is nothing else than a certain Power and Disposition to stir up a Sensation of this or that Colour Sir Isaac Newton (1730) Slide 2 Light

More information

Unit 8: Light and Optics

Unit 8: Light and Optics Objectives Unit 8: Light and Optics Explain why we see colors as combinations of three primary colors. Explain the dispersion of light by a prism. Understand how lenses and mirrors work. Explain thermal

More information

Retina. last updated: 23 rd Jan, c Michael Langer

Retina. last updated: 23 rd Jan, c Michael Langer Retina We didn t quite finish up the discussion of photoreceptors last lecture, so let s do that now. Let s consider why we see better in the direction in which we are looking than we do in the periphery.

More information

PhysicsAndMathsTutor.com 1

PhysicsAndMathsTutor.com 1 PhysicsAndMathsTutor.com 1 Q1. Just over two hundred years ago Thomas Young demonstrated the interference of light by illuminating two closely spaced narrow slits with light from a single light source.

More information

USE OF COLOR IN REMOTE SENSING

USE OF COLOR IN REMOTE SENSING 1 USE OF COLOR IN REMOTE SENSING (David Sandwell, Copyright, 2004) Display of large data sets - Most remote sensing systems create arrays of numbers representing an area on the surface of the Earth. The

More information

Photometric Colorimetry

Photometric Colorimetry Photometric Colorimetry Photometric colorimetry is used in water analytics as well as in industrial production and is usually used to determine quality. In practice, different types of colorimetry have

More information

Color Management User Guide

Color Management User Guide Color Management User Guide Edition July 2001 Phase One A/S Roskildevej 39 DK-2000 Frederiksberg Denmark Tel +45 36 46 01 11 Fax +45 36 46 02 22 Phase One U.S. 24 Woodbine Ave Northport, New York 11768

More information

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

What is Color? Chapter 9: Color. Color Mixtures. Color Mixtures 10/29/2012. What is color? Color vocabulary What is color? Color vocabulary Chapter 9: Color Color mixtures Intensity-distribution curves Specifying colors Hue, saturation and brightness Color trees RGB color specification Chromaticity What is Color?

More information

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

Colors in images. Color spaces, perception, mixing, printing, manipulating... Colors in images Color spaces, perception, mixing, printing, manipulating... Tomáš Svoboda Czech Technical University, Faculty of Electrical Engineering Center for Machine Perception, Prague, Czech Republic

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Color Image Processing Christophoros Nikou cnikou@cs.uoi.gr University of Ioannina - Department of Computer Science and Engineering 2 Color Image Processing It is only after years

More information

Introduction to the operating principles of the HyperFine spectrometer

Introduction to the operating principles of the HyperFine spectrometer Introduction to the operating principles of the HyperFine spectrometer LightMachinery Inc., 80 Colonnade Road North, Ottawa ON Canada A spectrometer is an optical instrument designed to split light into

More information

Geography 360 Principles of Cartography. April 24, 2006

Geography 360 Principles of Cartography. April 24, 2006 Geography 360 Principles of Cartography April 24, 2006 Outlines 1. Principles of color Color as physical phenomenon Color as physiological phenomenon 2. How is color specified? (color model) Hardware-oriented

More information

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

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song Image and video processing () Colour Images Dr. Yi-Zhe Song yizhe.song@qmul.ac.uk Today s agenda Colour spaces Colour images PGM/PPM images Today s agenda Colour spaces Colour images PGM/PPM images History

More information

Prof. Feng Liu. Winter /09/2017

Prof. Feng Liu. Winter /09/2017 Prof. Feng Liu Winter 2017 http://www.cs.pdx.edu/~fliu/courses/cs410/ 01/09/2017 Today Course overview Computer vision Admin. Info Visual Computing at PSU Image representation Color 2 Big Picture: Visual

More information

Color , , Computational Photography Fall 2017, Lecture 11

Color , , Computational Photography Fall 2017, Lecture 11 Color http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 11 Course announcements Homework 2 grades have been posted on Canvas. - Mean: 81.6% (HW1:

More information

Color Computer Vision Spring 2018, Lecture 15

Color Computer Vision Spring 2018, Lecture 15 Color http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 15 Course announcements Homework 4 has been posted. - Due Friday March 23 rd (one-week homework!) - Any questions about the

More information

Digital Image Processing. Lecture # 8 Color Processing

Digital Image Processing. Lecture # 8 Color Processing Digital Image Processing Lecture # 8 Color Processing 1 COLOR IMAGE PROCESSING COLOR IMAGE PROCESSING Color Importance Color is an excellent descriptor Suitable for object Identification and Extraction

More information

Estimation of spectral response of a consumer grade digital still camera and its application for temperature measurement

Estimation of spectral response of a consumer grade digital still camera and its application for temperature measurement Indian Journal of Pure & Applied Physics Vol. 47, October 2009, pp. 703-707 Estimation of spectral response of a consumer grade digital still camera and its application for temperature measurement Anagha

More information

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

SEEING. Seeing lecture 2 The retina and colour vision. Dr John S. Reid Department of Physics University of Aberdeen SEEING Seeing lecture 2 The retina and colour vision Dr John S. Reid Department of Physics University of Aberdeen 1 The retina Forming an image on the back of the eye is the easy part. Seeing the image

More information

Color and perception Christian Miller CS Fall 2011

Color and perception Christian Miller CS Fall 2011 Color and perception Christian Miller CS 354 - Fall 2011 A slight detour We ve spent the whole class talking about how to put images on the screen What happens when we look at those images? Are there any

More information

Color Measurement with the LSS-100P

Color Measurement with the LSS-100P Color Measurement with the LSS-100P Color is complicated. This paper provides a brief overview of color perception and measurement. XYZ and the Eye We can model the color perception of the eye as three

More information

Technology and digital images

Technology and digital images Technology and digital images Objectives Describe how the characteristics and behaviors of white light allow us to see colored objects. Describe the connection between physics and technology. Describe

More information

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

LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR 1 LECTURE III: COLOR IN IMAGE & VIDEO DR. OUIEM BCHIR 2 COLOR SCIENCE Light and Spectra Light is a narrow range of electromagnetic energy. Electromagnetic waves have the properties of frequency and wavelength.

More information

Preventive Conservation and Energy conservation. Units of light, Perception of colour, Energy used by lighting.

Preventive Conservation and Energy conservation. Units of light, Perception of colour, Energy used by lighting. Preventive Conservation and Energy conservation Units of light, Perception of colour, Energy used by lighting. Sunlight is free energy, but it turns to heat within the building and much of the solar energy

More information

Understanding Histograms

Understanding Histograms Information copied from Understanding Histograms http://www.luminous-landscape.com/tutorials/understanding-series/understanding-histograms.shtml Possibly the most useful tool available in digital photography

More information

Color Image Processing

Color Image Processing Color Image Processing Jesus J. Caban Outline Discuss Assignment #1 Project Proposal Color Perception & Analysis 1 Discuss Assignment #1 Project Proposal Due next Monday, Oct 4th Project proposal Submit

More information

COLOR. and the human response to light

COLOR. and the human response to light COLOR and the human response to light Contents Introduction: The nature of light The physiology of human vision Color Spaces: Linear Artistic View Standard Distances between colors Color in the TV 2 Amazing

More information

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

Color and Color Model. Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color and Color Model Chap. 12 Intro. to Computer Graphics, Spring 2009, Y. G. Shin Color Interpretation of color is a psychophysiology problem We could not fully understand the mechanism Physical characteristics

More information

The RGB code. Part 1: Cracking the RGB code (from light to XYZ)

The RGB code. Part 1: Cracking the RGB code (from light to XYZ) The RGB code Part 1: Cracking the RGB code (from light to XYZ) The image was staring at him (our hero!), as dead as an image can be. Not much to go. Only a name: summer22-24.bmp, a not so cryptic name

More information

ABSTRACT INTRODUCTION METHOD

ABSTRACT INTRODUCTION METHOD ABSTRACT This research project aims to investigate and illustrate the effects a light source s spectral distribution and colour temperature has on photographic image colour reproduction, and how this often

More information

Gernot Hoffmann. Sky Blue

Gernot Hoffmann. Sky Blue Gernot Hoffmann Sky Blue Contents 1. Introduction 2 2. Examples A / Lighter Sky 5 3. Examples B / Lighter Part of Sky 8 4. Examples C / Uncorrected Images 11 5. CIELab 14 6. References 17 1. Introduction

More information

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

Light. intensity wavelength. Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies Image formation World, image, eye Light Light is electromagnetic waves Laser is light that contains only a narrow spectrum of frequencies intensity wavelength Visible light is light with wavelength from

More information

How to correct a contrast rejection. how to understand a histogram. Ver. 1.0 jetphoto.net

How to correct a contrast rejection. how to understand a histogram. Ver. 1.0 jetphoto.net How to correct a contrast rejection or how to understand a histogram Ver. 1.0 jetphoto.net Contrast Rejection or how to understand the histogram 1. What is a histogram? A histogram is a graphical representation

More information

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

CIE tri-stimulus experiment. Color Value Functions. CIE 1931 Standard. Color. Diagram. Color light intensity for visual color match CIE tri-stimulus experiment diffuse reflecting screen diffuse reflecting screen 770 769 768 test light 382 381 380 observer test light 445 535 630 445 535 630 observer light intensity for visual color

More information

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

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38 Images CS 4620 Lecture 38 w/ prior instructor Steve Marschner 1 Announcements A7 extended by 24 hours w/ prior instructor Steve Marschner 2 Color displays Operating principle: humans are trichromatic match

More information

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET

INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET INSTITUTIONEN FÖR SYSTEMTEKNIK LULEÅ TEKNISKA UNIVERSITET Some color images on this slide Last Lecture 2D filtering frequency domain The magnitude of the 2D DFT gives the amplitudes of the sinusoids and

More information

The IQ3 100MP Trichromatic. The science of color

The IQ3 100MP Trichromatic. The science of color The IQ3 100MP Trichromatic The science of color Our color philosophy Phase One s approach Phase One s knowledge of sensors comes from what we ve learned by supporting more than 400 different types of camera

More information

Measurement of reflection and retroreflection

Measurement of reflection and retroreflection TECHNICAL NOTE RS 102 Measurement of reflection and retroreflection General principles of measurement Introduction means, and sometimes by the actual physical size of the sample or panel being measured.

More information

Application Note (A13)

Application Note (A13) Application Note (A13) Fast NVIS Measurements Revision: A February 1997 Gooch & Housego 4632 36 th Street, Orlando, FL 32811 Tel: 1 407 422 3171 Fax: 1 407 648 5412 Email: sales@goochandhousego.com In

More information

Myth #1. Blue, cyan, green, yellow, red, and magenta are seen in the rainbow.

Myth #1. Blue, cyan, green, yellow, red, and magenta are seen in the rainbow. Myth #1 Blue, cyan, green, yellow, red, and magenta are seen in the rainbow. a. The spectrum does not include magenta; cyan is a mixture of blue and green light; yellow is a mixture of green and red light.

More information

Design III CRAFTS SUPPLEMENT

Design III CRAFTS SUPPLEMENT Design III CRAFTS SUPPLEMENT 4-H MOTTO Learn to do by doing. 4-H PLEDGE I pledge My HEAD to clearer thinking, My HEART to greater loyalty, My HANDS to larger service, My HEALTH to better living, For my

More information

Lecture 8. Color Image Processing

Lecture 8. Color Image Processing Lecture 8. Color Image Processing EL512 Image Processing Dr. Zhu Liu zliu@research.att.com Note: Part of the materials in the slides are from Gonzalez s Digital Image Processing and Onur s lecture slides

More information