SlideShare a Scribd company logo
1 of 24
HSL & HSV COLOUR MODELS
- SALIL SULEY (66)
DENCIN VAZHAPPILLY (67)
ROHAN VEMULA (68)
VISHNU RC VIJAYAN (69)
SHREE WARANG (70)
MAHESHKUMAR YADAV (71)
HSL COLOUR MODEL
 Hue, saturation and lightness
 Most commonly used cylindrical coordinate system for representing
RED GREEN BLUE color model
 It was developed in 1970 for computer graphics applications, color
pickings and image editing softwares
TERMINOLOGIES
 Hue : The angle around the central vertical axis corresponds to hue
 Saturation : The distance from the central axis corresponds to
saturation. (0%-Grey & 100%-Full sat)
 Lightness :The distance along the central axis corresponds to
lightness. (0%-Black & 100%-White)
PRINCIPLES
 HSL tries to be more intuitive than the general Cartesian color
representation
 HSL helps us to bridge the RGB color model , understood by
computers, to mix colors more like humans do
HSL COLOUR ATTRIBUTES
 Hue:- It refers to pure spectrum of colours, without tint
or shade. colours with same hue are distinguished with
their lightness.eg- light blue
 Saturation:- measurement of how different from pure
grey the colour is perceived saturation depends on the
surrounding in which colour is seen
 Luminosity:-brightness of area judged relative to
brightness of similarly illuminated area which appears to
be bright
HSL SCALE
o Hue is represented as angle of colour circle, given as unit less number.
Red=0=360, Green=120,Blue=240
o Saturation & luminosity is represented in percentage,
o 100% is full saturation
o 0% is shade of grey
o 100% luminosity is white
o 50% luminosity is normal
o 0% luminosity is black
HSL REPRESENTATION
 HSL is represented as two cones within the
cyclinder
LUMINOSIT
Y
SATURATIO
N
100 0
75 33
50 100
25 33
0 0
HSL AND RGB CONVERSION
HSL, HEX AND RGB CO-ORDINATES FOR PROMINENT COLOURS
ADVANTAGES OF HSL
 The HSL model keeps the light and saturation aspects of the color model
unique from each other, it tends to be more useful for those wishing to
take advantage of these attributes in their work
 Light can range from white to black in a HSL model (with the desired
color in between), while the similar HSV color model can only range
from the desired color to black
 It is user-oriented. Therefore colour selection and image colour
adjustment can be done faster with greater ease
DISADVANTAGES
 While choosing a single color, they ignore much of the complexity of
color appearance
 Because hue is a circular quantity, represented numerically with a
discontinuity at 360°, it is difficult to use in statistical computations or
quantitative comparisons
 Analysis requires the use of circular statistics
 Since computational capacity has increased tremendously over the past
few decades, better alternative colour models are available for greater
visual accuracy and perceptual relevance
HSV COLOUR MODEL
 HSV are the most common cylindrical-coordinate representations of
points in an RGB colour model
 HSV stands for hue, saturation, and value
 Hue, Saturation, Value or HSV is a colour model that
describes colours (hue or tint) in terms of their shade (saturation or
amount of gray) and their brightness (value or luminance)
PRINCIPLE
 Cylindrical geometries with hue, their angular dimension, starting at
the red primary at 0°, passing through the green primary at 120° and
the blue primary at 240°, and then wrapping back to red at 360°
 The two representations rearrange the geometry of RGB in an
attempt to be more intuitive and perceptually relevant ,based on the
color wheel
 Saturation (s) of the color ranges from 0 to 100%. Also sometimes,
it called the "purity". The lower the saturation of a color, the more
"grayness" is present and the more faded the color will appear
 Value (v) of the color ranges from 0 to 100%. It is a nonlinear
transfor(v), the brightness mation of the RGB color space. Note that
HSV and HSB are the same
HSV SCALE
 Hue angles: 0=Red, 120=Green, 240=Blue.
 Saturation: 0 at the centre (no saturation, which
makes no real colouring) to 1 at the edge (full
saturated colours).
 Value: From 0 at the bottom (no colour, or black) to
