SlideShare a Scribd company logo
1 of 24
Computer Graphics
Color Models
1
Prepared By :
Prakshal Trivedi (160110116055)
Tejoy Vachhrajani (160110116057)
Bhavik Vashi (160110116061)
Batch : 1D16
Submitted To : Prof. Prem Balani
3
Properties of Light
Each frequency value within the visible region of the electromagnetic spectrum
corresponds to a distinct spectral color.
FIGURE-1
4
• When white light is incident on an opaque object , some
frequencies are reflected and some are absorbed.
• The combination of frequencies present in the reflected in the
reflected light determines the color of the object that we
see.(Dominant frequency or Hue)
Properties of Light
5
Period (T)
Properties of Light
6
Characteristics of
Color
1. Dominant Frequency (Hue)
The color we see (red, green,
purple).
2. Brightness
The total light energy, how bright is the color (How bright
are the lights illuminating the object?)
3. Purity (Saturation)
Purity describes how close a light appears to be to a pure
spectral color, such as pink is less saturated than red.
Chromaticity refers to the two properties (purity & hue)
together.
7
•A color model is an abstract mathematical model
describing the way colors can be represented as tuples of
numbers, typically as three or four values or color
components. [Wikipedia]
•Any method for explaining the properties or behavior of
color within some particular context is called a Color
Model.[Hearn, Baker ,computer graphics with OpenGL]
Color Model
8
Color Model
Primary Colors
Sets of colors that can be combined to make a useful range of
colors
Color Gamut
Set of all colors that we can produce from the primary colors.
Complementary Colors
Pairs of colors which, when combined in the right proportions,
produce white.
Example, in the RGB model: red & cyan , green & magenta , blue
& yellow.
•No finite set of real primary colors can be combined to produce all possible visible
colors.
•However, given a set of three primary colors, we can characterize any fourth color
using color-mixing processes.
9
Shades , Tints & Tones
• A shade is produced by “dimming ” a hue.[Adding black].
Dark Blue = pure blue + black
• A tint is produced by "lightening" a hue. [Adding white].
Pastel red = pure red + white
• Tone refers to the effects of reducing the "colorfulness" of a hue.
[adding gray] or [adding black & white].
Thus, shading takes a hue toward black, tinting takes a hue
towards white, and tones cover the range between.
Color Model
10
Color Model
Additive color
Uses light to display color. Mixing begins with black and ends with white; as more
color is added, the result is lighter and tends to white. Used for computer displays
Example: The RGB colors are light primaries and colors are created with light.
A subtractive color
Uses ink to display color. Mixing means that one begins with white and ends with
black; as one adds color, the result gets darker and tends to black. Used for printed
material
It is called 'subtractive' because its wavelength is less than sum of the wavelengths
of its constituting colors.
Example: The CMYK color system is the color system used for printing.
16
•The red, green, and blue (RGB) color space is
widely used throughout computer graphics.
•Additive Color Model.
•Unit Cube defined on R, G & B axes.
•The Origin (0,0,0) represents black and the
diagonally opposite vertex (1,1,1) is White.
•Vertices of the cube on the axes represent
primary colors, and the remaining vertices are
the complementary color points for each of the
primary colors.
•Shades of gray are represented along the
main diagonal.
RGB Model
17
Each color point within the unit cube can be represented as
w weighted vector sum of the primary colors, using unit
vectors R,G and B.
C(λ) =(R,G,B) = RR +GG+ BB
Where R,G, and B are assigned values in the range from 0
to 1.0.
For example , the magenta vertex is obtained by adding the
maximum red and blue values to produce : (1,0,1)
RGB Model
18
YIQ model
•YIQ model is used for US TV broadcast.
•This model was designed to separate chrominance (I and
Q) from luminance (Y).
•This was a requirement in the early days of color television
when black-and-white sets still were expected to pick up
and display what were originally color pictures
•The Y-channel contains luminance information (sufficient
for black-and-white television sets) while the I and Q
channels carried the color information.
19
•A color television set would take these three channels, Y,I, and Q, andmap
the information back to R, G, and B levels for display on a screen.
•The advantage of this model is that more bandwidth can be assigned to the
Y-component (luminance) because the human visual system is more
sensitive to changes in luminance than to changes in hue or saturation
YIQ model
Convert From RGB ToYIQ Convert From YIQ ToRGB
20
HSV Model
Every color is represented by three components Hue ( H ),
Saturation ( S ) and Value ( V )
21
HSV Model
The Hue (H) of a color refers to which pure color it resembles.
All tints, tones and shades of red have the same hue. (simply
the color we see)
22
HSV Model
The Saturation (S) of a color describes how white the color is.
Or the amount of white added to the color. A pure red is fully
saturated (S=1) means no white added
23
HSV Model
The Value (V) of a color, also called its lightness, describes
how dark the color is. A value of 0 is black, with increasing
lightness moving away from black.
24
HSL Model
• Double-cone Representation
Parameters are :
• Hue (H)
• Lightness (L)
• Saturation (S)
25
HSL Model
• Vertical Axis is called Lightness(L).
• At L=0 we have black , and at L=1 we have white
• Grayscale values are along the L axis
• The pure colors lie at the axis where L=0.5 and S=1.0
26
•Subtractive Color Model.
•Stands for cyan-magenta-yellow.
•Used for hardcopy devices (ex. Printers).
•A printed color that looks red absorbs
the other two components G and B and
reflects R.
•Thus the C-M-Y coordinates are just the
complements of the R-G-B coordinates.
CMY and CMYK Model
27
CMY and CMYK Model
In additive color models such as RGB, white is the “additive”
combination of all primary colored lights, while black is the absence
of light.
In the CMYK model, it is the opposite: white is the natural color ofthe
paper or other background, while black results from a full
combination of colored inks.
RGB To CMY CMY To RGB
28
CMYK Color Model
Although cyan, magenta and yellow inks might be expected be sufficient for
color printing, most actual color printing uses black ink in addition.
This is partly because a mixture of the first three inks may not yield a black
that is neutral enough, or dark enough, but also because the use of black
spares the use of the more expensive colored inks, and also reduces the total
amount of ink used, thus speeding drying times.
K used instead of equal amounts of CMY
•called under color removal
•richer black
• less ink deposited on paper – dries more quickly
•First approximation – nonlinearities must be
accommodated:
K = min(C, M, Y)
C’ = C – K
M’ = M – K
Y’ = Y – K
CMY and CMYK Model
Color Model ApplicationArea Color Model ApplicationArea
RGB
- Computer graphics
- Image processing
- Image Analysis
- Image Storage
CMY(K) Printing
HSV, HSL
- Human visual perception
- Computer graphics processing
- Computer Vision
- Image Analysis
- Design image
- Human vision
- Image editing software
- Video editor
YIQ
- TV broadcasting
- Video system
Color Models Applications
35

