SlideShare a Scribd company logo
3
Most read
7
Most read
9
Most read
Linear Combination In Color Model
Prepared by:
Md. Washim (2015-3-60-032)
Sharmin Sultana Koly (2015-3-65-010)
Sheikh Aminul Islam (2015-3-65-013)
Introduction
The project was given as the review of the
course “Linear Algebra and Complex Variable” to
show the output of the course learning and
utilizing. Our project is about to show the use of
Linear combination to solve problems.
Linear Combination
In mathematics, a linear combination is an
expression constructed from a set of terms by
multiplying each term by a constant and adding
the results (e.g. a linear combination of u and v
would be any expression of the form k1u + k2v,
where u and v are constants).
Color Model
A color model is a system for creating a full
range of colors from a small set of primary
colors. There are two types of color models:
1. Additive color models use light to display
color. Example: RGB colors used in software UI
designing.
2. Subtractive color models uses printing inks.
Example: CMYK colors used in modern printers.
RGB (Used in Electronic Media)
CMYK (Used in Print Media)
RGB (Additive color model)
In computer, RGB color is usually stored as a triplet of
integer numbers in the range 0 to 255.
(255,0,0) is Red
(0, 255,0) is Green
(0,0, 255) is Blue
We can view those colors as the vectors in 3D space
having those components.
Any other color is obtained as a linear combination of
these basic colors.
Linear Combination in RGB
Let’s take these three colors as three vectors,
r for Red
g for Green
b for Blue
Then the Linear Combination w is,
w = k1r + k2g + k3b
Where k1, k2, k3 are three scalars.
Now, If we take components as, r = (255,0,0), g =
(0,255,0), b = (0,0,255)
For k1 = 0.6, k2 = 0 and k3 = 0.8 the Linear
combination is,
w = 0.6 (255, 0, 0) + 0 (0, 255, 0) + 0.8 (0, 0, 255)
= (153, 0, 204)
This linear combination of 3 colors form Purple color.
Linear Combination In Color Model
Linear Combination in CMYK
Let’s take these four colors as four vectors:
c for Cyan
m for Magenta
y for Yellow
k for key (Black)
Then the Linear Combination w is,
w = n1c + n2m + n3y + n4k
Where n1, n2, n3 and n4 are three scalars.
Now, If we take components as, c = (100, 0, 0, 0), m =
(0, 100, 0, 0), y = (0, 0, 100, 0), k = (0, 0, 0, 100)
For n1 = 0.5, n2 = 0.3, n3 = 0 and n4 = 0.05 the Linear
combination is,
w = 0.5 (100, 0, 0, 0) + 0.3 (0, 100, 0, 0) + 0 (0, 0, 100,
0) + 0.05 (0, 0, 0, 100)
= (50, 30, 0, 5)
This linear combination of 4 colors form Sky Blue
color.
Linear Combination In Color Model
Conclusion
From this course “Linear Algebra and Complex
Variables” we have learnt a lot of things which are used
in our real life in various ways. Doing this project, we
could feel the reality of mathematics and hopefully we
will use the other methods learnt from this course and
try to solve harder problem in our real life.

More Related Content

PDF
Computer Graphics C Version - Hearn & Baker.pdf
PPTX
Color Models
PDF
2. Linear Algebra for Machine Learning: Basis and Dimension
PPTX
Digital Image Fundamentals
PDF
Eigen value and eigen vectors shwetak
PPTX
Color models
PDF
Curves and surfaces
PPTX
Probabilistic Retrieval Models - Sean Golliher Lecture 8 MSU CSCI 494
Computer Graphics C Version - Hearn & Baker.pdf
Color Models
2. Linear Algebra for Machine Learning: Basis and Dimension
Digital Image Fundamentals
Eigen value and eigen vectors shwetak
Color models
Curves and surfaces
Probabilistic Retrieval Models - Sean Golliher Lecture 8 MSU CSCI 494

What's hot (20)

