SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
COLOR IMAGE
PROCESSING
Roadmap
2
Image
Acquisition
Image
Enhancement
Image
Restoration
Image
Compression
Image
Segmentation
Representation
& Description
Recognition &
Interpretation
Knowledge Base
Preprocessing – low level
Image
Coding
Morphological
Image Processing
Wavelet
Analysis
Color spectrum
3
 When passing through a prism, a beam of sunlight is
decomposed into a spectrum of colors: violet, blue,
green, yellow, orange, red
 1666, Sir Isaac Newton
Electromagnetic energy spectrum
4
 Ultraviolet  visible light  infrared
 The longer the wavelength (meter), the lower the frequency (Hz), and
the lower the energy (electron volts)
 The discovery of infrared (1800, Sir Frederick William Herschel)
 What is infrared?
http://coolcosmos.ipac.caltech.edu/cosmic_classroom/ir_tutorial/
Hyperspectral imaging
5
 AVIRIS (Airborne Visible-Infrared Imaging Spectrometer)
 Number of bands: 224
 Wavelength range (mm): 0.4-2.5
 Image size: 512 x 614
 Spectral range
 visible light (0.4 ~ 0.77mm)
 near infrared (0.77 ~ 1.5mm)
 medium infrared (1.5 ~ 6mm)
 far infrared (6 ~ 40mm)
Some questions
6
 What does it mean when we say an object is in a
certain color?
 Why are the primary colors of human vision red,
green, and blue?
 Is it true that different portions of red, green, and
blue can produce all the visible color?
 What kind of color model is the most suitable one to
describe human vision?
Primary colors of human vision
7
 Cones are divided into three sensible
categories
 65% of cones are sensitive to red light
 33% are sensitive to green light
 2% are sensitive to blue light
 For this reason, red, green, and blue are
referred to as the primary colors of
human vision. CIE standard designated
three specific wavelength to these three
colors in 1931.
 Red (R) = 700 nm
 Green (G) = 546.1 nm
 Blue (B) = 435.8 nm
Detailed experimental
Curve available in 1965
Detailed experimental
curve available in 1965
Some clarifications
8
 No single color may be called red, green, or blue.
 R, G, B are only specified by standard.
Secondary colors
9
 Magenta (R + B)
 Cyan (G + B)
 Yellow (R + G)
Primary colors of pigment
10
 A primary color of pigment refers to one
that absorbs the primary color of the light,
but reflects the other two.
 Primary color of pigments are magenta,
cyan, and yellow
 Secondary color of pigments are then red,
green, and blue
11
Additive vs. Subtractive color system
 involves light emitted directly
from a source
 mixes various amounts of red,
green and blue light to produce
other colors.
 Combining one of these
additive primary colors with
another produces the additive
secondary colors cyan,
magenta, yellow.
 Combining all three primary
colors produces white.
 Subtractive color starts with an
object that reflects light and
uses colorants to subtract
portions of the white light
illuminating an object to
produce other colors.
 If an object reflects all the
white light back to the viewer, it
appears white.
 If an object absorbs (subtracts)
all the light illuminating it, it
appears black.
12
Color characterization
13
 Brightness: chromatic notion of intensity
 Hue: dominant color perceived by an observer
 Saturation: relative purity or the amount of
white mixed with a hue
R
G
B
H
S
0o
120o
240o
Some clarifications
14
 So when we call an object red, orange, etc. we
refer to its hue
Chromaticity
15
 Chromaticity: hue +
saturation
 Tristimulus: the amount
of R, G, B needed to
form any color (X, Y, Z)
 Trichromatic coefficients:
x, y, z
1=++
++
=
++
=
++
=
zyx
ZYX
Z
z
ZYX
Y
y
ZYX
X
x
Chromaticity diagram
16
Specifying colours systematically can be achieved using
the CIE chromacity diagram
On this diagram the x-axis represents the proportion of
red and the y-axis represents the proportion of red
used
The proportion of blue used in a colour is calculated as:
z = 1 – (x + y)
Chromaticity diagram
17
This means the entire
colour range cannot be
displayed based on any
three colours
The triangle shows the
typical colour gamut
produced by RGB
monitors
The strange shape is the
gamut achieved by high
quality colour printers
18
Color models
19
 RGB model
 Color monitor, color video cameras
 CMY model
 Color printers
 HSI model
 Color image manipulation