More Related Content

What's hot

Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformationSelvakumar Gna
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingAmna
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing PresentationRevanth Chimmani
 
Rgb and Cmy color model
Rgb and Cmy color modelRgb and Cmy color model
Rgb and Cmy color modelSajid Hasan
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainMalik obeisat
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancyNaveen Kumar
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesCristina Pérez Benito
 
Raster scan system
Raster scan systemRaster scan system
Raster scan systemMohd Arif
 
Noise filtering
Noise filteringNoise filtering
Noise filteringAlaa Ahmed
 
Color model in computer graphics
Color model in computer graphicsColor model in computer graphics
Color model in computer graphicsPuja Dhakal
 

What's hot (20)

Color models
Color modelsColor models
Color models
 
HSV color model
HSV color modelHSV color model
HSV color model
 
Color model
Color modelColor model
Color model
 
Computer graphics basic transformation
Computer graphics basic transformationComputer graphics basic transformation
Computer graphics basic transformation
 
Rgb and cmy color model
Rgb and cmy color modelRgb and cmy color model
Rgb and cmy color model
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Rgb & cmy(k) color model
Rgb & cmy(k) color modelRgb & cmy(k) color model
Rgb & cmy(k) color model
 
Rgb and Cmy color model
Rgb and Cmy color modelRgb and Cmy color model
Rgb and Cmy color model
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Interpixel redundancy
Interpixel redundancyInterpixel redundancy
Interpixel redundancy
 
