SlideShare a Scribd company logo
Fundamentals of MultimediaFundamentals of Multimedia
Color in Image andVideo
1
Lecture slidesLecture slides
ByBy
RashaRasha
 Color Science
 Color Models in Images
 Color Models in Video.
2
Out line
4.1 Color Science4.1 Color Science
Light and Spectra
 Light is an electromagnetic wave. Its color is characterized
by the wavelength content of the light.
 Visible light is an electromagnetic wave in the 400nm-700
nm rang. most light we see is not one wavelength , it’s a
combination of many wavelengths.
SPD( Spectral Power Distribution)
The relative power in each wavelength interval for typical
daylight this type of curve is called SPD or Spectrum.
The symbol for wavelength is λ. This curve is called E(λ ).
 Fig. 4.2 shows the relative power in each wavelength interval
for typical outdoor light on a sunny day. This type of curve is
3
4
4.1 Color Science4.1 Color Science
4.1 Color Science4.1 Color Science
 Spectrophotometer: device used to measure visible
light, by reflecting light from a diffraction grating
(prism) (a ruled surface) that spreads out the different
wavelengths.
 Figure 4.1 shows the phenomenon that white light
contains all the colors of a rainbow.
 Visible light is an electromagnetic wave in the range 400
nm to 700 nm (where nm stands for nanometer, 10 9−
meters).
5
6
7
Human Vision
 The eye is basically just a camera
 Each neuron is either a rod or a cone. Rods are not
sensitive to color.
 Cones come in 3 types: Red ,Green and blue . Each
responds differently to various frequencies of light.
 The color signal to the brain comes from the response
of the 3 cones to the spectral being observed .
Human VisionHuman Vision
8
9
10
Spectral Sensitivity of the Eye
The eye is most sensitive to light in the middle of
the visible spectrum.
. The following fig4.3 shows the spectral
sensitivity functions of the cones and the luminous
–efficiency
function called V(λ) of the human eye.
SpectralSpectral Sensitivity of the EyeSensitivity of the Eye
It is usually denoted V (λ) and is formed as
the sum of the response curves for Red,
Green, and Blue.
11
Image FormationImage Formation
In most situations, we actually image light that is
reflected from a surface.
Surfaces reflect different amounts of light at
different wavelengths, and dark surfaces reflect less
energy than light surfaces.
Surface spectral reflectance functions S(λ) for
objects.
then the reflected light filtered by the eye’s cone.
 Reflection is shown in Fig. 4.5 below.
12
4.1 Color Science4.1 Color Science
13
4.1 Color Science4.1 Color Science
14
Camera Systems
 Camera systems are made in a similar fashion; a good camera
has three signals produced at each pixel location
(corresponding to a retinal position).
 Analog signals are converted to digital, truncated to integers,
and stored. If the precision used is 8-bit, then the maximum
value for any of R,G,B is 255, and the minimum is 0.
 The light entering the eye of the computer user is what the
screen emits – the screen is essentially a self-luminous
source. Therefore, we need to know the light E(λ)
entering the eye.
Gamma correctionGamma correction

Gamma: is the light emitted is in fact roughly proportional to the voltage
raised to power ,this power is called Gamma with symbol Y
(a) Thus, if the file value in the red channel is R, the screen emits light
proportional to R, with SPD equal to that of the red phosphor paint on
the screen that is the target of the red channel electron gun. The value of
gamma is around 2.2.
(b) It is customary to append a prime to signals that are gamma-corrected
by raising to the power before transmission. Thus we arrive at linear
signals:
15
4.1 Color Science4.1 Color Science
16
Gamma correctionGamma correction
 The combined effect is shown in Fig. 4.7(b). Here, a ramp is shown in
16 steps from gray-level 0 to gray-level 255.
17
Gamma correctionGamma correction
 A more careful definition of gamma recognizes that a simple power law
would result in an infinite derivative at zero voltage makes constructing
a circuit to accomplish gamma correction difficult to devise in analog.
18
Gamma correctionGamma correction
19
Color-Matching FunctionsColor-Matching Functions
 A color can be specified as the sum of three color .So colors form a
3 dimensional vector space .
 The amounts of R, G, and B the subject selects to match each
single-wavelength light forms the color-matching curves .These are
denoted
 The negative value indicates that some colors cannot be exactly
produced by adding up the primaries.
20
CIE chromaticity diagramCIE chromaticity diagram
 Since the r(λ) color-matching curve has a negative lobe, a set of
fictitious primaries were devised that lead to color-matching functions
with only positives values.
 (a) The resulting curves are shown in Fig. 4.10;,these are usually
referred to as the color-matching functions.
 (b) They are a 3 *3 matrix away from curves, and are
denoted x(λ),y(λ),z(λ).
 (c) The matrix is chosen such that the middle standard color-matching
function y(λ) exactly equals the luminous-efficiency curve V (λ)
shown in Fig. 4.3.
21
CIE chromaticity diagramCIE chromaticity diagram
 For a general SPD E(λ), the essential colorimetric information
