Pengenalan Warna Teori Warna.

Slides:



Advertisements
Similar presentations
Introduction to Computer Graphics ColorColor. Specifying Color Color perception usually involves three quantities: Hue: Distinguishes between colors like.
Advertisements

Color & Light, Digitalization, Storage. Vision Rods work at low light levels and do not see color –That is, their response depends only on how many photons,
Color To understand how to make realistic images, we need a basic understanding of the physics and physiology of vision.
Achromatic and Colored Light CS 288 9/17/1998 Vic.
Light Light is fundamental for color vision Unless there is a source of light, there is nothing to see! What do we see? We do not see objects, but the.
School of Computing Science Simon Fraser University
CS 4731: Computer Graphics Lecture 24: Color Science
SWE 423: Multimedia Systems Chapter 4: Graphics and Images (2)
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Color.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Why Care About Color? Accurate color reproduction is commercially valuable - e.g. Kodak yellow, painting a house Color reproduction problems increased.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
Color Image Processing A spectrum of possibilities…
1 Color vision and representation S M L.
COLLEGE OF ENGINEERING UNIVERSITY OF PORTO COMPUTER GRAPHICS AND INTERFACES / GRAPHICS SYSTEMS JGB / AAS Light and Color Graphics Systems / Computer.
Chapter 3: Colorimetry How to measure or specify color? Color dictionary?
CS 445 / 645: Introductory Computer Graphics Color.
Color. Contents Light and color The visible light spectrum Primary and secondary colors Color spaces –RGB, CMY, YIQ, HLS, CIE –CIE XYZ, CIE xyY and CIE.
Color 2011, Fall. Colorimetry : Definition (1/2) Colorimetry  Light is perceived in the visible band from 380 to 780 nm  distribution of wavelengths.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
Chap 4 Color image processing. Chapter 6 Color Image Processing Chapter 6 Color Image Processing Two major areas: full color and pseudo color 6.1 Color.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
CSC361/ Digital Media Burg/Wong
COLORCOLOR Angel 1.4 and 2.4 J. Lindblad
CS 376 Introduction to Computer Graphics 01 / 24 / 2007 Instructor: Michael Eckmann.
Graphics Lecture 4: Slide 1 Interactive Computer Graphics Lecture 4: Colour.
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
Three-Receptor Model Designing a system that can individually display thousands of colors is very difficult Instead, colors can be reproduced by mixing.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
Introduction to Computer Graphics
EEL Introduction to Computer Graphics PPT12: Color models Yamini Bura – U
Color Models. Color models,cont’d Different meanings of color: painting wavelength of visible light human eye perception.
1 CSCE441: Computer Graphics: Color Models Jinxiang Chai.
CS-321 Dr. Mark L. Hornick 1 Color Perception. CS-321 Dr. Mark L. Hornick 2 Color Perception.
David Luebke 1 2/5/2016 Color CS 445/645 Introduction to Computer Graphics David Luebke, Spring 2003.
Chapter 4: Color in Image and Video
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
Computer Graphics: Achromatic and Coloured Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Digital Image Processing Lecture 12: Color Image Processing Naveed Ejaz.
COMPUTER GRAPHICS CS 482 – FALL 2016 CHAPTER 28 COLOR COLOR PERCEPTION CHROMATICITY COLOR MODELS COLOR INTERPOLATION.
Color Models Light property Color models.
School of Electronics & Information Engineering
Half Toning Dithering RGB CMYK Models
Display Issues Ed Angel
Color Image Processing - 1
Color Image Processing
Color Image Processing
Color Image Processing
(c) University of Wisconsin, CS559 Spring 2002
Color 2017, Fall.
Chapter 6: Color Image Processing
Color Image Processing
Color 2015, Fall.
Colour Theory Fundamentals
Introduction to Computer Graphics with WebGL
© University of Wisconsin, CS559 Spring 2004
Color Representation Although we can differentiate a hundred different grey-levels, we can easily differentiate thousands of colors.
Computer Vision Lecture 4: Color
Color Image Processing
Digital Image Processing
Digital Image Processing
Slides taken from Scott Schaefer
Color Image Processing
Color Model By : Mustafa Salam.
Color Theory What is color? How do we perceive it?
Presentation transcript:

Pengenalan Warna Teori Warna

Outline Warna dan panjang gelombang Warna yang dapat ditangkap mata manusia Pencocokkan warna CIE (diagram kromatis CIE, color gamut) Ruang warna Teori Warna

Elements of Color Teori Warna

Visible Spectrum We percieve electromagnetic energy having wavelengths in the range 400-700 nm as visible light. Teori Warna

Human Color Vision The photosensitive part of the eye is called the retina. The retina is largely composed of two types of cells, called rods and cones. The cones are responsible for color perception. Cones are most densely packed within a region of the eye called the fovea. There are three types of cones, referred to as S, M, and L. They are roughly equivalent to blue, green, and red sensors, respectively. Their peak sensitivities are located at approximately 430nm, 560nm, and 610nm for the "average" observer. Teori Warna