RGB model
20
 Color monitor, color video cameras
(additive color system)
 Pixel depth – nr of bits used to represent
each pixel
 Full color image (24 bits)
RGB
21
CMY model
22
 Color printers and copiers (subtractive color system)
 CMYK color model
 Four color printing
 Deposit colored pigment on paper
ú
ú
ú
û
ù
ê
ê
ê
ë
é
-
ú
ú
ú
û
ù
ê
ê
ê
ë
é
=
ú
ú
ú
û
ù
ê
ê
ê
ë
é
B
G
R
Y
M
C
1
1
1
HSI model
23
 The intensity component (I) is decoupled from the
color components (H and S)
 Ideal for developing image processing algorithms
 H and S are closely related to the way human visual
system perceives colors
Hue and Saturation
24
Hue, Saturation, Intensity
25
RGB-to-HSI conversion
26
 
 
    
    






















BG
BG
H
BGBRGR
BRGR
BGR
I
S
BGRI
2
2
1
cos
],,[min
3
1
3
1
2
1



Given a color as R, G, and B its H, S, and I values are
calculated as follows
HSI-to-RGB conversion (*)
27
 Given a color as H, S, and I it’s R, G, and B values are
calculated as follows:
 -RG sector (0o <= H < 120o)
 -GB sector 120o <= H < 240o
 For 240o <= H < 360o
 
    )(3,1,
60cos
cos
1 BRIGSIB
H
HS
IR 






 
 
    )(3,1,
180cos
120cos
1 GRIBSIR
H
HS
IG 







 

 
    )(3,1,
300cos
240cos
1 BGIRSIG
H
HS
IB 







 


Weitere ähnliche Inhalte

Was ist angesagt?

03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIPbabak danyal
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation modelAnupriyaDurai
 
Intensity Transformation
Intensity TransformationIntensity Transformation
Intensity TransformationAmnaakhaan
 
Image Restoration
Image RestorationImage Restoration
Image RestorationPoonam Seth
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformationsYahya Alkhaldi
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point ProcessingGayathri31093
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processingAnuj Arora
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial DomainA B Shinde
 
Transform coding
Transform codingTransform coding
Transform codingNancy K
 
Lecture 15 DCT, Walsh and Hadamard Transform
Lecture 15 DCT, Walsh and Hadamard TransformLecture 15 DCT, Walsh and Hadamard Transform
Lecture 15 DCT, Walsh and Hadamard TransformVARUN KUMAR
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 

Was ist angesagt? (20)

03 digital image fundamentals DIP
03 digital image fundamentals DIP03 digital image fundamentals DIP
03 digital image fundamentals DIP
 
Image restoration and degradation model
Image restoration and degradation modelImage restoration and degradation model
Image restoration and degradation model
 
Intensity Transformation
Intensity TransformationIntensity Transformation
Intensity Transformation
 
Image Restoration
Image RestorationImage Restoration
Image Restoration
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
 
Image compression .
Image compression .Image compression .
Image compression .
 
Image Enhancement - Point Processing
Image Enhancement - Point ProcessingImage Enhancement - Point Processing
Image Enhancement - Point Processing
 
Spatial filtering using image processing
Spatial filtering using image processingSpatial filtering using image processing
Spatial filtering using image processing
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image compression
Image compression Image compression
Image compression
 
Image compression
Image compressionImage compression
Image compression
 
Transform coding
Transform codingTransform coding
Transform coding
 
Lecture 15 DCT, Walsh and Hadamard Transform
Lecture 15 DCT, Walsh and Hadamard TransformLecture 15 DCT, Walsh and Hadamard Transform
Lecture 15 DCT, Walsh and Hadamard Transform
 
Bit plane coding
Bit plane codingBit plane coding
Bit plane coding
 
Color image processing
Color image processingColor image processing
Color image processing
 
COM2304: Color and Color Models
COM2304: Color and Color ModelsCOM2304: Color and Color Models
COM2304: Color and Color Models
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Run length encoding
Run length encodingRun length encoding
Run length encoding
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
03 image transform
03 image transform03 image transform
03 image transform
 

Ähnlich wie Color models in Digitel image processing

Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingAmna
 
Color image processing
Color image processingColor image processing
Color image processingrmsurya
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.pptPapajuvvanapudi
 
Question bank for students.pdf
Question bank for students.pdfQuestion bank for students.pdf
Question bank for students.pdfNehaVerma258827
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxEveCarolino
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processingkiruthiammu
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESEzhilya venkat
 
Introduction to Color Science for display engineer
Introduction to Color Science for display engineerIntroduction to Color Science for display engineer
Introduction to Color Science for display engineerBrian Kim, PhD
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphicsdhruv141293
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processingasodariyabhavesh
 
10 color image processing
10 color image processing10 color image processing
10 color image processingbabak danyal
 
06 color image processing
06 color image processing06 color image processing
06 color image processingJaiverdhan .
 

Ähnlich wie Color models in Digitel image processing (20)

Lect 06
Lect 06 Lect 06
Lect 06
 
ch1ip.ppt
ch1ip.pptch1ip.ppt
ch1ip.ppt
 
Color fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image ProcessingColor fundamentals and color models - Digital Image Processing
Color fundamentals and color models - Digital Image Processing
 
Color image processing
Color image processingColor image processing
Color image processing
 
Color image processing.ppt
Color image processing.pptColor image processing.ppt
Color image processing.ppt
 
Question bank for students.pdf
Question bank for students.pdfQuestion bank for students.pdf
Question bank for students.pdf
 
Color-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptxColor-in-Digital-Image-Processing.pptx
Color-in-Digital-Image-Processing.pptx
 
Color Image Processing
Color Image ProcessingColor Image Processing
Color Image Processing
 
Image processing tatorial
Image processing tatorialImage processing tatorial
Image processing tatorial
 
colorimage
colorimagecolorimage
colorimage
 
DIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTESDIGITAL IMAGE PROCESSING - LECTURE NOTES
DIGITAL IMAGE PROCESSING - LECTURE NOTES
 
lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)lecture3 color representation in computer graphics(Computer graphics tutorials)
lecture3 color representation in computer graphics(Computer graphics tutorials)
 
