We already know that pixels are the smallest point in an image.Our eyes are most sensible for Red ,Green & Blue colors.Every pixel is made by these three colors.These three colors produce thousand of colors which we can see with their different combinations.
There are many other color spaces used :-
1)RGB
2)sRGB
3)RGBA
3)RGBA
4)CMY
5)CMYK
6) HSL
7)HSB/HSV
8)HSI
9)YUV
10)YCbCr
11)Y'UV
12)Y'CbCr
13)YPbPr
14)YIQ
15)CIEXYZ5)CMYK
6) HSL
7)HSB/HSV
8)HSI
9)YUV
10)YCbCr
11)Y'UV
12)Y'CbCr
13)YPbPr
14)YIQ
16)CIELAB
17)CIELUV
18)CIEUVW
19)TSL
20)RG Chromaticity
21)CIERGB
22)Y'CH
23)YCoCg
24)AYCoCg
25)YDbDr
1)RGB:-RGB Color space is an additive model in which they are added together to produce various range of colors.The image which we see is the combination of these three colors.This is the most simple color space which is widely used.These color images are generally expressed in RGB values which is also know as color channel.We can easily calculate it in a 24-bit image & stores in three different arrays.We can also get the input image to put these three array values in a sequence.Popular usage of typical RGB are digital cameras ,video cameras ,image scanners etc which are used as input device.Typical output devices are LCD ,LED,PLASMA T.V.,Projectors etc.
2)sRGB:-sRGB is a standard color space created by HP & Microsoft co-operatively.It is used in monitors ,printers & internet.The sRGB color space is well specified & is designed to match home & office view conditions.LCDs ,digital cameras & scanners & printers all follow the RGB color space.
sRGB also defines a non-linear transformation between the intensity of these primaries.
Chromaticity | Red | Green | Blue | White point |
---|---|---|---|---|
x | 0.6400 | 0.3000 | 0.1500 | 0.3127 |
y | 0.3300 | 0.6000 | 0.0600 | 0.3290 |
Y | 0.2126 | 0.7153 | 0.0721 | 1.0000 |
3)RGBA:-RGBA stands for red ,green,blue,alpha.It is actually an extension of RGB color space.It have additional integral alpha value.Alpha channel is normally used as an opacity channel.If a pixel have a value of 0% in its alpha channel .Then it is fully transparent.Whereas a pixel having 100% in its alpha channel is fully opaque pixel.
4)CMY:-When we use color printing there is a problem occur because paper cannot generate light ,But it only reflects light which scattered on it.Then we need to apply ink on that surface.We need Cyan color to remove Red ,Magenta to remove Blue & Yellow to remove Green.These are called subtractive colors.This image simply a negative of RGB color Space .It means if we need to convert a CMY image to RGB image when we apply a process to get a negative image .Then declare it as a CMY image.
5)CMYK:- It is an extension to the CMY color space The main problem with CMY color space is it only removes only RGB colors & not removing all the light that is being reflected.So to resolve this problem we add a black color to remove all reflecting light.In CMYK K is stands for key which is Black & an another reason for using k Because the first letter of black is used for blue.The main benefit of using black color is that the text printed are black & black is less expensive than others.
6)HSL:- HSL is the most common cylindrical co-ordinate representation .It have wide use in color pickers in image editing softwares.HSL stands for hue,saturation & lightness.In each cylinder the angle around the central vertical axis corresponds to hue,the distance from the axis corresponds to saturation & the distance along the axis corresponds the lightness.
7)HSV/HSB:-HSV is the most common cylindrical co-ordinate representation.It also have wide use in color pickers in image editing softwares.HSV stands for hue,saturation & value and also called as HSB(B for brightness).In each cylinder the angle around the central vertical axis corresponds to hue,the distance from the axis corresponds to saturation & the distance along the axis corresponds the brightness or value.
8)HSI:-It is also common in computer vision application.HSI stands for hue saturation and intensity.
9)YUV:-YUV is a color space typically used as a part of color image pipeline.It encodes a color image or video taking human perception into account,allowing reduced bandwidth for chrominance components thereby typical enabling transmission errors or compression artifacts to be more efficiently masked by the human perception than using a direct RGB representation .
10)YCbCr:-YCbCr is family of color spaces as a part of the color image pipeline in video & digital photography system.YCbCr is a practical approximation to color processing & perceptual uniformity.
YCbCr stands for Y ,Cb & Cr where Y is luminance component,Cb & Cr is the two chroma component.
Cb and Cr are derivations from grey on blue-yellow and red-cyan axes.
11)Y'UV:-Y'UV defines a color space in terms of Y'which is luma & two chrominance component(UV).The Y'UV color model is used in the PAL and SECAM composite color video standards .Previous black and white used only luma information.Color information where added separately vai a sub-carrier so that a black and white receiver would still be able to receive and display a color picture transmission in the receiver's native black and white format.Formulas for RGB to Y'UV and Y'UV to RGB color conversion are following:-
12)Y'CbCr:-Y'CbCr is not an absolute color space,rather it is way of encoding RGB information.THe actual color displayed depends on the actual RGB primaries used to display the signal.It is also a color approximation to color processing & perceptual uniformity.
13)YPbPr:-YPbPr is a color space used in video electronics,in particular in reference component video cables.YPbPr is the analog version of the YCbCr color space the two are numerically equavalent but YPbPr is designed for use in anoalog systems where YCbCr is intended for digital video.YCbCr cables are also referred to as Yipper cables.YPbPr is commonly called as component video but this is imprecise as there are many other types of component video most of which are some form of RGB.Pb and Pr are derivations from grey on blue-yellow and red-cyan axes.Here Y stands for luminance ,Pb carries difference between blue luma and Pr carries difference between red and luma.
YPbPr is converted from the RGB components:-
Y=.2126R+.7152G+.0722B
Pb=B-Y
Pr=R-Y
14)YIQ:-YIQ is the color space used by NTSC color TV system,employed mainly in north America ,central America & Japan.It is currently in used only for low power television stations,as full power analog transmission.The YIQ system is intended to take advantage of human color response characteristic.The eye is more sensitive to the changes in orange-blue range(I) than in the purple-green range(Q)-therefore less bandwidth is required for Q than I.In the YIQ .Y represents luma information is the only component used by the black & white TV receivers.I & Q represents the chrominance information.Formulas for RGB to YUV and YUV to RGB color conversion are following:-
15)CIEXYZ:-CIEXYZ color space is derived from CIERGB color space .In CIEXYZ ,Y is the luminance,Z is quasi equal to the blue stimulation & X is a mix of cone response curves chosen to be non negative . The CIE defined the standard (colorimetric) observer.The value of XYZ is determined by following formula:-
where λ is the wavelength of the monochromatic light.
16)CIELAB:-A lab color space is a color opponent with dimention L for lightness ,a & b for the color opponent of dimension based on non-linearly compressed CIEXYZ color space co-ordinates.CIELAB co-ordinates based on a cube root transformation of the color data.The lightness co-relate in CIELAB is calculated using the cube root of the relative luminance.The main advantage of CIELAB is it is designed to approximate human vision.It aspires to perceptual uniformity and its component closely matches human perception of lightness .CIELAB color space is most complete color space because it describes all the color visible to the human eye & was created to serve as a device dependent model to be used as a reference.The
three co-ordinates of CIELAB represent the lightness of the color (L*=0 yields black while L *=100 yields diffuse white ),its position between Red/Magenta & green (a* negative values indicate green while positive value indicates magenta),& its position between yellow & blue(b* ,negative value indicates blue while positive value indicates yellow).There is no simple formula for RGB and CMY conversion because these two color space are device dependent.Following are the formula for the CIEXYZ to CIELAB & CIELAB to CIEXYZ :-
Forward transformation
where
- Here Xn,Yn & Zn are the CIE XYZ tristumulus values of the reference white point .
Reverse transformation
The reverse transformation is most easily expressed using the inverse of the function f above:where
17)CIELUV:-In colorimetry ,the CIE 1976(L*,u*,v*) color space commonly known by its abbreviation CIELUV .CIELUV is an Adams chromatic valence color space & is an update of CIE 1964 color space
Following are the formula for the CIEXYZ to CIELUV & CIELUV to CIEXYZ :-
- .
- the quantities u'n & v'n are the chromaticity co-ordinates of a specified white ponit & Yn is its luminance.
- Equation for u' & v' are given below:-
The forward transformation
- 0
22)Y'CH:-Y'CH is stands for luma,chroma and hue .The formula for Y'CH to RGB color space is following:-
- Then we can find R, G, and B by adding the same amount to each component, to match luma:
- 23)YCoCg:-YCoCg stands for luminance,two color components orange and green.This color space was invented to use similar encoding techniques as YCbCr,but with frames in RGB color space.Is is possible to losslessly transform from RGB to YCoCg when using 2 more bits for YCoCg representation than for RGB .E.g. it is possible to losslessly transform a pixel from a 30-bit RGB frame into a pixel in a 32-bit YCoCg .This assumes that each R,G and B component will have 10 bits of information which Y' will have 10 bits and Co and Cg will each have 11 bits. Following are the formula for the RGB to YCoCg & YCoCg to RGB :-
Forward transformationThe reverse transformation
24)AYCoCg:-It is a color space wherein each color is represented as a quad (A,Y,Co,Cg) where A represents the alpha(transparency) component,Y represents the luminance component and Co and Cg represent the two chrominance(color) component orange and green respectively.Conversion between the ARGB and AYCoCg color spaces can be performed by using forward and reverse transformation.The alpha channel is never converted in either direction.Forward transformationA = A
|Y| | 1/4 1/2 1/4| |R| |Co| = | 1 0 -1 | * |G| |Cg| |-1/2 1 -1/2| |B|
The reverse transformation
A = A |R| |1 1/2 -1/2| |Y | |G| = |1 0 1/2| * |Co| |B| |1 -1/2 -1/2| |Cg|
YDbDr is composed of three components - , and . is the luminance, and are the chrominance components, representing the red and blue color differences.Formulas for RGB to YDbDr and YDbDr to RGB color conversion are following:-
Forward transformation
The reverse transformation
The reverse transformation
The transform from (u',v') to (x,y) is:-
the transform from CIELUV to CIEXYZ is as follows:-
18)CIEUVW:-The CIEUVW is based on CIE 1964 color space is based on the CIE 1960 UCS.Wyszecki invented the UVW color space in order to be able to calculate color differences without having to hold the luminance constant.He defines a lightness index W* by simplifying expression .The chromaticty component U* & V* are defined such that the white point maps to the origin .
19)TSL:-TSL (Tint,Satuartion & Light) is a color space used in face detection & based on Hue ,Saturation & Luma.The formula for the transformation RGB to TSL is :-
19)TSL:-TSL (Tint,Satuartion & Light) is a color space used in face detection & based on Hue ,Saturation & Luma.The formula for the transformation RGB to TSL is :-
where
The reverse transformation from TSL to RGB is:-
where
20)RG Chromaticity:-The RG chromaticity space ,two dimension of the normalized RGB color space ,a two dimention color space in which there is no intensity information.Unlike RGB color space ,In the rg chromaticty a color is represented by the proportin of Red.,Green & blue in the color ,rather than the intensity of each Since these proportion must always add up to atotal of 1,we are able to read just red & green proportions of the color & can calculate blue value if necessary.Rg chromaticty contains less information than RGB & HSV color space ,It has no of useful properties for computer vision application .
Given a color(R,G,B) where R,G,B= intensity of red,green & blue ,this can be converted to color (r,g) where r,g imply the proportion red & green in the original color:
Given a color(R,G,B) where R,G,B= intensity of red,green & blue ,this can be converted to color (r,g) where r,g imply the proportion red & green in the original color:
the inverse transformation is not possible ,as the intensity information is lost during the coversion to rg chromaticity.
21)CIERGB:-The CIE RGB color space is one of many RGB color spaces ,distinguished by a particular set of mono chromatic primary colors.The RGB tristimulus values for a color with a spectral power distribution I(λ) would then be given by :
21)CIERGB:-The CIE RGB color space is one of many RGB color spaces ,distinguished by a particular set of mono chromatic primary colors.The RGB tristimulus values for a color with a spectral power distribution I(λ) would then be given by :
No comments:
Post a Comment