1 at the top.
PROGRAM TO CONVERT RGB TO HSV
// r,g,b values are from 0 to 1
// h = [0,360], s = [0,1], v = [0,1]
// if s == 0, then h = -1 (undefined)
void RGBtoHSV( float r, float g, float b, float *h, float *s, float
*v )
{
float min, max, delta;
min = MIN( r, g, b );
max = MAX( r, g, b );
*v = max; // v
delta = max - min;
if( max != 0 )
*s = delta / max; // s
else {
// r = g = b = 0 // s = 0, v is undefined
*s = 0;
*h = -1;
return;
}
if( r == max )
*h = ( g - b ) / delta; // between yellow
& magenta
else if( g == max )
*h = 2 + ( b - r ) / delta; // between cyan &
yellow
else
*h = 4 + ( r - g ) / delta; // between magenta &
cyan
*h *= 60; // degrees
if( *h < 0 )
*h += 360;
}
REFERENCES
 Websites
1. https://en.wikipedia.org/wiki/HSL_and_HSV
2. www.lps.usp.br/hae/apostila/basico/HSI-wikipedia.pdf
3. www.ics.uci.edu/~majumder/vispercep/colviz.pdf
4. www.slideshare.net/EngHaitham/color-models-42915934

More Related Content

What's hot

Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpeningarulraj121
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksRehan Khan
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics University of Potsdam
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmMaruf Abdullah (Rion)
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filtersA B Shinde
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clippingMani Kanth
 
Basics of pixel neighbor.
Basics of pixel neighbor.Basics of pixel neighbor.
Basics of pixel neighbor.raheel rajput
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarsyedArr
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processingAryan Shivhare
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphicsSafayet Hossain
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingArvind Kumar
 
Region filling
Region fillingRegion filling
Region fillinghetvi naik
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan systemshalinikarunakaran1
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Mani Kanth
 

What's hot (20)

Image enhancement sharpening
Image enhancement  sharpeningImage enhancement  sharpening
Image enhancement sharpening
 
Cohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marksCohen and Sutherland Algorithm for 7-8 marks
Cohen and Sutherland Algorithm for 7-8 marks
 
3d transformation computer graphics
3d transformation computer graphics 3d transformation computer graphics
3d transformation computer graphics
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Lect 06
Lect 06 Lect 06
Lect 06
 
Image Processing: Spatial filters
Image Processing: Spatial filtersImage Processing: Spatial filters
Image Processing: Spatial filters
 
Cohen sutherland line clipping
Cohen sutherland line clippingCohen sutherland line clipping
Cohen sutherland line clipping
 
Basics of pixel neighbor.
Basics of pixel neighbor.Basics of pixel neighbor.
Basics of pixel neighbor.
 
illumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukarillumination model in Computer Graphics by irru pychukar
illumination model in Computer Graphics by irru pychukar
 
Color models in Digitel image processing
Color models in Digitel image processingColor models in Digitel image processing
Color models in Digitel image processing
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
 
sutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clippingsutherland- Hodgeman Polygon clipping
sutherland- Hodgeman Polygon clipping
 
Computer graphics realism
Computer graphics realismComputer graphics realism
Computer graphics realism
 
Region filling
Region fillingRegion filling
Region filling
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...
 
Illumination Models & Shading
Illumination Models & ShadingIllumination Models & Shading
Illumination Models & Shading
 
Image transforms
Image transformsImage transforms
Image transforms
 
Frame buffer
Frame bufferFrame buffer
Frame buffer
 

Similar to HSL & HSV colour models

HSB Color Model Presentation.pdf
HSB Color Model Presentation.pdfHSB Color Model Presentation.pdf
HSB Color Model Presentation.pdfSubhasishHalder11
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics PresentationAshek Shanto
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING anam singla
 
Color model in computer graphics
Color model in computer graphicsColor model in computer graphics
Color model in computer graphicsPuja Dhakal
 
Color image processing
Color image processingColor image processing
Color image processingrmsurya
 
10 color image processing
10 color image processing10 color image processing
10 color image processingbabak danyal
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsxjyoti_lakhani
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessIrsaAamir
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)Vijay Kumar
 
Computer graphics & image processing lecture notes
Computer graphics & image processing lecture notesComputer graphics & image processing lecture notes
Computer graphics & image processing lecture notesTejaRamPooniya
 
Video color correction and more
Video color correction and moreVideo color correction and more
Video color correction and moreJoe Nasr
 
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
 

Similar to HSL & HSV colour models (20)

HSB Color Model Presentation.pdf
HSB Color Model Presentation.pdfHSB Color Model Presentation.pdf
HSB Color Model Presentation.pdf
 
Color models
Color modelsColor models
Color models
 