Rgb colour model
Rgb colour modelRgb colour model
Rgb colour model
 
Mathematical tools in dip
Mathematical tools in dipMathematical tools in dip
Mathematical tools in dip
 
Simultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color ImagesSimultaneous Smoothing and Sharpening of Color Images
Simultaneous Smoothing and Sharpening of Color Images
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Noise filtering
Noise filteringNoise filtering
Noise filtering
 
Color models
Color modelsColor models
Color models
 
Color model in computer graphics
Color model in computer graphicsColor model in computer graphics
Color model in computer graphics
 

Similar to Colormodels

10 color image processing
10 color image processing10 color image processing
10 color image processingbabak danyal
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: BasicsA B Shinde
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)Vijay Kumar
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics PresentationAshek Shanto
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessIrsaAamir
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing pptMvidhya9
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptxAntu Chowdhury
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsxjyoti_lakhani
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.pptPapajuvvanapudi
 
Color and color models
Color and color modelsColor and color models
Color and color modelsSafwan Hashmi
 
Color image processing
Color image processingColor image processing
Color image processingrmsurya
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxEveCarolino
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processingAryan Shivhare
 

Similar to Colormodels (20)

10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)Displays and color system in computer graphics(Computer graphics tutorials)
Displays and color system in computer graphics(Computer graphics tutorials)
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Color image processing ppt
Color image processing pptColor image processing ppt
Color image processing ppt
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsx
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Color and color models
Color and color modelsColor and color models
Color and color models
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
Color image processing
Color image processingColor image processing
Color image processing
 
About Color
About ColorAbout Color
About Color
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
 
Rgb&amp
Rgb&ampRgb&amp
Rgb&amp
 

More from Bhavik Vashi

Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method Bhavik Vashi
 
Rate monotonic scheduling- Operating System
Rate monotonic scheduling- Operating SystemRate monotonic scheduling- Operating System
Rate monotonic scheduling- Operating SystemBhavik Vashi
 
Data Structure Radix Sort
Data Structure Radix SortData Structure Radix Sort
Data Structure Radix SortBhavik Vashi
 
File management in OS
File management in OSFile management in OS
File management in OSBhavik Vashi
 
Types of Constructor in C++
Types of Constructor in C++Types of Constructor in C++
Types of Constructor in C++Bhavik Vashi
 
Parallel processing (simd and mimd)
Parallel processing (simd and mimd)Parallel processing (simd and mimd)
Parallel processing (simd and mimd)Bhavik Vashi
 
Ethernet and switches
Ethernet and switchesEthernet and switches
Ethernet and switchesBhavik Vashi
 
Fiscal Policy & Monetary Policy
Fiscal Policy & Monetary PolicyFiscal Policy & Monetary Policy
Fiscal Policy & Monetary PolicyBhavik Vashi
 
Projection of lines
Projection of linesProjection of lines
Projection of linesBhavik Vashi
 
Most Successful People & Personality
Most Successful People & Personality Most Successful People & Personality
Most Successful People & Personality Bhavik Vashi
 
Global Need of the World
Global Need of the WorldGlobal Need of the World
Global Need of the WorldBhavik Vashi
 
Functions of stdio conio
Functions of stdio   conio Functions of stdio   conio
Functions of stdio conio Bhavik Vashi
 
Impact of social media
Impact of social mediaImpact of social media
Impact of social mediaBhavik Vashi
 

More from Bhavik Vashi (20)

Aws ec2
Aws ec2Aws ec2
Aws ec2
 
MACRO PROCESSOR
MACRO PROCESSORMACRO PROCESSOR
MACRO PROCESSOR
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Linear Sorting
Linear SortingLinear Sorting
Linear Sorting
 
Kruskal Algorithm
Kruskal AlgorithmKruskal Algorithm
Kruskal Algorithm
 
Runge Kutta Method
Runge Kutta Method Runge Kutta Method
Runge Kutta Method
 
Rate monotonic scheduling- Operating System
Rate monotonic scheduling- Operating SystemRate monotonic scheduling- Operating System
Rate monotonic scheduling- Operating System
 