required to characterize a color is the set of tristimulus values X, Y , Z
defined in analogy to (Eq. 4.1) as(Y == luminance):
* from Eq(4.6) increasing the brightness of illumination increases
tristimulus value by scalar multiple
 3D data is difficult to visualize, so the CIE devised a 2D diagram based
on the values of (X,Y,Z) triples implied by the curves in Fig. 4.10.
22
CIE chromaticity diagramCIE chromaticity diagram
We go to 2D by factoring out the magnitude of vectors (X,Y,Z); we
could divide by , but instead we divide by the
sum X +Y +Z to make the chromaticity:
This effectively means that one value out of the set (x, y , z)is
redundant since we have
23
CIE chromaticity diagramCIE chromaticity diagram
24
Effectively, we are projecting each tristimulus vector (X,Y,Z)
onto the plane connecting points (1,0, 0), (0,1,0), and (0,0,1).
Fig. 4.11 shows the locus of points for monochromatic light
CIE chromaticity diagramCIE chromaticity diagram
 (a) The color matching curves each add up to the same
value the area under each curve is the same for each
of x(λ),y(λ),z(λ).
 (b) For an E(λ) = 1 for all ,λ an “equi-energy white light"
chromaticity values are (1l3,1l3). Fig. 4.11 displays
a typical actual white point in the middle of the
diagram.
 (c) Since , all possible