"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation"Color model" Slide for Computer Graphics Presentation
"Color model" Slide for Computer Graphics Presentation
 
HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING HSI MODEL IN COLOR IMAGE PROCESSING
HSI MODEL IN COLOR IMAGE PROCESSING
 
Color models
Color modelsColor models
Color models
 
Color model in computer graphics
Color model in computer graphicsColor model in computer graphics
Color model in computer graphics
 
Color image processing
Color image processingColor image processing
Color image processing
 
HSV color model
HSV color modelHSV color model
HSV color model
 
10 color image processing
10 color image processing10 color image processing
10 color image processing
 
CG04 Color Models.ppsx
CG04 Color Models.ppsxCG04 Color Models.ppsx
CG04 Color Models.ppsx
 
image-pro.ppt
image-pro.pptimage-pro.ppt
image-pro.ppt
 
Lecnoninecolorspacemodelindigitalimageprocess
LecnoninecolorspacemodelindigitalimageprocessLecnoninecolorspacemodelindigitalimageprocess
Lecnoninecolorspacemodelindigitalimageprocess
 
Colour image processing(fip)
Colour image processing(fip)Colour image processing(fip)
Colour image processing(fip)
 
Computer graphics & image processing lecture notes
Computer graphics & image processing lecture notesComputer graphics & image processing lecture notes
Computer graphics & image processing lecture notes
 
Color Models.pptx
Color Models.pptxColor Models.pptx
Color Models.pptx
 
Color Theory
Color TheoryColor Theory
Color Theory
 
Video color correction and more
Video color correction and moreVideo color correction and more
Video color correction and more
 
Colormodels
ColormodelsColormodels
Colormodels
 
CG_U4_M1.pptx
CG_U4_M1.pptxCG_U4_M1.pptx
CG_U4_M1.pptx
 
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)
 

More from Vishnu RC Vijayan

More from Vishnu RC Vijayan (13)

Procurement and Supply Chain
Procurement and Supply ChainProcurement and Supply Chain
Procurement and Supply Chain
 
Hand Pump Design
Hand Pump DesignHand Pump Design
Hand Pump Design
 
Project management Using Pert
Project management Using PertProject management Using Pert
Project management Using Pert
 
Energy conservation in compressed air systems
Energy conservation in compressed air systemsEnergy conservation in compressed air systems
Energy conservation in compressed air systems
 
Liquefied petroleum gas cylinder
Liquefied petroleum gas cylinderLiquefied petroleum gas cylinder
Liquefied petroleum gas cylinder
 
Mechatronics case study on Wireless Survillence Balloon
Mechatronics case study on Wireless Survillence BalloonMechatronics case study on Wireless Survillence Balloon
Mechatronics case study on Wireless Survillence Balloon
 
Fea course project on Leaf Spring
Fea course project on Leaf SpringFea course project on Leaf Spring
Fea course project on Leaf Spring
 
Bio-gasifier Coupled Engine
Bio-gasifier Coupled EngineBio-gasifier Coupled Engine
Bio-gasifier Coupled Engine
 
Ceramics
CeramicsCeramics
Ceramics
 
shell moulding
shell mouldingshell moulding
shell moulding
 
Anti rape gloves
Anti rape glovesAnti rape gloves
Anti rape gloves
 
Hydroforming
HydroformingHydroforming
Hydroforming
 
Gravity Oscillating mechanism
Gravity Oscillating mechanismGravity Oscillating mechanism
Gravity Oscillating mechanism
 

Recently uploaded

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 