Data Structure Radix Sort
Data Structure Radix SortData Structure Radix Sort
Data Structure Radix Sort
 
File management in OS
File management in OSFile management in OS
File management in OS
 
Types of Constructor in C++
Types of Constructor in C++Types of Constructor in C++
Types of Constructor in C++
 
Parallel processing (simd and mimd)
Parallel processing (simd and mimd)Parallel processing (simd and mimd)
Parallel processing (simd and mimd)
 
Ethernet and switches
Ethernet and switchesEthernet and switches
Ethernet and switches
 
Fiscal Policy & Monetary Policy
Fiscal Policy & Monetary PolicyFiscal Policy & Monetary Policy
Fiscal Policy & Monetary Policy
 
Diwali Light
Diwali LightDiwali Light
Diwali Light
 
Heat transfer
Heat transferHeat transfer
Heat transfer
 
Projection of lines
Projection of linesProjection of lines
Projection of lines
 
Most Successful People & Personality
Most Successful People & Personality Most Successful People & Personality
Most Successful People & Personality
 
Global Need of the World
Global Need of the WorldGlobal Need of the World
Global Need of the World
 
Functions of stdio conio
Functions of stdio   conio Functions of stdio   conio
Functions of stdio conio
 
Impact of social media
Impact of social mediaImpact of social media
Impact of social media
 

Recently uploaded

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 

Recently uploaded (20)

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"Rapple "Scholarly Communications and the Sustainable Development Goals"
Rapple "Scholarly Communications and the Sustainable Development Goals"
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 

