2004/03/22 Color Models 1 Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.

Slides:



Advertisements
Similar presentations
Chapter 2: Section 2 Visible light and Color
Advertisements

CGA 115 Professor Mary A. Malinconico. Questions from Last Week ????????
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.
Fundamentals of Digital Imaging
Region of Interest Part II Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
The eyes have three different kinds of color receptors; One kind is most sensitive to short wavelengths, one to middle wavelengths, and one to long wavelengths.
School of Computing Science Simon Fraser University
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
Color Mixing There are two ways to control how much red, green, and blue light reaches the eye: “Additive Mixing” Starting with black, the right amount.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Color.
Image Representation.
Fundamentals of Multimedia Chapter 4 Color in Image and Video Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
Color Model AbdelRahman Abu_absah Teacher: Dr. Sana'a Alsayegh.
Additive Primary Colors and Subtractive Primary Colors
1 Internet Graphics. 2 Representing Images  Raster Image: Images consist of “dots” of color, not lines  Pixel: Picture element-tiny rectangle  Resolution:
Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Color Systems. Subtractive Color The removal of light waves to perceive color: –Local or physical attributes of pigments, dyes, or inks reflect certain.
2001 by Jim X. Chen: 1 The purpose of a color model is to allow convenient specification of colors within some color gamut.
Image Buffer Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
CMYK vs. RGB Design. Primary colors The colors that make up the base for every other color created. Depending on whether you are looking at it from science,
© 1999 Rochester Institute of Technology Color. Imaging Science Workshop for Teachers ©Chester F. Carlson Center for Imaging Science at RIT Color Images.
Color Image Processing A spectrum of possibilities…
I-1 Steps of Image Generation –Create a model of the objects –Create a model for the illumination of the objects –Create an image (render) the result I.
Colours and Computer Jimmy Lam The Hong Kong Polytechnic University.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
What are the five colors in the legend? Enter the information below (5 points) 0000FF = = FFFFFF = 00FF00 = FF0000 = Color Theory Legend: income.
25.2 The human eye The eye is the sensory organ used for vision.
Color Theory The art and science of color interaction and effects. SYSTEMS.
Color and Resolution Introduction to Digital Imaging.
Color Theory ‣ What is color? ‣ How do we perceive it? ‣ How do we describe and match colors? ‣ Color spaces.
CSC Computing with Images
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.
Chapter 1. Introduction. Goals of Image Processing “One picture is worth more than a thousand words” 1.Improvement of pictorial information for human.
# Red Green Blue Digital Color RGB to HEX.
Microsoft Foundation Class (MFC) Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh.
G52IIP, School of Computer Science, University of Nottingham 1 Summary of Topic 2 Human visual system Cones Photopic or bright-light vision Highly sensitive.
A color model is a specification of a 3D color co-ordinate system and a visible subset in the co-ordinate System within all colors in a particular color.
DIGITAL IMAGE. Basic Image Concepts An image is a spatial representation of an object An image can be thought of as a function with resulting values of.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
CS654: Digital Image Analysis Lecture 29: Color Image Processing.
Lecture 24: Color Announcements & Review Lab 7 Due Thursday 2 D arrays - embedding graphs in an array Computer Science Artifacts Abstraction Representations.
COLOR.
Color Theory. Which colours is white light made of?
Computer Science and Software Engineering© 2014 Project Lead The Way, Inc. Bits and Bytes.
IPC Notes Light & Color. The colors of light that we see are the colors of light that an object reflects towards our eyes. ex) blue jeans absorb all colors.
Colors of Pigment The primary colors of pigment are magenta, cyan, and yellow. [
R O Y G B V ellowreenrangelueiolet LONG SHORT ed low energy high energy.
Elements of Design 1.02 Investigate Design Principles and Elements.
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
Menu Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
Lecture 15 Figures from Gonzalez and Woods, Digital Image Processing, Second Edition, 2002.
1.02 Color Here we go AGAIN!. A chart used to choose colors—helps you choose colors that look good together. Color Palette.
PART TWO Electronic Color & RGB values 1. Electronic Color Computer Monitors: Use light in 3 colors to create images on the screen Monitors use RED, GREEN,
Color.
COLOR THEORY Color is the eye’s response to the visual spectrum from red to violet. Different colors in the spectrum are created by different wavelengths.
Computer Graphics: Achromatic and Coloured Light.
The Visible Spectrum And how we see it. What is Visible Light? The cones in the eye are only sensitive to a narrow range of EM frequencies. Visible Light.
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Sensing Colors. B G Color Digital Image R Red sensor Green sensor Blue sensor.
COLOR THEORY Color is the eye’s response to the visual spectrum from red to violet. Different colors in the spectrum are created by different wavelengths.
25.2 The human eye The eye is the sensory organ used for vision.
The Colour of Light: Additive colour theory.
Additive Colour Theory
Colour theory.
Colour Theories.
Two ways to discuss color 1) Addition 2) Subtraction
What Color is it?.
Color Model By : Mustafa Salam.
monochrome AgX material
Presentation transcript:

2004/03/22 Color Models 1 Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University

22004/03/22Color Models Outline Color models Color Images C***Document & C***View C***Document & C***View Tools library

32004/03/22Color Models To facilitate the specification of colors in some standard Hardware-oriented Hardware-oriented RGB: color monitors CYM: printers YIQ: TV broadcast Application-oriented Application-oriented HSI: color image manipulation HSV: color image manipulation

42004/03/22Color Models RGB Color Model R G B Cyan Yellow Green Magenta Red Blue White Black (0,1,0) (0,0,1) (1,0,0) Gray Scale

52004/03/22Color Models YIQ Used for commercial color TV broadcasting Compatibility with monochrome TV standards Compatibility with monochrome TV standards Take advantage of human visual system’s greater sensitivity to changes in luminance Take advantage of human visual system’s greater sensitivity to changes in luminance Y (luminance) The amount of light perceived by the eye The amount of light perceived by the eye IQ (color information)

62004/03/22Color Models RGB to YIQ Y = R G B I = R G – B Q = R – G B

72004/03/22Color Models C***Document Add data short * m_p2BImage; short * m_p2BImage; unsigned char * m_p1BImage; unsigned char * m_p1BImage; unsigned char * m_pRedImage; unsigned char * m_pRedImage; unsigned char * m_pGreenImage; unsigned char * m_pGreenImage; unsigned char * m_pBlueImage; unsigned char * m_pBlueImage; int m_nWidth; int m_nWidth; int m_nHeight; int m_nHeight;

82004/03/22Color Models C***Document Add core functions short * Get2BImageBuffer(); short * Get2BImageBuffer(); unsigned char * Get1BImageBuffer(); unsigned char * Get1BImageBuffer(); unsigned char * GetRedImageBuffer(); unsigned char * GetRedImageBuffer(); unsigned char * GetGreenImageBuffer(); unsigned char * GetGreenImageBuffer(); unsigned char * GetBlueImageBuffer(); unsigned char * GetBlueImageBuffer(); int GetImageWidth(); int GetImageWidth(); int GetImageHeight(); int GetImageHeight();

92004/03/22Color Models C***View #include “tools.h” C***View::OnDraw(CDC * pDC){ intnWidth = pDoc->GetImageWidth(); intnHeight = pDoc->GetImageHeight(); intnHeight = pDoc->GetImageHeight(); ShowImage_1B(pDC, pDoc->Get1BImageBuffer(), nWidth, nHeight ); ShowImage_2B(pDC, pDoc->Get2BImageBuffer(), nWidth, nHeight, nWidth, 0 ); ShowImage_3B(pDC, pDoc->GetRedImageBuffer(), pDoc->GetGreenImageBuffer(), pDoc->GetBlueImageBuffer(), nWidth, nHeight, 0, nHeight); }

102004/03/22Color Models Tools Library Providing functions of displaying images 1-byte 1-byte void ShowImage_1B(CDC * pDC, unsigned char * pImage, int nWidth, int nHeight); 2-byte 2-byte void ShowImage_2B(CDC * pDC, short * pImage, int nWidth, int nHeight); 3-byte 3-byte void ShowImage_3B(CDC * pDC, unsigned char * pRedImage, unsigned char * pGreenImage, unsigned char * pBlueImage, int nWidth, int nHeight);

112004/03/22Color Models Results