Color Perception Different spectra can result in a perceptually identical sensations called metamers Color perception results from the simultaneous stimulation of 3 cone types (trichromat) Our perception of color is also affected by surround effects and adaptation Experiment: Subject views a colored surface through a hole in a sheet, so that the color looks like a film in space Investigator controls for nearby colors, and state of mind Teori Warna

People think these two spectra look the same (monomers) Trichromacy The receptor performance implies that colours do not have a unique energy distribution. Colors which are a distribution over all wavelengths can be matched by mixing three (R G B) Color Matching: People think these two spectra look the same (monomers) 700 400 500 600 Spectrum 3 Primaries Representing color: If you want people to “see” the continuous spectrum, you can just show the three primaries Teori Warna

Trichromacy X + r R = g G + b B Color Matching : Subtractive matching Given any colour light source, regardless of the distribution of wavelengths that it contains, we can try to match it with a mixture of three light sources X = r R + g G + b B where R, G and B are pure light sources and r, g and b their intensities Subtractive matching Not all colours can be matched with a given set of light sources We can add light to the colour we are trying to match: X + r R = g G + b B with this technique all colours can be matched. Teori Warna

The CIE Diagram Normalised colors thus, x = r/(r+g+b) The CIE (Commission Internationale d’Eclairage) diagram was devised as a standard normalised representation of color. Given three light sources we can mix them to match any given color, providing we allow ourselves subtractive matching. Suppose we normalise the ranges found to [0..1] to avoid the negative signs. Normalised colors Having normalised the range over which the matching is done we can now normalise the colours such that : r + g + b = 1 thus, x = r/(r+g+b) y = g/(r+g+b) z = b/(r+g+b) = 1 - x - y Teori Warna

The CIE Diagram Normalised Color Space CIE Chromaticity Diagram Teori Warna

The CIE Diagram Convex Shape Intensities White Point Saturation Notice that the pure colours (coherent λ) are round the edge of the CIE diagram. The shape must be convex, since any blend (interpolation) of pure colours should create a color in the visible region. The line joining purple and red has no pure equivalent. The colours can only be created by blending. Intensities Since the colours are all normalised there is no representation of intensity. By changing the intensity perceptually different colours can be seen. White Point When the three colour components are equal, the colour is white: x = 0.33 , y = 0.33 Saturation Pure colours are called fully saturated. These correspond to the colours around the edge of the horseshoe. Saturation of a arbitrary point is the ratio of its distance to the white point over the distance of the white point to the edge. Teori Warna

Color Gamuts The chromaticity diagram can be used to compare the "gamuts" of various possible output devices (i.e., monitors and printers). Teori Warna

Color Monitor Color monitors are based on adding three the output of three different light emitting phosphors. The nominal position of these on the CIE diagram is given by: Teori Warna

Color Printer When printing color we use a subtractive representation. Inks absorb wavelengths from the incident light, hence they subtract components to create the color. The subtractive primaries are Magenta (purple) Cyan (light Blue) Yellow Additive vs Subtractive Colour representation The subtractive representation is capable of representing far more of the colour space than the additive. Teori Warna

Color Space - RGB The additive color model used for computer graphics is represented by the RGB color cube, where R, G, and B represent the colors produced by red, green and blue phosphours, respectively. Conversion from one RGB gamut to another The RGB and CIE systems are practical representations, but do not relate to the way we perceive colours. Teori Warna

Color Space – HSI/HSV For interactive image manipulation it is preferable to use the HSI representation HSI has three values per color: Hue - corresponds notionally to pure color. Saturation - The proportion of pure colour Intensity - the brightness Hexcone subset of cylindrical (polar) coordinate system Teori Warna

Color Space – HSI/HSV Conversion between RGB and HSI I = ( r + g + b )/3 ( Sometimes, I = max(r,g,b)) S = ( max(r,g,b) - min(r,g,b) ) / max(r,g,b) Hue (which is an angle between 0 and 360o) is best described procedurally Calculating Hue : if (r=g=b) Hue is undefined, the colour is black, white or grey. if (r>b) and (g>b) Hue = 120*(g-b)/((r-b)+(g-b)) if (g>r) and (b>r) Hue = 120 + 120*(b-r)/((g-r)+(b-r)) if (r>g) and (b>g) Hue = 240 +120*(r-g)/((r-g)+(b-g)) Teori Warna

Alpha Channels Colour representations in computer systems sometimes use four components - r g b α. The fourth is simply an attenuation of the intensity which: allows greater flexibility in representing colours. avoids truncation errors at low intensity allows convenient masking certain parts of an image. Teori Warna

Referensi F.S.Hill, Jr., COMPUTER GRAPHICS – Using Open GL, Second Edition, Prentice Hall, 2001 Andries van Dam, Introduction to Computer Graphics, Brown University, 2003 (folder : brownUni/color.ppt) Interactive Computer Graphic, Slide-Presentation, (folder : Lect_IC_AC_UK/GraphicsSlides10.pdf) http://graphics.lcs.mit.edu/classses/6.837/F98/Lecture4/Slide23.html , Slide-Presentation, MIT, (folder : MIT_CourseNote/lecture4.pdf) Teori Warna