SlideShare a Scribd company logo
1 of 14
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 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.
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

What's hot

Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring Darwish Ahmad
 
RGB & CMYK Color Model
RGB & CMYK Color ModelRGB & CMYK Color Model
RGB & CMYK Color ModelAsifShahariar1
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformationAnkit Garg
 
Color
ColorColor
ColorFNian
 
Cylindrical and Spherical Coordinates System
Cylindrical and Spherical Coordinates SystemCylindrical and Spherical Coordinates System
Cylindrical and Spherical Coordinates SystemJezreel David
 
Circle and sphere
Circle and sphereCircle and sphere
Circle and sphereChong Teo
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary ExtractionMaria Akther
 
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010Matematik kertas-1-2-ppt-tingkatan-3-perak-2010
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010noorulshuhadah
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsJaydev Kishnani
 

What's hot (20)

GRPHICS06 - Shading
GRPHICS06 - ShadingGRPHICS06 - Shading
GRPHICS06 - Shading
 
Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring Introduction to Graph and Graph Coloring
Introduction to Graph and Graph Coloring
 
Thomas Calculus Chp 12
Thomas Calculus Chp 12Thomas Calculus Chp 12
Thomas Calculus Chp 12
 
RGB & CMYK Color Model
RGB & CMYK Color ModelRGB & CMYK Color Model
RGB & CMYK Color Model
 
Hamilton path and euler path
Hamilton path and euler pathHamilton path and euler path
Hamilton path and euler path
 
Golden Section method
Golden Section methodGolden Section method
Golden Section method
 
Trigonometry
TrigonometryTrigonometry
Trigonometry
 
Window to viewport transformation
Window to viewport transformationWindow to viewport transformation
Window to viewport transformation
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Color
ColorColor
Color
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
Cylindrical and Spherical Coordinates System
Cylindrical and Spherical Coordinates SystemCylindrical and Spherical Coordinates System
Cylindrical and Spherical Coordinates System
 
Circle and sphere
Circle and sphereCircle and sphere
Circle and sphere
 
Boundary Extraction
Boundary ExtractionBoundary Extraction
Boundary Extraction
 
Coordinate system
Coordinate systemCoordinate system
Coordinate system
 
graph theory
graph theory graph theory
graph theory
 
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010Matematik kertas-1-2-ppt-tingkatan-3-perak-2010
Matematik kertas-1-2-ppt-tingkatan-3-perak-2010
 
Trigonometry presentation
Trigonometry presentationTrigonometry presentation
Trigonometry presentation
 
Python Open CV
Python Open CVPython Open CV
Python Open CV
 
Maths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectorsMaths-->>Eigenvalues and eigenvectors
Maths-->>Eigenvalues and eigenvectors
 

Similar to Linear Combination In Color Model

Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptxAntu Chowdhury
 
Retooling of Color Imaging in ihe Quaternion Algebra
Retooling of Color Imaging in ihe Quaternion AlgebraRetooling of Color Imaging in ihe Quaternion Algebra
Retooling of Color Imaging in ihe Quaternion Algebramathsjournal
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRAmathsjournal
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1Deepak John
 
A study on number theory and its applications
A study on number theory and its applicationsA study on number theory and its applications
A study on number theory and its applicationsItishree Dash
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equationsHazel Joy Chong
 
CIV1900 Matlab - Plotting & Coursework
CIV1900 Matlab - Plotting & CourseworkCIV1900 Matlab - Plotting & Coursework
CIV1900 Matlab - Plotting & CourseworkTUOS-Sam
 
Linear Algebra PowerPoint
Linear Algebra PowerPointLinear Algebra PowerPoint
Linear Algebra PowerPointAshley Carter
 
Digital Communication Assignment Help
Digital Communication Assignment HelpDigital Communication Assignment Help
Digital Communication Assignment HelpEdu Assignment Help
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfnagwaAboElenein
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRAmathsjournal
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRAmathsjournal
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRAmathsjournal
 
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...Combining Generative And Discriminative Classifiers For Semantic Automatic Im...
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...CSCJournals
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and RepresentationAmnaakhaan
 
Curve_Fitting.pdf
Curve_Fitting.pdfCurve_Fitting.pdf
Curve_Fitting.pdfIrfan Khan
 

Similar to Linear Combination In Color Model (20)

Color Image Processing.pptx
Color Image Processing.pptxColor Image Processing.pptx
Color Image Processing.pptx
 
Retooling of Color Imaging in ihe Quaternion Algebra
Retooling of Color Imaging in ihe Quaternion AlgebraRetooling of Color Imaging in ihe Quaternion Algebra
Retooling of Color Imaging in ihe Quaternion Algebra
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
 
H045064549
H045064549H045064549
H045064549
 
Module 1 number systems and code1
Module 1  number systems and code1Module 1  number systems and code1
Module 1 number systems and code1
 
Lec-04 Image Enhancement II.ppt
Lec-04 Image Enhancement II.pptLec-04 Image Enhancement II.ppt
Lec-04 Image Enhancement II.ppt
 
A study on number theory and its applications
A study on number theory and its applicationsA study on number theory and its applications
A study on number theory and its applications
 
Lecture 07 graphing linear equations
Lecture 07 graphing linear equationsLecture 07 graphing linear equations
Lecture 07 graphing linear equations
 
CIV1900 Matlab - Plotting & Coursework
CIV1900 Matlab - Plotting & CourseworkCIV1900 Matlab - Plotting & Coursework
CIV1900 Matlab - Plotting & Coursework
 
Linear Algebra PowerPoint
Linear Algebra PowerPointLinear Algebra PowerPoint
Linear Algebra PowerPoint
 
Lecture50
Lecture50Lecture50
Lecture50
 
Digital Communication Assignment Help
Digital Communication Assignment HelpDigital Communication Assignment Help
Digital Communication Assignment Help
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Lec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdfLec_2_Digital Image Fundamentals.pdf
Lec_2_Digital Image Fundamentals.pdf
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
 
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRARETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
RETOOLING OF COLOR IMAGING IN THE QUATERNION ALGEBRA
 
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...Combining Generative And Discriminative Classifiers For Semantic Automatic Im...
Combining Generative And Discriminative Classifiers For Semantic Automatic Im...
 
Image Acquisition and Representation
Image Acquisition and RepresentationImage Acquisition and Representation
Image Acquisition and Representation
 
Curve_Fitting.pdf
Curve_Fitting.pdfCurve_Fitting.pdf
Curve_Fitting.pdf
 

Recently uploaded

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityVictorSzoltysek
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....rightmanforbloodline
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaWSO2
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
TEST BANK For Principles of Anatomy and Physiology, 16th Edition by Gerard J....
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 

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.
  • 10.
  • 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.
  • 13.
  • 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.