Colormodels

  • 1. Computer Graphics Color Models 1 Prepared By : Prakshal Trivedi (160110116055) Tejoy Vachhrajani (160110116057) Bhavik Vashi (160110116061) Batch : 1D16 Submitted To : Prof. Prem Balani
  • 2. 3 Properties of Light Each frequency value within the visible region of the electromagnetic spectrum corresponds to a distinct spectral color. FIGURE-1
  • 3. 4 • When white light is incident on an opaque object , some frequencies are reflected and some are absorbed. • The combination of frequencies present in the reflected in the reflected light determines the color of the object that we see.(Dominant frequency or Hue) Properties of Light
  • 5. 6 Characteristics of Color 1. Dominant Frequency (Hue) The color we see (red, green, purple). 2. Brightness The total light energy, how bright is the color (How bright are the lights illuminating the object?) 3. Purity (Saturation) Purity describes how close a light appears to be to a pure spectral color, such as pink is less saturated than red. Chromaticity refers to the two properties (purity & hue) together.
  • 6. 7 •A color model is an abstract mathematical model describing the way colors can be represented as tuples of numbers, typically as three or four values or color components. [Wikipedia] •Any method for explaining the properties or behavior of color within some particular context is called a Color Model.[Hearn, Baker ,computer graphics with OpenGL] Color Model
  • 7. 8 Color Model Primary Colors Sets of colors that can be combined to make a useful range of colors Color Gamut Set of all colors that we can produce from the primary colors. Complementary Colors Pairs of colors which, when combined in the right proportions, produce white. Example, in the RGB model: red & cyan , green & magenta , blue & yellow. •No finite set of real primary colors can be combined to produce all possible visible colors. •However, given a set of three primary colors, we can characterize any fourth color using color-mixing processes.
  • 8. 9 Shades , Tints & Tones • A shade is produced by “dimming ” a hue.[Adding black]. Dark Blue = pure blue + black • A tint is produced by "lightening" a hue. [Adding white]. Pastel red = pure red + white • Tone refers to the effects of reducing the "colorfulness" of a hue. [adding gray] or [adding black & white]. Thus, shading takes a hue toward black, tinting takes a hue towards white, and tones cover the range between. Color Model
  • 9. 10 Color Model Additive color Uses light to display color. Mixing begins with black and ends with white; as more color is added, the result is lighter and tends to white. Used for computer displays Example: The RGB colors are light primaries and colors are created with light. A subtractive color Uses ink to display color. Mixing means that one begins with white and ends with black; as one adds color, the result gets darker and tends to black. Used for printed material It is called 'subtractive' because its wavelength is less than sum of the wavelengths of its constituting colors. Example: The CMYK color system is the color system used for printing.
  • 10. 16 •The red, green, and blue (RGB) color space is widely used throughout computer graphics. •Additive Color Model. •Unit Cube defined on R, G & B axes. •The Origin (0,0,0) represents black and the diagonally opposite vertex (1,1,1) is White. •Vertices of the cube on the axes represent primary colors, and the remaining vertices are the complementary color points for each of the primary colors. •Shades of gray are represented along the main diagonal. RGB Model
  • 11. 17 Each color point within the unit cube can be represented as w weighted vector sum of the primary colors, using unit vectors R,G and B. C(λ) =(R,G,B) = RR +GG+ BB Where R,G, and B are assigned values in the range from 0 to 1.0. For example , the magenta vertex is obtained by adding the maximum red and blue values to produce : (1,0,1) RGB Model
  • 12. 18 YIQ model •YIQ model is used for US TV broadcast. •This model was designed to separate chrominance (I and Q) from luminance (Y). •This was a requirement in the early days of color television when black-and-white sets still were expected to pick up and display what were originally color pictures •The Y-channel contains luminance information (sufficient for black-and-white television sets) while the I and Q channels carried the color information.
  • 13. 19 •A color television set would take these three channels, Y,I, and Q, andmap the information back to R, G, and B levels for display on a screen. •The advantage of this model is that more bandwidth can be assigned to the Y-component (luminance) because the human visual system is more sensitive to changes in luminance than to changes in hue or saturation YIQ model Convert From RGB ToYIQ Convert From YIQ ToRGB
  • 14. 20 HSV Model Every color is represented by three components Hue ( H ), Saturation ( S ) and Value ( V )
  • 15. 21 HSV Model The Hue (H) of a color refers to which pure color it resembles. All tints, tones and shades of red have the same hue. (simply the color we see)
  • 16. 22 HSV Model The Saturation (S) of a color describes how white the color is. Or the amount of white added to the color. A pure red is fully saturated (S=1) means no white added
  • 17. 23 HSV Model The Value (V) of a color, also called its lightness, describes how dark the color is. A value of 0 is black, with increasing lightness moving away from black.
  • 18. 24 HSL Model • Double-cone Representation Parameters are : • Hue (H) • Lightness (L) • Saturation (S)
  • 19. 25 HSL Model • Vertical Axis is called Lightness(L). • At L=0 we have black , and at L=1 we have white • Grayscale values are along the L axis • The pure colors lie at the axis where L=0.5 and S=1.0
  • 20. 26 •Subtractive Color Model. •Stands for cyan-magenta-yellow. •Used for hardcopy devices (ex. Printers). •A printed color that looks red absorbs the other two components G and B and reflects R. •Thus the C-M-Y coordinates are just the complements of the R-G-B coordinates. CMY and CMYK Model
  • 21. 27 CMY and CMYK Model In additive color models such as RGB, white is the “additive” combination of all primary colored lights, while black is the absence of light. In the CMYK model, it is the opposite: white is the natural color ofthe paper or other background, while black results from a full combination of colored inks. RGB To CMY CMY To RGB
  • 22. 28 CMYK Color Model Although cyan, magenta and yellow inks might be expected be sufficient for color printing, most actual color printing uses black ink in addition. This is partly because a mixture of the first three inks may not yield a black that is neutral enough, or dark enough, but also because the use of black spares the use of the more expensive colored inks, and also reduces the total amount of ink used, thus speeding drying times. K used instead of equal amounts of CMY •called under color removal •richer black • less ink deposited on paper – dries more quickly •First approximation – nonlinearities must be accommodated: K = min(C, M, Y) C’ = C – K M’ = M – K Y’ = Y – K CMY and CMYK Model
  • 23. Color Model ApplicationArea Color Model ApplicationArea RGB - Computer graphics - Image processing - Image Analysis - Image Storage CMY(K) Printing HSV, HSL - Human visual perception - Computer graphics processing - Computer Vision - Image Analysis - Design image - Human vision - Image editing software - Video editor YIQ - TV broadcasting - Video system Color Models Applications
  • 24. 35