About Color
About ColorAbout Color
About Color
 
Colormodels
ColormodelsColormodels
Colormodels
 
Introduction to Color Science for display engineer
Introduction to Color Science for display engineerIntroduction to Color Science for display engineer
Introduction to Color Science for display engineer
 
Color Models Computer Graphics
Color Models Computer GraphicsColor Models Computer Graphics
Color Models Computer Graphics
 
Chapter 6 color image processing
Chapter 6 color image processingChapter 6 color image processing
Chapter 6 color image processing
 
M4L1.ppt
M4L1.pptM4L1.ppt
M4L1.ppt
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
06 color image processing
06 color image processing06 color image processing
06 color image processing
 

Kürzlich hochgeladen

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
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
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
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
 
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
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 

Kürzlich hochgeladen (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
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...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
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...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

Color models in Digitel image processing

  • 3. Color spectrum 3  When passing through a prism, a beam of sunlight is decomposed into a spectrum of colors: violet, blue, green, yellow, orange, red  1666, Sir Isaac Newton
  • 4. Electromagnetic energy spectrum 4  Ultraviolet  visible light  infrared  The longer the wavelength (meter), the lower the frequency (Hz), and the lower the energy (electron volts)  The discovery of infrared (1800, Sir Frederick William Herschel)  What is infrared? http://coolcosmos.ipac.caltech.edu/cosmic_classroom/ir_tutorial/
  • 5. Hyperspectral imaging 5  AVIRIS (Airborne Visible-Infrared Imaging Spectrometer)  Number of bands: 224  Wavelength range (mm): 0.4-2.5  Image size: 512 x 614  Spectral range  visible light (0.4 ~ 0.77mm)  near infrared (0.77 ~ 1.5mm)  medium infrared (1.5 ~ 6mm)  far infrared (6 ~ 40mm)
  • 6. Some questions 6  What does it mean when we say an object is in a certain color?  Why are the primary colors of human vision red, green, and blue?  Is it true that different portions of red, green, and blue can produce all the visible color?  What kind of color model is the most suitable one to describe human vision?
  • 7. Primary colors of human vision 7  Cones are divided into three sensible categories  65% of cones are sensitive to red light  33% are sensitive to green light  2% are sensitive to blue light  For this reason, red, green, and blue are referred to as the primary colors of human vision. CIE standard designated three specific wavelength to these three colors in 1931.  Red (R) = 700 nm  Green (G) = 546.1 nm  Blue (B) = 435.8 nm Detailed experimental Curve available in 1965 Detailed experimental curve available in 1965
  • 8. Some clarifications 8  No single color may be called red, green, or blue.  R, G, B are only specified by standard.
  • 9. Secondary colors 9  Magenta (R + B)  Cyan (G + B)  Yellow (R + G)
  • 10. Primary colors of pigment 10  A primary color of pigment refers to one that absorbs the primary color of the light, but reflects the other two.  Primary color of pigments are magenta, cyan, and yellow  Secondary color of pigments are then red, green, and blue
  • 11. 11
  • 12. Additive vs. Subtractive color system  involves light emitted directly from a source  mixes various amounts of red, green and blue light to produce other colors.  Combining one of these additive primary colors with another produces the additive secondary colors cyan, magenta, yellow.  Combining all three primary colors produces white.  Subtractive color starts with an object that reflects light and uses colorants to subtract portions of the white light illuminating an object to produce other colors.  If an object reflects all the white light back to the viewer, it appears white.  If an object absorbs (subtracts) all the light illuminating it, it appears black. 12
  • 13. Color characterization 13  Brightness: chromatic notion of intensity  Hue: dominant color perceived by an observer  Saturation: relative purity or the amount of white mixed with a hue R G B H S 0o 120o 240o
  • 14. Some clarifications 14  So when we call an object red, orange, etc. we refer to its hue
  • 15. Chromaticity 15  Chromaticity: hue + saturation  Tristimulus: the amount of R, G, B needed to form any color (X, Y, Z)  Trichromatic coefficients: x, y, z 1=++ ++ = ++ = ++ = zyx ZYX Z z ZYX Y y ZYX X x
  • 16. Chromaticity diagram 16 Specifying colours systematically can be achieved using the CIE chromacity diagram On this diagram the x-axis represents the proportion of red and the y-axis represents the proportion of red used The proportion of blue used in a colour is calculated as: z = 1 – (x + y)
  • 18. This means the entire colour range cannot be displayed based on any three colours The triangle shows the typical colour gamut produced by RGB monitors The strange shape is the gamut achieved by high quality colour printers 18
  • 19. Color models 19  RGB model  Color monitor, color video cameras  CMY model  Color printers  HSI model  Color image manipulation
  • 20. RGB model 20  Color monitor, color video cameras (additive color system)  Pixel depth – nr of bits used to represent each pixel  Full color image (24 bits)
  • 22. CMY model 22  Color printers and copiers (subtractive color system)  CMYK color model  Four color printing  Deposit colored pigment on paper ú ú ú û ù ê ê ê ë é - ú ú ú û ù ê ê ê ë é = ú ú ú û ù ê ê ê ë é B G R Y M C 1 1 1
  • 23. HSI model 23  The intensity component (I) is decoupled from the color components (H and S)  Ideal for developing image processing algorithms  H and S are closely related to the way human visual system perceives colors
  • 26. RGB-to-HSI conversion 26                                     BG BG H BGBRGR BRGR BGR I S BGRI 2 2 1 cos ],,[min 3 1 3 1 2 1    Given a color as R, G, and B its H, S, and I values are calculated as follows
  • 27. HSI-to-RGB conversion (*) 27  Given a color as H, S, and I it’s R, G, and B values are calculated as follows:  -RG sector (0o <= H < 120o)  -GB sector 120o <= H < 240o  For 240o <= H < 360o       )(3,1, 60cos cos 1 BRIGSIB H HS IR                )(3,1, 180cos 120cos 1 GRIBSIR H HS IG                  )(3,1, 300cos 240cos 1 BGIRSIG H HS IB           