Understanding Images and Pixels

As I told you in previous post, today I am going to give you some information about an image(in terms of glossary). I will try to explain everything in easy way, You can do more research about those things which I am going to tell you.

Color Space:
Color space or color model is a system for describing colors numerically. There are different type of color spaces, for example- RGB, HSV, LAB etc. Mostly, RBG color space is used.

RGB Color Space:
In RGB color space there are three channels- Red,
Green and Blue. Each channel has a value in range of 0 to 255 and combination of those three values makes a new color and we can say, that color is color of our pixel.
example:- combination of R=238, G=130, B=238
makes Violet color.

Alpha channel:
Alpha channel is the channel is the channel which is responsible for tranpiracy.

A smallest unit of an image. In RGB image, each pixel is made of three sub pixels(R channel, G channel, B channel).

An Image is a data, in which pixels are arranged in rows and columns.
  An image has resolution of P×Q then you can say that image has P rows and Q columns.

Sum up:
An image is made up of pixels and pixels are
nothing but smallest elements of an image. Each pixel has different color and when we combine those pixels(or smallest elements), we get an image.

 (1) Grayscale image: In Grayscale image, There is  only one channel for every pixel which contains.  intensity information/value. ( range of intensity  values for 8 bpp image : 0 to 255).

 (2) Binary image: In binary image each pixel can
 take only two values(black/0 or white/255).

 Next Post:
 In next post, I shall have post about some more
 glossary Image processing terms and after that i
 will post about first program in OpenCV.

By R Patidar

Post a Comment