HSL & HSV colour models

  • 1. HSL & HSV COLOUR MODELS - SALIL SULEY (66) DENCIN VAZHAPPILLY (67) ROHAN VEMULA (68) VISHNU RC VIJAYAN (69) SHREE WARANG (70) MAHESHKUMAR YADAV (71)
  • 2. HSL COLOUR MODEL  Hue, saturation and lightness  Most commonly used cylindrical coordinate system for representing RED GREEN BLUE color model  It was developed in 1970 for computer graphics applications, color pickings and image editing softwares
  • 3. TERMINOLOGIES  Hue : The angle around the central vertical axis corresponds to hue  Saturation : The distance from the central axis corresponds to saturation. (0%-Grey & 100%-Full sat)  Lightness :The distance along the central axis corresponds to lightness. (0%-Black & 100%-White)
  • 4. PRINCIPLES  HSL tries to be more intuitive than the general Cartesian color representation  HSL helps us to bridge the RGB color model , understood by computers, to mix colors more like humans do
  • 5. HSL COLOUR ATTRIBUTES  Hue:- It refers to pure spectrum of colours, without tint or shade. colours with same hue are distinguished with their lightness.eg- light blue  Saturation:- measurement of how different from pure grey the colour is perceived saturation depends on the surrounding in which colour is seen  Luminosity:-brightness of area judged relative to brightness of similarly illuminated area which appears to be bright
  • 6. HSL SCALE o Hue is represented as angle of colour circle, given as unit less number. Red=0=360, Green=120,Blue=240 o Saturation & luminosity is represented in percentage, o 100% is full saturation o 0% is shade of grey o 100% luminosity is white o 50% luminosity is normal o 0% luminosity is black
  • 7. HSL REPRESENTATION  HSL is represented as two cones within the cyclinder LUMINOSIT Y SATURATIO N 100 0 75 33 50 100 25 33 0 0
  • 8. HSL AND RGB CONVERSION
  • 9. HSL, HEX AND RGB CO-ORDINATES FOR PROMINENT COLOURS
  • 10. ADVANTAGES OF HSL  The HSL model keeps the light and saturation aspects of the color model unique from each other, it tends to be more useful for those wishing to take advantage of these attributes in their work  Light can range from white to black in a HSL model (with the desired color in between), while the similar HSV color model can only range from the desired color to black  It is user-oriented. Therefore colour selection and image colour adjustment can be done faster with greater ease
  • 11. DISADVANTAGES  While choosing a single color, they ignore much of the complexity of color appearance  Because hue is a circular quantity, represented numerically with a discontinuity at 360°, it is difficult to use in statistical computations or quantitative comparisons  Analysis requires the use of circular statistics  Since computational capacity has increased tremendously over the past few decades, better alternative colour models are available for greater visual accuracy and perceptual relevance
  • 12. HSV COLOUR MODEL  HSV are the most common cylindrical-coordinate representations of points in an RGB colour model  HSV stands for hue, saturation, and value  Hue, Saturation, Value or HSV is a colour model that describes colours (hue or tint) in terms of their shade (saturation or amount of gray) and their brightness (value or luminance)
  • 13. PRINCIPLE  Cylindrical geometries with hue, their angular dimension, starting at the red primary at 0°, passing through the green primary at 120° and the blue primary at 240°, and then wrapping back to red at 360°  The two representations rearrange the geometry of RGB in an attempt to be more intuitive and perceptually relevant ,based on the color wheel  Saturation (s) of the color ranges from 0 to 100%. Also sometimes, it called the "purity". The lower the saturation of a color, the more "grayness" is present and the more faded the color will appear  Value (v) of the color ranges from 0 to 100%. It is a nonlinear transfor(v), the brightness mation of the RGB color space. Note that HSV and HSB are the same
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. HSV SCALE  Hue angles: 0=Red, 120=Green, 240=Blue.  Saturation: 0 at the centre (no saturation, which makes no real colouring) to 1 at the edge (full saturated colours).  Value: From 0 at the bottom (no colour, or black) to 1 at the top.
  • 21. PROGRAM TO CONVERT RGB TO HSV // r,g,b values are from 0 to 1 // h = [0,360], s = [0,1], v = [0,1] // if s == 0, then h = -1 (undefined) void RGBtoHSV( float r, float g, float b, float *h, float *s, float *v ) { float min, max, delta; min = MIN( r, g, b ); max = MAX( r, g, b ); *v = max; // v delta = max - min; if( max != 0 ) *s = delta / max; // s else {
  • 22. // r = g = b = 0 // s = 0, v is undefined *s = 0; *h = -1; return; } if( r == max ) *h = ( g - b ) / delta; // between yellow & magenta else if( g == max ) *h = 2 + ( b - r ) / delta; // between cyan & yellow else *h = 4 + ( r - g ) / delta; // between magenta & cyan *h *= 60; // degrees if( *h < 0 ) *h += 360; }
  • 23.
  • 24. REFERENCES  Websites 1. https://en.wikipedia.org/wiki/HSL_and_HSV 2. www.lps.usp.br/hae/apostila/basico/HSI-wikipedia.pdf 3. www.ics.uci.edu/~majumder/vispercep/colviz.pdf 4. www.slideshare.net/EngHaitham/color-models-42915934