PDF
Image Indexing and Retrieval
DOCX
The Digital Image Processing Q@A
PDF
Matrices and determinants
PPTX
Rgb and Cmy color model
PPSX
Image Enhancement in Spatial Domain
PPT
Hidden lines & surfaces
PPTX
Edge detection.pptx
PPT
3 intensity transformations and spatial filtering slides
PPTX
Ray tracing
PDF
Mathematical Analysis of Tetrahedron (dihedral angles between the consecutive...
PDF
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
PPTX
3 D transformation translation, scaling
PPTX
Multimedia basic video compression techniques
PPT
Computer animation
PPT
Multimedia color in image and video
PPTX
Polar Curves
PDF
1. Linear Algebra for Machine Learning: Linear Systems
PPTX
Visual cryptography
Image Indexing and Retrieval
The Digital Image Processing Q@A
Matrices and determinants
Rgb and Cmy color model
Image Enhancement in Spatial Domain
Hidden lines & surfaces
Edge detection.pptx
3 intensity transformations and spatial filtering slides
Ray tracing
Mathematical Analysis of Tetrahedron (dihedral angles between the consecutive...
4. Linear Algebra for Machine Learning: Eigenvalues, Eigenvectors and Diagona...
3 D transformation translation, scaling
Multimedia basic video compression techniques
Computer animation
Multimedia color in image and video
Polar Curves
1. Linear Algebra for Machine Learning: Linear Systems
Visual cryptography
Ad

Similar to Linear Combination In Color Model (19)

PPTX
Rgb & cmy(k) color model
PPTX
RGB & CMYK Color Model
PPT
13807341.ppt
PPTX
Colormodels
PPTX
Rgb and cmy color model
PPTX
Color models
PPTX
Rgb colour model
PPTX
RGB and CMY based color model
PPTX
Computer graphices presentation
PPTX
Color Model presentation for data (2).pptx
PPTX
"Color model" Slide for Computer Graphics Presentation
PPTX
Color Models Computer Graphics
PPTX
PPT
CS 354 Understanding Color
PDF
Understanding the arithmetic of color
PPTX
PPTX
RGB to CMY Conversions
PPT
lecture3 color representation in computer graphics(Computer graphics tutorials)
PDF
Retooling of Color Imaging in ihe Quaternion Algebra
Rgb & cmy(k) color model
RGB & CMYK Color Model
13807341.ppt
Colormodels
Rgb and cmy color model
Color models
Rgb colour model
RGB and CMY based color model
Computer graphices presentation
Color Model presentation for data (2).pptx
"Color model" Slide for Computer Graphics Presentation
Color Models Computer Graphics
CS 354 Understanding Color
Understanding the arithmetic of color
RGB to CMY Conversions
lecture3 color representation in computer graphics(Computer graphics tutorials)
Retooling of Color Imaging in ihe Quaternion Algebra
Ad

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Machine Learning_overview_presentation.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
cuic standard and advanced reporting.pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
NewMind AI Weekly Chronicles - August'25-Week II
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Assigned Numbers - 2025 - Bluetooth® Document
Chapter 3 Spatial Domain Image Processing.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Review of recent advances in non-invasive hemoglobin estimation
Machine Learning_overview_presentation.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
A comparative analysis of optical character recognition models for extracting...
Advanced methodologies resolving dimensionality complications for autism neur...
Digital-Transformation-Roadmap-for-Companies.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton

Linear Combination In Color Model

  • 1. Linear Combination In Color Model Prepared by: Md. Washim (2015-3-60-032) Sharmin Sultana Koly (2015-3-65-010) Sheikh Aminul Islam (2015-3-65-013)
  • 2. Introduction The project was given as the review of the course “Linear Algebra and Complex Variable” to show the output of the course learning and utilizing. Our project is about to show the use of Linear combination to solve problems.
  • 3. Linear Combination In mathematics, a linear combination is an expression constructed from a set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of u and v would be any expression of the form k1u + k2v, where u and v are constants).
  • 4. Color Model A color model is a system for creating a full range of colors from a small set of primary colors. There are two types of color models: 1. Additive color models use light to display color. Example: RGB colors used in software UI designing. 2. Subtractive color models uses printing inks. Example: CMYK colors used in modern printers.
  • 5. RGB (Used in Electronic Media)
  • 6. CMYK (Used in Print Media)
  • 7. RGB (Additive color model) In computer, RGB color is usually stored as a triplet of integer numbers in the range 0 to 255. (255,0,0) is Red (0, 255,0) is Green (0,0, 255) is Blue We can view those colors as the vectors in 3D space having those components. Any other color is obtained as a linear combination of these basic colors.
  • 8. Linear Combination in RGB Let’s take these three colors as three vectors, r for Red g for Green b for Blue Then the Linear Combination w is, w = k1r + k2g + k3b Where k1, k2, k3 are three scalars.
  • 9. Now, If we take components as, r = (255,0,0), g = (0,255,0), b = (0,0,255) For k1 = 0.6, k2 = 0 and k3 = 0.8 the Linear combination is, w = 0.6 (255, 0, 0) + 0 (0, 255, 0) + 0.8 (0, 0, 255) = (153, 0, 204) This linear combination of 3 colors form Purple color.
  • 11. Linear Combination in CMYK Let’s take these four colors as four vectors: c for Cyan m for Magenta y for Yellow k for key (Black) Then the Linear Combination w is, w = n1c + n2m + n3y + n4k Where n1, n2, n3 and n4 are three scalars.
  • 12. Now, If we take components as, c = (100, 0, 0, 0), m = (0, 100, 0, 0), y = (0, 0, 100, 0), k = (0, 0, 0, 100) For n1 = 0.5, n2 = 0.3, n3 = 0 and n4 = 0.05 the Linear combination is, w = 0.5 (100, 0, 0, 0) + 0.3 (0, 100, 0, 0) + 0 (0, 0, 100, 0) + 0.05 (0, 0, 0, 100) = (50, 30, 0, 5) This linear combination of 4 colors form Sky Blue color.
  • 14. Conclusion From this course “Linear Algebra and Complex Variables” we have learnt a lot of things which are used in our real life in various ways. Doing this project, we could feel the reality of mathematics and hopefully we will use the other methods learnt from this course and try to solve harder problem in our real life.