0% found this document useful (0 votes)
14 views4 pages

Characteristics of Color Models

The document discusses key characteristics of color models, including hue, saturation, and luminance, and outlines various color models used in computer graphics such as RGB, CMY, YUV/YIQ, HSV, and HLS. Each model has distinct applications, with RGB being prevalent in digital displays and CMY used in printing, while YUV/YIQ is common in broadcasting. The document also highlights the conversion processes between these color models and their relevance in image processing and color selection tasks.

Uploaded by

nikhilnarwal317
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

Characteristics of Color Models

The document discusses key characteristics of color models, including hue, saturation, and luminance, and outlines various color models used in computer graphics such as RGB, CMY, YUV/YIQ, HSV, and HLS. Each model has distinct applications, with RGB being prevalent in digital displays and CMY used in printing, while YUV/YIQ is common in broadcasting. The document also highlights the conversion processes between these color models and their relevance in image processing and color selection tasks.

Uploaded by

nikhilnarwal317
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

0

7
Key Chnrnctcristics of Color Models I
Color is how we perceive light reflected from objects. Our eyes detect color in the visible range of the
electromagnetic spectrum. This range is in between 390 to 700 nanometers (nm). Color has ~hrcc mai~


1charactcristics -
Hue - This is the dominant wavelength of light we perceive. It is what we typically mean when we name J_ L. __ _
CTVlOYYJI.
a color like "red" or "blue".
• ~aturntion\- This refers to the purity of the color. A highly saturated color is vivid, while a less saturated


color a ears more muted.
.Luminanc - This is the lightness or intensity of the color. It determines how bright or dark a color J lu,-.,Jt.,
appears.
V IV.1luo)

V•O
/(WMO)

CyJn