chromaticity values lie below the dashed diagonal line in
(Fig. 4.11).
25
Color monitor specificationsColor monitor specifications
• Color monitors are specified in part by the white point chromaticity
that is desired if the RGB electron guns are all activated at their
highest value .
• We want the monitor to display a specified white when
R`=G`=B`=1
Out –of –Gamut colors
 For any (x,y) pair we wish to find that RGB triple giving the specified (x, y,z):
We form the z values for the phosphors , via
z = 1 x y− − and solve for RGB from the phosphor chromaticities.
 We combine nonzero values of R, G, and B via
26
Out –of –Gamut colorsOut –of –Gamut colors
 If (x y) [color without magnitude] is specified, instead of
derived as above, we have to invert the matrix of
phosphor (x, y, z) values to obtain RGB.
 What do we do if any of the RGB numbers is negative?
that color, visible to humans, is out-of-gamut for our
display.
1. One method: simply use the closest in-gamut color
available, as in Fig. 4.13.
2. Another approach: select the closest complementary
color.
27
28
Out –of –Gamut colorsOut –of –Gamut colors
 Grassman's Law: (Additive) color matching is linear. This
means that if we match color1 with a linear combinations
of lights and match color2 with another set of weights, the
combined color color1+color2 is matched by the sum of the
two sets of weights.
 Additive color results from self-luminous sources, such as
lights projected on a white screen, or the phosphors glowing
on the monitor glass. (Subtractive color applies for printers,
and is very different).
29
White point correctionWhite point correction
 Problems:
 One deficiency in what we have done so far is that we need
to be able to map tristimulus values XY Z to device RGBs
including magnitude, and not just deal with chromaticity xyz.
 To correct both problems, take the white point magnitude of
Y as unity: Y (white point) = 1 (4:11)
 Now we need to find a set of three correction factors such
that if the gains of the three electron guns are multiplied by
these values we get exactly the white point XY Z value at
R = G = B = 1.
 Suppose the matrix of phosphor chromaticities xr; xg ; ::: etc.
in Eq. (4.10) is called M . We can express the correction as
a diagonal matrix D = diag (d1; d2; d3) such that XY Z white
M D (1, 1,1)T (4:12)
30
XYZ to RGB transformXYZ to RGB transform
To transform XYZ to RGB calculate the
linear RGB required ,by inverting the
equ.
then make nonlinear signals via gamma
correction
31
Transform with Gamma correctionTransform with Gamma correction
 Now the 3 × 3 transform matrix from XYZ to RGB is taken to be
T = M D (4:15)
32
L*a*b* (CIELAB) Color ModelL*a*b* (CIELAB) Color Model
33
L*a*b* (CIELAB) Color ModelL*a*b* (CIELAB) Color Model
 A refined CIE model ,named CIE L*a*b in 1979
 Luminance : L
 Chrominance : a– ranges from green to red, b– ranges
from blue to yellow
 Used by Photoshop
34
More color-coordinate schemesMore color-coordinate schemes
 There are several other coordinate schemes in use to describe
color as humans perceive it ,whether gamma correction should or
not be applied
 Schemes include:
 a) CMY | Cyan (C), Magenta (M) and Yellow (Y ) color model;
 b) HSL | Hue, Saturation and Lightness;
 c) HSV | Hue, Saturation and Value;
 d) HSI | Hue, Saturation and Intensity;
 e) HCI | C=Chroma;
 f) HVC | V=Value;
 g) HSD | D=Darkness.
35
Munsell color naming systemMunsell color naming system
The idea is to set up approximately
perceptually uniform system of three
axes to discuss and specify color.
The axes are
value(black,white),Hue,chroma.
Value divided into 9 steps, hue is in 40
step . The circle’s radius with value.
36
Color Models in ImagesColor Models in Images
RGB Color Model for Displays
 we expect to be able to use 8 bit per color channel for color that is
accurate enough. However, in fact we have to use about 12 bits per
channel to avoid an aliasing effect in dark image areas __contour
bands that result from gamma correction.
 For images produced from computer graphics, we store integers
pro-portional to intensity in the frame bufer. So should have a
gamma correction LUT between the frame bufer
and the CRT.
 If gamma correction is applied to floats before quantizing to integers,
before storage in the frame buffer, then in fact we can use only 8 bits
per channel and still avoid contouring artifacts.
37
Subtractive Color: CMY Color ModelSubtractive Color: CMY Color Model
 So far, we have effectively been dealing only with
additive color. Namely, when two light beams
impinge on a target, their colors add; when two
phosphors on a CRT screen are turned on, their colors
add.
 for example
red phosphor+ green phosphor= yellow phosphor
* red, green, and blue primaries, we used in monitor .
• subtractive color primaries are Cyan (C),
Magenta (M) and Yellow (Y ) inks
38
* In subtractive CMY system, black arises from
subtractive all the light by laying down inks with
C=M=Y=1
39
Additive and subtractive colorAdditive and subtractive color
40
Transformation from RGB to CMYTransformation from RGB to CMY
Simplest model we can invent to specify what ink density
to lay down on paper, to make a certain desired RGB
color:
41
Undercolor Removal: CMYK SystemUndercolor Removal: CMYK System
 Black ink is in fact cheaper than mixing colored inks to
make black, so a simple approach to producing sharper
printer color , remove it from the color proportions
and add it back as real this is called “undercolor
removal”
calculate that
The new specification of inks is thus:
42
 Actual transmission curves overlap for the C, M, Y inks.
This leads to “crosstalk” between the color channels and
difficulties in predicting colors achievable in printing.
43
Printer GamutsPrinter Gamuts
 Video Color Transforms
(a) Largely derive from older analog methods of
coding color for TV . Luminance is separated
from color information.
(b) This coding also makes its way into VHS
( VIDEO HOME SYSTEM) video tape coding in
these countries since video tape technologies
also use YIQ.
(c) In Europe, video tape uses the PAL or ECAM
coding which are based on TV that uses a matrix
transform called YUV.
44
Color models in videoColor models in video
YUV Color ModelYUV Color Model
• Human perception is more sensitive to luminance
(brightness )than chrominance (color) . Therefore
instead of separating colors on can separate the
brightness information from the color information Y
is luminance
• Y=0.299R+ 0.587G+0.114B
• Chrominance is defined as the difference between a
color and a reference white at the same luminance
it can be represented by U and V the color
differences
U=B`-Y` V=R`-Y`
45
• Eye is most sensitive to Y. therefore any
error in the resolution of the luminance (Y)
is more important the chrominance (U,V)
values.
• In PAL,5(OR 5.5)MHz is allocated to Y ,1,3
MHz to U and V
46
YUV Color ModelYUV Color Model
47
YIQ Color ModelYIQ Color Model
 YIQ is used in NTSC color TV broadcasting.
Again, gray
pixels generate zero (I,Q) chrominance signal.
Although U and V nicely define the color
differences . They do not align with the desired
human perceptual color sensitivities. Hence , I
and Q are used instead
 (a) I and Q are a rotated version of U and V .
48
YIQ Color ModelYIQ Color Model
(b) Y ' in YIQ is the same as in YUV,U and V are
rotated by 33:
(c) This leads to the following matrix transform:
49
YIQ Color ModelYIQ Color Model
(d) Fig. 4.19 shows the decomposition of the same
color image as a bove,into YIQ components.
50
YCbCr Color ModelYCbCr Color Model
 The Rec. 601 standard for digital video uses
another color space, Y CbCr, often simply written
YCbCr -- closely related to the YUV transform.
(a) YUV is changed by scaling such that Cb is U,
but with a coefficient of 0.5 multiplying B'. In
some software systems, Cb and Cr are also
shifted such that values are between 0 and 1.
(b) This makes the equations as follows:
51
 (d) In practice, however, Recommendation 601 species 8-
bit coding, with a maximum Y ' value of only 219, and a
minimum of +16. Cb and Cr have a range of -+112 and
offset of +128. If R', G', B‘ are floats in [0..+ 1], then we
obtain Y ', Cb, C rin [0.. 255] via the transform:
52
YCbCr Color ModelYCbCr Color Model
(f) The YCbCr transform is used in JPEG
image compression and MPEG video
compression.
53
54
THANK YOUTHANK YOU

More Related Content

What's hot

Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
Pratik Pradhan
 
Lect 06
Lect 06 Lect 06
Lect 06
Moe Moe Myint
 
Chapter 4 : SOUND
Chapter 4 : SOUNDChapter 4 : SOUND
Chapter 4 : SOUND
azira96
 
Video signal-ppt
Video signal-pptVideo signal-ppt
Video signal-ppt
Deepa K C
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System Design
Pratik Pradhan
 
Color model
Color modelColor model
IT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaIT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & Multimedia
Arry Arman
 
Image formats
Image formatsImage formats
Image formats
IET DAVV Indore
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
Ishank Ranjan
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
Mazin Alwaaly
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
asodariyabhavesh
 
Video
VideoVideo
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
azira96
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
dhruv141293
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
kiruthiammu
 
Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
PrathimaBaliga
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
Vishnu RC Vijayan
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software toolsJay Patel
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
A B Shinde
 

What's hot (20)

Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Image Files Formats
Image Files FormatsImage Files Formats
Image Files Formats
 
Chapter 4 : SOUND
Chapter 4 : SOUNDChapter 4 : SOUND
Chapter 4 : SOUND
 
Video signal-ppt
Video signal-pptVideo signal-ppt
Video signal-ppt
 
Chapter 3 - Multimedia System Design
Chapter 3 - Multimedia System DesignChapter 3 - Multimedia System Design
Chapter 3 - Multimedia System Design
 
Color model
Color modelColor model
Color model
 
IT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & MultimediaIT Introduction - 06. Graphic & Multimedia
IT Introduction - 06. Graphic & Multimedia
 
Image formats
Image formatsImage formats
Image formats
 
Ppt on audio file formats
Ppt on audio file formatsPpt on audio file formats
Ppt on audio file formats
 
Multimedia fundamental concepts in video
Multimedia fundamental concepts in videoMultimedia fundamental concepts in video
Multimedia fundamental concepts in video
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
Video
VideoVideo
Video
 
Chapter 5 : ANIMATION
Chapter 5 : ANIMATIONChapter 5 : ANIMATION
Chapter 5 : ANIMATION
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Multimedia chapter 4
Multimedia chapter 4Multimedia chapter 4
Multimedia chapter 4
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
 
Multimedia software tools
Multimedia software toolsMultimedia software tools
Multimedia software tools
 
Color Image Processing: Basics
Color Image Processing: BasicsColor Image Processing: Basics
Color Image Processing: Basics
 

Similar to Multimedia color in image and video

Color
ColorColor
Color
FNian
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
nagwaAboElenein
 
Unit i mm_chap4_color in image and video
Unit i mm_chap4_color in image and  videoUnit i mm_chap4_color in image and  video
Unit i mm_chap4_color in image and video
Eellekwameowusu
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
JosRamnIglesiasGamar
 
A primer for colour computer vision
A primer for colour computer visionA primer for colour computer vision
A primer for colour computer vision
potaters
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
IrsaAamir
 
Image Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation ModelImage Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation Model
IJERA Editor
 
matdid950092.pdf
matdid950092.pdfmatdid950092.pdf
matdid950092.pdf
lencho3d
 
Image Processing
Image ProcessingImage Processing
Image ProcessingTuyen Pham
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
babak danyal
 
Iisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vantedduIisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vanteddu
IISRT
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
Antu Chowdhury
 
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
IOSR Journals
 
It 603
It 603It 603
It 603
vanaja nakka
 
It 603
It 603It 603
It 603
vanaja nakka
 
Dip3
Dip3Dip3
Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...
IOSR Journals
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Color image processing
Color image processingColor image processing
Color image processing
rmsurya
 

Similar to Multimedia color in image and video (20)

Color
ColorColor
Color
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
Unit i mm_chap4_color in image and video
Unit i mm_chap4_color in image and  videoUnit i mm_chap4_color in image and  video
Unit i mm_chap4_color in image and video
 
Color_Spaces.pptx
Color_Spaces.pptxColor_Spaces.pptx
Color_Spaces.pptx
 
A primer for colour computer vision
A primer for colour computer visionA primer for colour computer vision
A primer for colour computer vision
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Image Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation ModelImage Restitution Using Non-Locally Centralized Sparse Representation Model
Image Restitution Using Non-Locally Centralized Sparse Representation Model
 
matdid950092.pdf
matdid950092.pdfmatdid950092.pdf
matdid950092.pdf
 
Image Processing
Image ProcessingImage Processing
Image Processing
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
Iisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vantedduIisrt zzz bhavyasri vanteddu
Iisrt zzz bhavyasri vanteddu
 
Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
 
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...Colorization of Gray Scale Images in YCbCr Color Space Using  Texture Extract...
Colorization of Gray Scale Images in YCbCr Color Space Using Texture Extract...
 
It 603
It 603It 603
It 603
 
It 603
It 603It 603
It 603
 
Dip3
Dip3Dip3
Dip3
 
Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...Color to Gray and back’ using normalization of color components with Cosine, ...
Color to Gray and back’ using normalization of color components with Cosine, ...
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Color image processing
Color image processingColor image processing
Color image processing
 

More from Mazin Alwaaly

Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
Mazin Alwaaly
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
Mazin Alwaaly
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
Mazin Alwaaly
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
Mazin Alwaaly
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
Mazin Alwaaly
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
Mazin Alwaaly
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
Mazin Alwaaly
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
Mazin Alwaaly
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
Mazin Alwaaly
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
Mazin Alwaaly
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
Mazin Alwaaly
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
Mazin Alwaaly
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
Mazin Alwaaly
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
Mazin Alwaaly
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
Mazin Alwaaly
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
Mazin Alwaaly
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
Mazin Alwaaly
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
Mazin Alwaaly
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
Mazin Alwaaly
 

More from Mazin Alwaaly (20)

Pattern recognition voice biometrics
Pattern recognition voice biometricsPattern recognition voice biometrics
Pattern recognition voice biometrics
 
Pattern recognition palm print authentication system
Pattern recognition palm print authentication systemPattern recognition palm print authentication system
Pattern recognition palm print authentication system
 
Pattern recognition on line signature
Pattern recognition on line signaturePattern recognition on line signature
Pattern recognition on line signature
 
Pattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and earPattern recognition multi biometrics using face and ear
Pattern recognition multi biometrics using face and ear
 
Pattern recognition IRIS recognition
Pattern recognition IRIS recognitionPattern recognition IRIS recognition
Pattern recognition IRIS recognition
 
Pattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognitionPattern recognition hand vascular pattern recognition
Pattern recognition hand vascular pattern recognition
 
Pattern recognition Hand Geometry
Pattern recognition Hand GeometryPattern recognition Hand Geometry
Pattern recognition Hand Geometry
 
Pattern recognition forensic dental identification
Pattern recognition forensic dental identificationPattern recognition forensic dental identification
Pattern recognition forensic dental identification
 
Pattern recognition fingerprints
Pattern recognition fingerprintsPattern recognition fingerprints
Pattern recognition fingerprints
 
Pattern recognition facial recognition
Pattern recognition facial recognitionPattern recognition facial recognition
Pattern recognition facial recognition
 
Pattern recognition ear as a biometric
Pattern recognition ear as a biometricPattern recognition ear as a biometric
Pattern recognition ear as a biometric
 
Pattern recognition 3d face recognition
Pattern recognition 3d face recognitionPattern recognition 3d face recognition
Pattern recognition 3d face recognition
 
Multimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networksMultimedia multimedia over wireless and mobile networks
Multimedia multimedia over wireless and mobile networks
 
Multimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communicationsMultimedia network services and protocols for multimedia communications
Multimedia network services and protocols for multimedia communications
 
Multimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital librariesMultimedia content based retrieval in digital libraries
Multimedia content based retrieval in digital libraries
 
Multimedia lossy compression algorithms
Multimedia lossy compression algorithmsMultimedia lossy compression algorithms
Multimedia lossy compression algorithms
 
Multimedia lossless compression algorithms
Multimedia lossless compression algorithmsMultimedia lossless compression algorithms
Multimedia lossless compression algorithms
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Multimedia image compression standards
Multimedia image compression standardsMultimedia image compression standards
Multimedia image compression standards
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 

Recently uploaded

FAIR & AI Ready KGs for Explainable Predictions
FAIR & AI Ready KGs for Explainable PredictionsFAIR & AI Ready KGs for Explainable Predictions
FAIR & AI Ready KGs for Explainable Predictions
Michel Dumontier
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
muralinath2
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Sérgio Sacani
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
SAMIR PANDA
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
pablovgd
 
Penicillin...........................pptx
Penicillin...........................pptxPenicillin...........................pptx
Penicillin...........................pptx
Cherry
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
muralinath2
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Erdal Coalmaker
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
IvanMallco1
 
insect morphology and physiology of insect
insect morphology and physiology of insectinsect morphology and physiology of insect
insect morphology and physiology of insect
anitaento25
 

Recently uploaded (20)

FAIR & AI Ready KGs for Explainable Predictions
FAIR & AI Ready KGs for Explainable PredictionsFAIR & AI Ready KGs for Explainable Predictions
FAIR & AI Ready KGs for Explainable Predictions
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
 
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
Observation of Io’s Resurfacing via Plume Deposition Using Ground-based Adapt...
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Seminar of U.V. Spectroscopy by SAMIR PANDA
 Seminar of U.V. Spectroscopy by SAMIR PANDA Seminar of U.V. Spectroscopy by SAMIR PANDA
Seminar of U.V. Spectroscopy by SAMIR PANDA
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
 
Penicillin...........................pptx
Penicillin...........................pptxPenicillin...........................pptx
Penicillin...........................pptx
 
erythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptxerythropoiesis-I_mechanism& clinical significance.pptx
erythropoiesis-I_mechanism& clinical significance.pptx
 
Unveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdfUnveiling the Energy Potential of Marshmallow Deposits.pdf
Unveiling the Energy Potential of Marshmallow Deposits.pdf
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
 
insect morphology and physiology of insect
insect morphology and physiology of insectinsect morphology and physiology of insect
insect morphology and physiology of insect
 

Multimedia color in image and video

  • 1. Fundamentals of MultimediaFundamentals of Multimedia Color in Image andVideo 1 Lecture slidesLecture slides ByBy RashaRasha
  • 2.  Color Science  Color Models in Images  Color Models in Video. 2 Out line
  • 3. 4.1 Color Science4.1 Color Science Light and Spectra  Light is an electromagnetic wave. Its color is characterized by the wavelength content of the light.  Visible light is an electromagnetic wave in the 400nm-700 nm rang. most light we see is not one wavelength , it’s a combination of many wavelengths. SPD( Spectral Power Distribution) The relative power in each wavelength interval for typical daylight this type of curve is called SPD or Spectrum. The symbol for wavelength is λ. This curve is called E(λ ).  Fig. 4.2 shows the relative power in each wavelength interval for typical outdoor light on a sunny day. This type of curve is 3
  • 4. 4 4.1 Color Science4.1 Color Science
  • 5. 4.1 Color Science4.1 Color Science  Spectrophotometer: device used to measure visible light, by reflecting light from a diffraction grating (prism) (a ruled surface) that spreads out the different wavelengths.  Figure 4.1 shows the phenomenon that white light contains all the colors of a rainbow.  Visible light is an electromagnetic wave in the range 400 nm to 700 nm (where nm stands for nanometer, 10 9− meters). 5
  • 6. 6
  • 7. 7 Human Vision  The eye is basically just a camera  Each neuron is either a rod or a cone. Rods are not sensitive to color.  Cones come in 3 types: Red ,Green and blue . Each responds differently to various frequencies of light.  The color signal to the brain comes from the response of the 3 cones to the spectral being observed .
  • 9. 9
  • 10. 10 Spectral Sensitivity of the Eye The eye is most sensitive to light in the middle of the visible spectrum. . The following fig4.3 shows the spectral sensitivity functions of the cones and the luminous –efficiency function called V(λ) of the human eye.
  • 11. SpectralSpectral Sensitivity of the EyeSensitivity of the Eye It is usually denoted V (λ) and is formed as the sum of the response curves for Red, Green, and Blue. 11
  • 12. Image FormationImage Formation In most situations, we actually image light that is reflected from a surface. Surfaces reflect different amounts of light at different wavelengths, and dark surfaces reflect less energy than light surfaces. Surface spectral reflectance functions S(λ) for objects. then the reflected light filtered by the eye’s cone.  Reflection is shown in Fig. 4.5 below. 12
  • 13. 4.1 Color Science4.1 Color Science 13
  • 14. 4.1 Color Science4.1 Color Science 14 Camera Systems  Camera systems are made in a similar fashion; a good camera has three signals produced at each pixel location (corresponding to a retinal position).  Analog signals are converted to digital, truncated to integers, and stored. If the precision used is 8-bit, then the maximum value for any of R,G,B is 255, and the minimum is 0.  The light entering the eye of the computer user is what the screen emits – the screen is essentially a self-luminous source. Therefore, we need to know the light E(λ) entering the eye.
  • 15. Gamma correctionGamma correction  Gamma: is the light emitted is in fact roughly proportional to the voltage raised to power ,this power is called Gamma with symbol Y (a) Thus, if the file value in the red channel is R, the screen emits light proportional to R, with SPD equal to that of the red phosphor paint on the screen that is the target of the red channel electron gun. The value of gamma is around 2.2. (b) It is customary to append a prime to signals that are gamma-corrected by raising to the power before transmission. Thus we arrive at linear signals: 15 4.1 Color Science4.1 Color Science
  • 16. 16
  • 17. Gamma correctionGamma correction  The combined effect is shown in Fig. 4.7(b). Here, a ramp is shown in 16 steps from gray-level 0 to gray-level 255. 17
  • 18. Gamma correctionGamma correction  A more careful definition of gamma recognizes that a simple power law would result in an infinite derivative at zero voltage makes constructing a circuit to accomplish gamma correction difficult to devise in analog. 18
  • 20. Color-Matching FunctionsColor-Matching Functions  A color can be specified as the sum of three color .So colors form a 3 dimensional vector space .  The amounts of R, G, and B the subject selects to match each single-wavelength light forms the color-matching curves .These are denoted  The negative value indicates that some colors cannot be exactly produced by adding up the primaries. 20
  • 21. CIE chromaticity diagramCIE chromaticity diagram  Since the r(λ) color-matching curve has a negative lobe, a set of fictitious primaries were devised that lead to color-matching functions with only positives values.  (a) The resulting curves are shown in Fig. 4.10;,these are usually referred to as the color-matching functions.  (b) They are a 3 *3 matrix away from curves, and are denoted x(λ),y(λ),z(λ).  (c) The matrix is chosen such that the middle standard color-matching function y(λ) exactly equals the luminous-efficiency curve V (λ) shown in Fig. 4.3. 21
  • 22. CIE chromaticity diagramCIE chromaticity diagram  For a general SPD E(λ), the essential colorimetric information required to characterize a color is the set of tristimulus values X, Y , Z defined in analogy to (Eq. 4.1) as(Y == luminance): * from Eq(4.6) increasing the brightness of illumination increases tristimulus value by scalar multiple  3D data is difficult to visualize, so the CIE devised a 2D diagram based on the values of (X,Y,Z) triples implied by the curves in Fig. 4.10. 22
  • 23. CIE chromaticity diagramCIE chromaticity diagram We go to 2D by factoring out the magnitude of vectors (X,Y,Z); we could divide by , but instead we divide by the sum X +Y +Z to make the chromaticity: This effectively means that one value out of the set (x, y , z)is redundant since we have 23
  • 24. CIE chromaticity diagramCIE chromaticity diagram 24 Effectively, we are projecting each tristimulus vector (X,Y,Z) onto the plane connecting points (1,0, 0), (0,1,0), and (0,0,1). Fig. 4.11 shows the locus of points for monochromatic light
  • 25. CIE chromaticity diagramCIE chromaticity diagram  (a) The color matching curves each add up to the same value the area under each curve is the same for each of x(λ),y(λ),z(λ).  (b) For an E(λ) = 1 for all ,λ an “equi-energy white light" chromaticity values are (1l3,1l3). Fig. 4.11 displays a typical actual white point in the middle of the diagram.  (c) Since , all possible chromaticity values lie below the dashed diagonal line in (Fig. 4.11). 25
  • 26. Color monitor specificationsColor monitor specifications • Color monitors are specified in part by the white point chromaticity that is desired if the RGB electron guns are all activated at their highest value . • We want the monitor to display a specified white when R`=G`=B`=1 Out –of –Gamut colors  For any (x,y) pair we wish to find that RGB triple giving the specified (x, y,z): We form the z values for the phosphors , via z = 1 x y− − and solve for RGB from the phosphor chromaticities.  We combine nonzero values of R, G, and B via 26
  • 27. Out –of –Gamut colorsOut –of –Gamut colors  If (x y) [color without magnitude] is specified, instead of derived as above, we have to invert the matrix of phosphor (x, y, z) values to obtain RGB.  What do we do if any of the RGB numbers is negative? that color, visible to humans, is out-of-gamut for our display. 1. One method: simply use the closest in-gamut color available, as in Fig. 4.13. 2. Another approach: select the closest complementary color. 27
  • 28. 28
  • 29. Out –of –Gamut colorsOut –of –Gamut colors  Grassman's Law: (Additive) color matching is linear. This means that if we match color1 with a linear combinations of lights and match color2 with another set of weights, the combined color color1+color2 is matched by the sum of the two sets of weights.  Additive color results from self-luminous sources, such as lights projected on a white screen, or the phosphors glowing on the monitor glass. (Subtractive color applies for printers, and is very different). 29
  • 30. White point correctionWhite point correction  Problems:  One deficiency in what we have done so far is that we need to be able to map tristimulus values XY Z to device RGBs including magnitude, and not just deal with chromaticity xyz.  To correct both problems, take the white point magnitude of Y as unity: Y (white point) = 1 (4:11)  Now we need to find a set of three correction factors such that if the gains of the three electron guns are multiplied by these values we get exactly the white point XY Z value at R = G = B = 1.  Suppose the matrix of phosphor chromaticities xr; xg ; ::: etc. in Eq. (4.10) is called M . We can express the correction as a diagonal matrix D = diag (d1; d2; d3) such that XY Z white M D (1, 1,1)T (4:12) 30
  • 31. XYZ to RGB transformXYZ to RGB transform To transform XYZ to RGB calculate the linear RGB required ,by inverting the equ. then make nonlinear signals via gamma correction 31
  • 32. Transform with Gamma correctionTransform with Gamma correction  Now the 3 × 3 transform matrix from XYZ to RGB is taken to be T = M D (4:15) 32
  • 33. L*a*b* (CIELAB) Color ModelL*a*b* (CIELAB) Color Model 33
  • 34. L*a*b* (CIELAB) Color ModelL*a*b* (CIELAB) Color Model  A refined CIE model ,named CIE L*a*b in 1979  Luminance : L  Chrominance : a– ranges from green to red, b– ranges from blue to yellow  Used by Photoshop 34
  • 35. More color-coordinate schemesMore color-coordinate schemes  There are several other coordinate schemes in use to describe color as humans perceive it ,whether gamma correction should or not be applied  Schemes include:  a) CMY | Cyan (C), Magenta (M) and Yellow (Y ) color model;  b) HSL | Hue, Saturation and Lightness;  c) HSV | Hue, Saturation and Value;  d) HSI | Hue, Saturation and Intensity;  e) HCI | C=Chroma;  f) HVC | V=Value;  g) HSD | D=Darkness. 35
  • 36. Munsell color naming systemMunsell color naming system The idea is to set up approximately perceptually uniform system of three axes to discuss and specify color. The axes are value(black,white),Hue,chroma. Value divided into 9 steps, hue is in 40 step . The circle’s radius with value. 36
  • 37. Color Models in ImagesColor Models in Images RGB Color Model for Displays  we expect to be able to use 8 bit per color channel for color that is accurate enough. However, in fact we have to use about 12 bits per channel to avoid an aliasing effect in dark image areas __contour bands that result from gamma correction.  For images produced from computer graphics, we store integers pro-portional to intensity in the frame bufer. So should have a gamma correction LUT between the frame bufer and the CRT.  If gamma correction is applied to floats before quantizing to integers, before storage in the frame buffer, then in fact we can use only 8 bits per channel and still avoid contouring artifacts. 37
  • 38. Subtractive Color: CMY Color ModelSubtractive Color: CMY Color Model  So far, we have effectively been dealing only with additive color. Namely, when two light beams impinge on a target, their colors add; when two phosphors on a CRT screen are turned on, their colors add.  for example red phosphor+ green phosphor= yellow phosphor * red, green, and blue primaries, we used in monitor . • subtractive color primaries are Cyan (C), Magenta (M) and Yellow (Y ) inks 38
  • 39. * In subtractive CMY system, black arises from subtractive all the light by laying down inks with C=M=Y=1 39
  • 40. Additive and subtractive colorAdditive and subtractive color 40
  • 41. Transformation from RGB to CMYTransformation from RGB to CMY Simplest model we can invent to specify what ink density to lay down on paper, to make a certain desired RGB color: 41
  • 42. Undercolor Removal: CMYK SystemUndercolor Removal: CMYK System  Black ink is in fact cheaper than mixing colored inks to make black, so a simple approach to producing sharper printer color , remove it from the color proportions and add it back as real this is called “undercolor removal” calculate that The new specification of inks is thus: 42
  • 43.  Actual transmission curves overlap for the C, M, Y inks. This leads to “crosstalk” between the color channels and difficulties in predicting colors achievable in printing. 43 Printer GamutsPrinter Gamuts
  • 44.  Video Color Transforms (a) Largely derive from older analog methods of coding color for TV . Luminance is separated from color information. (b) This coding also makes its way into VHS ( VIDEO HOME SYSTEM) video tape coding in these countries since video tape technologies also use YIQ. (c) In Europe, video tape uses the PAL or ECAM coding which are based on TV that uses a matrix transform called YUV. 44 Color models in videoColor models in video
  • 45. YUV Color ModelYUV Color Model • Human perception is more sensitive to luminance (brightness )than chrominance (color) . Therefore instead of separating colors on can separate the brightness information from the color information Y is luminance • Y=0.299R+ 0.587G+0.114B • Chrominance is defined as the difference between a color and a reference white at the same luminance it can be represented by U and V the color differences U=B`-Y` V=R`-Y` 45
  • 46. • Eye is most sensitive to Y. therefore any error in the resolution of the luminance (Y) is more important the chrominance (U,V) values. • In PAL,5(OR 5.5)MHz is allocated to Y ,1,3 MHz to U and V 46 YUV Color ModelYUV Color Model
  • 47. 47
  • 48. YIQ Color ModelYIQ Color Model  YIQ is used in NTSC color TV broadcasting. Again, gray pixels generate zero (I,Q) chrominance signal. Although U and V nicely define the color differences . They do not align with the desired human perceptual color sensitivities. Hence , I and Q are used instead  (a) I and Q are a rotated version of U and V . 48
  • 49. YIQ Color ModelYIQ Color Model (b) Y ' in YIQ is the same as in YUV,U and V are rotated by 33: (c) This leads to the following matrix transform: 49
  • 50. YIQ Color ModelYIQ Color Model (d) Fig. 4.19 shows the decomposition of the same color image as a bove,into YIQ components. 50
  • 51. YCbCr Color ModelYCbCr Color Model  The Rec. 601 standard for digital video uses another color space, Y CbCr, often simply written YCbCr -- closely related to the YUV transform. (a) YUV is changed by scaling such that Cb is U, but with a coefficient of 0.5 multiplying B'. In some software systems, Cb and Cr are also shifted such that values are between 0 and 1. (b) This makes the equations as follows: 51
  • 52.  (d) In practice, however, Recommendation 601 species 8- bit coding, with a maximum Y ' value of only 219, and a minimum of +16. Cb and Cr have a range of -+112 and offset of +128. If R', G', B‘ are floats in [0..+ 1], then we obtain Y ', Cb, C rin [0.. 255] via the transform: 52
  • 53. YCbCr Color ModelYCbCr Color Model (f) The YCbCr transform is used in JPEG image compression and MPEG video compression. 53

Editor's Notes

  1. ان الالوان المعرفه بالثلاثية المعرفه (ص ش ض) او (ص ش ق ) تعتمد على الالوان الاحمر واخضر والازرق للجهاز او الفضاء اللوني الخاص وعلى تصحيح كاما (gamma correction) المستخدم لتمثيل كميات من الالوان الاولية *The RGB numbers in an image file are converted back to analog and dlive the electron guns in the cathode ray tube (CRT). Electrons are emitted proportional to the dliving voltage, and we would like to have the CRT system produce light linearly related to the voltage. Unfortunately, it turns out that this is not the case. The light emitted is actually roughly proportional to the voltage raised to a power; this power is called "gamma", with symbol y.
  2. CIE defined three standard primaries (X,Y,Z). The Y primary was intentionally chosen to be identical to the luminous-efficiency function of human eyes.
  3. Grassmans law: additive color matching is linear .this means that if we match color1 with a linear combinations of lights and match color2 with another set of weights the combined color color1=color2 is matched by the sum of the tow sets of weights. * Additive color result from self –luminous source