Color Image Analysis Chaur-Chin Chen Institute of Information Systems and Applications Department of Computer Science National Tsing Hua University E-mail:

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004  Department of Computer & Information Science Design Concepts: Module A: The Science of 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
School of Computing Science Simon Fraser University
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
© 2002 by Yu Hen Hu 1 ECE533 Digital Image Processing Color Imaging.
Color.
RGB color model Skills: none IT concepts: combining red, green and blue light to generate colors This work is licensed under a Creative Commons Attribution-Noncommercial-
2004/03/22 Color Models 1 Ku-Yaw Chang Assistant Professor, Department of Computer Science and Information Engineering Da-Yeh University.
1 Internet Graphics. 2 Representing Images  Raster Image: Images consist of “dots” of color, not lines  Pixel: Picture element-tiny rectangle  Resolution:
COLOR MODELS Ramya Sarma Anusha Holla
Course Website: Digital Image Processing Colour Image Processing.
Digital Image Processing Colour Image Processing.
Digital Images The digital representation of visual information.
1 Color Processing Introduction Color models Color image processing.
Version 1.0, 30 June 2004 APPLICATIONS OF METEOSAT SECOND GENERATION (MSG) RGB IMAGES: PART 02 INTRODUCTION TO RGB COLOURS Author:Jochen Kerkmann (EUMETSAT)
Product Design Sketching Chromatic Theories. Color Spectrum The range of colors seen by human eye is the “visible color spectrum”
Color Background. What is Color? Aspect of vision Physical reaction of the eye and the automatic interpretive response of the brain to wavelength characteristics.
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,
Color. -Visual light -An integral part of the sculpture -Creates desired effect -Distinguish items -Strengthen interest.
Color Image Processing A spectrum of possibilities…
CS 101 – Sept. 16 Finish color representation –RGB √ –CMY –HSB –Indexed color Chapter 4 – how computers think –Begin with basic building blocks.
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.
Web Colors. Web Colors: Up until now, we have been using only pre- defined color names, such as "orange" and "lightblue". As web designers, we need the.
Hexadecimal Codes 1. RGB Color Wheel 2 Before we begin Hexadecimal is a number system Based on using 0 – F to represent 0 – 15 Hex is used to represent.
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.
Image Representation. Digital Cameras Scanned Film & Photographs Digitized TV Signals Computer Graphics Radar & Sonar Medical Imaging Devices (X-Ray,
Digital Image Processing Part 1 Introduction. The eye.
COLOR THEORYCOLOR THEORY. Pigment vs. Light pigments - "subtractive." Red, blue and yellow can create all the colors of the color wheel. (paint, pigments)
Digital Media Lecture 7: Color part 2 Georgia Gwinnett College School of Science and Technology Dr. Jim Rowan.
# Red Green Blue Digital Color RGB to HEX.
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.
Ch 6 Color Image processing CS446 Instructor: Nada ALZaben.
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
Tutorial # 9 – Q#6.16 from textbook Nov. 21,
Color & Light Benjamin Hammel image by refeia
Color Web Design Professor Frank. Color Displays Based on cathode ray tubes (CRTs) or back- lighted flat-screen Monitors transmit light - displays use.
© UNT in partnership with TEA1 Advanced AV Production Color Theory.
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.
Color and Color for the Web First, discuss idea of color (some overlap with lecture on HVS) First, discuss idea of color (some overlap with lecture on.
HSB to RGB to HEX.
Image credit: Wikipedia (Fovea) Human Eye Some interesting facts – Rod cells: requires only low light b/w vision blur, all over retina EXCEPT fovea – Cone.
Computer Graphics: Achromatic and Coloured Light.
RED, YELLOW, and BLUE These colors cannot be made Used to make all other colors.
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.
Colour CPSC Colour ● Models ● RGB ● CMY(K) ● HSB (or HSV) ● RYB ● Harmonies ● Monochrome ● Complementary ● Analogous ● Triadic.
Color Models Light property Color models.
Sampling, Quantization, Color Models & Indexed Color
Design Concepts: Module A: The Science of Color
Color Theory.
Color Image Processing
Advanced AV Production
COLOR.
CITA 342 Section 7 Working with Color.
Color Image Representation
Digital Image Processing
Two ways to discuss color 1) Addition 2) Subtraction
Advanced AV Production
Color Image Processing
What Color is it?.
Primary and secondary There are two theories about how we can organize the different colours. Physicists explain color as a function of light. This is.
Color Theory What is color? How do we perceive it?
METEOSAT SECOND GENERATION (MSG) INTRODUCTION TO RGB COLOURS
Section 3.4 The Colors of Light.
Presentation transcript:

Color Image Analysis Chaur-Chin Chen Institute of Information Systems and Applications Department of Computer Science National Tsing Hua University Tel:

Color Image Processing Three Primary Signals: Red, Green, Blue Representation of (R,G,B) Color Images A Palette of 256 colors from HP Hex Triplet Color Chart RGB and HSI Conversion RGB and YIQ Conversion

Color Images and Their Histograms

Koala and Its RGB Components

(R,G,B) Histograms of Koala

(R,G,B) Histograms of Starfruits

(R,G,B) Histograms of Greentrees

From JPEG to RGB m=512; n=512; npixel=m*n; I=imread('koala512.jpg'); % m * n * 3 = (R,G,B) R=I(:,:,1); G=I(:,:,2); B=I(:,:,3); hR=zeros(256); hG=zeros(256); hB=zeros(256); for i=1:256 for j=1:256 r=1+R(i,j); g=1+G(i,j); b=1+B(i,j); hR(r)=hR(r)+1; hG(g)=hG(g)+1; hB(b)=hB(b)+1; end for k=1:256 hR(k)=100.0*(hR(k)/npixel); hG(k)=100.0*(hG(k)/npixel); hB(k)=100.0*(hB(k)/npixel); end subplot(2,2,1) imshow(R) subplot(2,2,2) imshow(G) subplot(2,2,3) imshow(B) L=0:255; subplot(2,2,4) plot(L,hR,'r-',L,hG,'g-',L,hB,'b-') title('RGB Histograms of 512 \times 512 Koala512') xlabel('Intensity Levels') ylabel('Percentage %')

RGB Hex Triplet Color Chart Red = FF0000 Green = 00FF00 Blue = 0000FF Cyan = 00FFFF Magenta= FF00FF Yellow = FFFF00

Hue, Saturation, Intensity (HSI) Hue is a color attribute that describes a pure color, e.g., pure orange, pure green, pure cyan, whereas Saturation is a measure of the degree to which a pure color is diluted by a white light. Brightness (Intensity) is a subjective description that is practically impossible to measure. HSI is an ideal tool for developing image processing algorithms based on color description that are natural intuitive to humans.

RGB ←→ HSI I = (R+G+B)/3 S=1-3*min{R,G,B}/(R+G+B) =1-min{R,G,B}/I H=θ if B ≤ G, = 2π- θ if B >G, where Θ=cos -1 {0.5[(R-G)+(R-B)]/[(R-G) 2 +(R-B)(G-B)] 1/2 } B=I*(1-S) R=I*{1+S*cos(H)/cos[(π/3)-H]} G=1-(R+B)

RGB ←→ YIQ Convert (R,G,B) signals into uncorrelated (Y,I,Q) components for further processing and analysis, for example, compression Y=0.299R G B I =0.596R G B Q=0.212R – 0.523G B