Pixels

  • A pixel is also known as a picture elements.
  • Pixel is the smallest portion of an image or display.
  • For better understanding of pixel when zooming into an image.
  • Pixel is the basic logical unit in digital graphics.
  • Pixels are combined to form a complete image, video, text or any visible thing on computer display.
  • More pixels per inch of monitor screen yield better image result.


  • The intensity of each pixel is variable. In color imaging systems, a color is typically represented by three or four component intensities such as red, green, blue or cyan, magenta, yellow, and black.
Bits Per Pixels:
  • The number of distinct colors that can be represented by a pixel depends on the number of bits per pixel (bpp).
  • A 1-bpp image uses 1-bit for each pixel, so each pixel can be either on or off.
  • Each additional bit double the number of color available, so a 2 bpp image have 4 colors.
  • 1 bpp, 2= 2 colors (monochrome).
  • 2 bpp, 2 = 4 colors .
  • 16 bpp, 216  = 65536 colors (highcolor).
  • 24 bpp, 224 = 16777216 colors (truecolor).
Pixel Resolution:
  • It refers the total number of pixels in an image


Megapixels:
  • We can calculate megapixels of camera.
        Width * Height/1 Million
  • The size of image can be calculated.
         Size = Pixel resolution * Bits per pixels
        Ex:  Lets say we have an image of dimension: 2500 X 3192.
                Its pixel resolution = 2500 * 3192 = 7982350 pixels.
                Megapixels = 7982350/1 million = 7.9 Mpx = 8 Mpx (approx)
Examples:




My notes images: