What is Pixel

When ever we hear the term pixel the only thing that comes to our mind is image information or dots and many others, but what exactly it is?

• So it's very very important to understand the term pixel before moving ahead, so let's see what it means.

1) A pixel or Picture Element is the smallest item of information in an image arranged in 2 dimensional Grid i.e. Rows and Columns as follow:


• In above image the rows and columns arrangement is know as grid of 2-dimension and the small box or square contains information about image that you already know that is Pixel.

2) After knowing about that pixel contains information about image right, but you might really think, what kind of information or what form of information it stores?

• Let's also see that.

3) Each pixel contains information about colors but only three colors i.e RGB most popular once(Red, Green and Blue).

4) This three colors makes all kind of shades almost required to form or represent an image on screen.

5) But How?


6) In above chart pixel contains information of mainly three colors RGB and each color is of 8 bits which is equivalent to 1 Bytes that means 

• 1 pixel = 3 Bytes or 24 bits

Both are same. 

7) So the small boxes that you have seen above contains information of this color, let's get more clarity with an example: 

• Suppose a box want to form or represent yellow color then the equation would be like 

Red(255) + Green(255) + Blue(0) =Yellow

8) The value that you see next to color names is the value or intensity of that color, which ranges from 0 to 255 for each color 

• 2 power 8(2^8) is 256(0- 255)

• Total shades = 256*256*256= 1,67,77,216 shades can be made by using (RGB)

• Let's visualize by a scale ranging from 0-255 and forming yellow color as we did above:


• In above image you can see. That there are three slider of Red, Green and Blue and the slider are stopped at particular value to form a yellow color for value you can refer to above equation that we did.

• If you want to see how the slider works and what are different values to form different or various color you can refer to this link:

•https://www.mathsisfun.com/hexadecimal-decimal-colors.html


• I hope so now you might be clear with the concept of Pixel properly.




*You can leave a comment if you have doubt in it.





Comments

Popular posts from this blog

Functions of graphics

Line Basic Concepts

Shadow Mask technique