H (Huo ml{JIO)

I lue and saturation together are called the chroma components of color. Luminance is referred to as the
I
luma component.
1Color Models in Computer Graphics
lcolor models use primary colors to produce a wide range of other colors. The range of colors a model can
Iproduce is called its@olor gam::@ Let us explore some popular color models used in computer graphics.
RGB Color Model
The RGB color model is the most widely used in computer graphics. It uses three primary colors: Red.
Green. and Blue. Let us sec some of the ke features of the RGB model. It is re resented b a unit cube:
l• Values for R. G. and B range from 0 lo I
1• Bk1ck is at the origin (0,0,0) and White, is at (I, I, I)
~ Tile diagonal line from Black to While is called the Gray Line

Groen Yalow

Red

j I .....,

l:x~mpl~s in ~c RGB model:


Pure Red: ( 1,0.0)
Pur~ Green: (0.1,0)
• Pure 111 uc: (0,0.1)
• Yellow: (1.1,0J
Magenta: ( 1.0, I)
~y~n: (~,I. I)
9

1ing, and
. d TV It uses additive color mixing object's
Tl1e RGB model 1s • used 111
• display
• • l'k uter monitors an s. colors. colors
devices I e comp . reate other .rnais
to produce colors. This means it starts with black and adds ltg1it to c
CMY Color Model . . colors It's also represented by a unit :illy
The CMY model uses Cyan, Magenta, and Yellow as tts pnmary •
cube:
• White is at the origin (0,0,0) and Black is at (I, I, I)
• It uses subtractive color mixing
~ !Examples in the CMY model
• Pure Cyan: ( \ ,0,0)
• Pure Magenta: (0, \,0)
• Pure Yellow: (0,0, t)
• Red: (0,1,1)
• Green: ( 1,0, 1)
• Blue:(1,1,0)
The CMY model is primarily used in printing. It is often extended to CMYK, where K stands f?r Black.
Th'ts •is because comb111111g
• • pure cyan, magenta, and yellow does not produce a true bl k.
ac m practtce•
YUV/YIQ/YCbCr Color Model
This family of color models separates luminance (brightness) from chrominance (color information). The
key features are -
• Y represents luminance
• U and V (or l and Q) represent color information
1t is widely used in television broadcasting and video compression
Example of RGB to YIQ conversion -
• Y - 0.299R + 0.587G + 0.1 I48
• I = 0.596R - 0.2750 - 0.321 B
• Q = 0.2 I2R - 0.5230 + 0.3 I 1B
This model is efficient for transmission because it separates the brightness signal (Y) from the color
information.
HSV Color Model
The HSY model represents colors using Hue, Saturation, and Value. The key features of the HSY model
is it is represented by a hexagonal cone as shown in the above figure.
• Hue is measured as an angle (0-360°)
• Saturation and Value range from Oto 1
It's useful for intuitive color selection
Examples in the HSY model -

~
Red: H = 0°, S = 1, V = I
Green: H = 120°, S = 1, V = l
Blue: H = 240°, S = 1, V = I
I• Yellow: H =60°, S= 1, V= 1
HLS Color Model
The HLS model is similar to HSY but uses Lightness instead of Value. The key features of the HLs
model:
1. It's represented by a double hexagonal cone
I
1· Hue is measured as an angle (0-360°)
,. Saturation and Lightness range from Oto I
• Pure colors are at L = 0.5
\Examples in the HLS model -
• Red: H = 0°, S = 1, L = 0.5
• Green: H = 120°, S = 1, L = 0.5
• Blue: H = 240°, S = 1, L = 0.5
White: H = any, S = 0, L = I
1: Black: H - any, S = 0, L = 0
•- Lrh~_HLS model is also used in color selection interfaces and image processing tasks.
,, ' ". anr/

een Color Models - -i


Converting between colo r I 1E;nmpl
c of Converting betw orl
ications. Herc is a simple example
rs of1en necessary in graphics appl
converting from RGB 10 H ; ~ els
•,,nu,n
Find the maximum max and ,n·,,1 min ofR , G, and B -
•.• V = max
)
S ~ (max - min ) I max (if max is not zero
colo r is max -

r
H ,s calculated base d on whic h
l
!s
o If R max: H = (G - B) I (ma x - min )
)
o lfG .,s max: H = 2 + (B - R) / (ma x - min
4+ R G / •
r. -
o. IfB rsm ax· • H= - max - mm
_ H by 60 to conv ert lo degr ees
• Mult~ply
A) lrcat,ons of Colo r
Models
• com uter a ht'cs -
1.•
els are used 1·or vario • us a lrcat •
• ,ons rn
Di!Teren t colo r mod
monitors TVs and digital cameras
r • RGB - Used in display devices like
publishing ,
• CMY/CMY - U~ed in printing and
dcas ting and video compression
• UV NI - Used 111 television broa
inter faces and image processing tasks
• 1SV/HL - Used in color selection

of colours in so~ e stan~ard


ng aim to facilitate the specifications
The colour spaces in image processi s like in hardware, in mul tiple
models are used in mul tiple field
way. Different types of colour
etc.
applications of creating animation,
• RGB
• CM YK
• ITSY
YIQ in Digi tal image processing and

RGB : The RGB colour model is
the most common colour model used
for one colo ur. Red, Green and
image cons ists of 3 channels. One channel each
openCY. The colo ur are produced by the prop ortio nal
nts of this model. All other colours
Blue are the main colour compone e increases the colo ur inte nsit y
represents the black and as the valu
ratio of these three colours only. 0
increases.
Properties: k.
el. The colours are added to the blac
• This is an additive colour mod
Blue.
• 3 main channels: Red, Green and
and onlin e logos.
• Used in DIP, openCV

Colo ur combination:
Green(255) + Red(255) = Yell ow
Green(255) + Blue(255) = Cyan
Red(255) + Blue(255) = Magenta
) = White
Red(255) + Green(255) + Blue(255 Cyan, Magenta, Yell ow and
ly used in printers. It stands for

I
colo ur model is wide
CM YK: CM YK colo ur and I represents the
ur model. 0 represents the prim ary
Black (key). It is a subtractive colo (0,0 ,0) represents whit e. It is a
t (I, I, I) represents black, and
lightest colour. In this model, poin t intense to a most intense colo ur
subtracted from I to vary from leas
subtractive model thus the value is
value.
I-RGO = CM Y
Cyan is negative of Red.
Magenta is negative of Green.
Yell ow is negative of Blue.
are three chann~ls. This colour
HSY: The image consists of three channels. Hue, Saturation and Value
. It uses colour in the way humans perceive them. HSY
model does not use primary colours directly
. .
colour when is represented by a cone. the hue represents different
Hue is a colour component. Since the cone represe nts the HSY model,
colours in different angle ranges.
Red colour falls between Oand 60 degrees in the HSY cone.
Yellow colour falls between 61 and 120 degrees in the HSY cone.
Green colour falls between 121 and 180 degrees in the HSY cone.
Cyan colour falls between 181 and 240 degrees in the HSY cone.
Blue colour falls between 241 and 300 degrees in the HSY cone.
Magenta colour falls between 301 and 360 degrees in the HSY cone.
Sometimes this value lies in the
Saturation as the name suggest describes the percentage of the colour.
primary colour. Saturation describes the grey colour.
0 to 1 range. 0 being the grey and 1 being the
colour chosen. Its value lies in percentage from Oto 100. 0 is
The value represents the intensity of the
in histogram equalization and
black and I00 is the brightest and reveals the colour. HSY model is used
converting grayscale images to RGB colour images.
sting. Y stands for luminance
YIQ: YIQ is the most widely colour model used in Television broadca
on, only the luminance part (Y)
part and IQ stands for chrominance part. In the black and white televisi
informa tion is represented by the
was broadcast. They value is similar to the grayscale part. The colour
IQ part.
There exist a formula to convert RGB into YlQ and vice-versa.
images.
YIQ model is used in the conversion of grayscale images to RGB colour

Common questions

Powered by AI

Luminance, represented by the 'Y' component in both the YUV and YIQ color models, refers to the brightness or light intensity of an image. It plays a vital role in image and video compression as it bears most of the visual information perceived by the human eye . By separating luminance from chrominance, these models allow for more efficient compression techniques, emphasizing luminance fidelity over color details, which is less perceptible to humans. This separation reduces data bandwidth while preserving the perceived image or video quality, which is crucial for television and video broadcasting applications .

The RGB color model uses additive color mixing, where colors are created by combining red, green, and blue light. It starts with black and adds light to produce colors, which is why it is primarily used in display devices like computer monitors and televisions . In contrast, the CMY color model uses subtractive color mixing, involving cyan, magenta, and yellow as primary colors. It starts with white and subtracts colors to yield the desired output, making it ideal for printing . Both models are represented as unit cubes but serve different purposes based on their color mixing methodology.

Saturation indicates the purity of a color, affecting how vivid or muted it appears . In color perception, high saturation results in vibrant colors, whereas low saturation results in colors that are more diluted or greyish. This characteristic is crucial in design and art, as it influences the emotional impact and visual experience. Different applications, like image processing and digital art, leverage saturation to adjust image appeal and achieve desired artistic effects. In models like HSY, saturation helps transition colors smoothly, enhancing user experience during color selection tasks .

The YIQ color model separates information into luminosity (brightness) and chrominance (color) components. The Y component represents the luminance, while I and Q carry the color information . This separation allows efficient transmission in television broadcasting because the luminance component is sufficient for black-and-white displays, ensuring compatibility with both monochrome and color television sets . Additionally, this separation facilitates compression and improves bandwidth utilization.

The CMYK model is well-suited for printing as it employs subtractive color mixing—starting with white (the paper) and subtracting cyan, magenta, yellow, and black to create other colors . This contrasts with the RGB model used in displays, which creates colors by adding light to black. In printing, CMYK allows for precise color control tailored to produce a wide range of hues by varying ink amounts. Unlike RGB, CMYK addresses the physical limitations of pigments, such as achieving deeper blacks by adding a separate black ink (K), which RGB cannot do as it relies on light . This difference highlights CMYK’s suitability for the tangible, pigment-based nature of print media.

The HSY color model represents colors using three components: Hue, Saturation, and Value, allowing for intricate control over color based on human perception . Its key feature lies in representing these attributes in a cone format, which simplifies color adjustments. This model aids histogram equalization by separating lightness from chrominance, permitting independent manipulation of image brightness and contrast while preserving color integrity. This separation enhances the detail visibility in processed images and is especially beneficial in converting grayscale images into enriched RGB colors, thus facilitating robust image processing techniques .

The HLS (Hue, Lightness, Saturation) model is similar to HSV but replaces 'Value' with 'Lightness,' measuring the amount of white or black added to a color. Lightness ranges from 0 to 1, where 0.5 indicates pure colors without additional white or black . This makes HLS more suited to tasks where variations in light levels must be captured accurately, such as in image processing tasks where color balance needs to be fine-tuned. In comparison, HSV focuses more directly on color perception aspects useful for intuitive selection. Thus, HLS is often used in environments requiring precise adjustments of lightness in digital images and applications involving synthetic image generation .

Converting RGB values to the HSV model involves determining the maximum and minimum values among the R, G, and B components to calculate value (V) as the maximum. If the maximum is not zero, saturation (S) is calculated as (max - min) / max . The hue (H) is then computed based on which of the R, G, or B is the maximum: if R is max, H = (G-B)/(max-min); if G is max, H = 2 + (B-R)/(max-min); if B is max, H = 4 + (R-G)/(max-min). The calculated hue is then multiplied by 60 to convert to degrees . This procedure allows for accurate representation of colors in a format more aligned with human perception.

The HSV (Hue, Saturation, Value) color model facilitates intuitive color selection by allowing users to adjust colors in terms of how they perceive them—hue defines color type, saturation represents color intensity, and value describes its brightness . This approach aligns more closely with human perception of color, making it ideal for graphic design and photo editing software, where precise and user-friendly color manipulation is required . Its representation via a hexagonal cone enhances user experience in selecting colors precisely through direct manipulation, benefiting tasks like image processing, where fine control over color properties is essential.

The RGB color model is favored in digital image processing and machine vision because it directly maps to the physical characteristics of semiconductor sensors used in cameras and monitors, where each channel can be independently adjusted to capture or display colors . This model allows digital devices to represent colors via three primary colors: red, green, and blue, facilitating straightforward processing and display tasks. The additive nature of RGB makes it compatible with electronic displays, where color intensity is achieved through light emission. These features make it the optimal choice for applications needing accurate color reproduction and simplification of hardware design .

You might also like