Page 202 - Ai_C10_Flipbook
P. 202

Basics of Pixels

              Pixel stands for "Picture Element". It is the smallest unit of information in a digital image. These pixels are arranged
              in a 2-dimensional grid to form a complete image, video, text, or any visible thing on a digital platform. A pixel can
              have only one colour at a time. Colour of a pixel is determined by the number of bits it represents. The more pixels
              you have, the more closely the image resembles the original.

              In the image below, a specific section has been zoomed in multiple times to reveal its structure in individual pixel.
              Each pixel represents a small part of the image, and together, they combine to form the entire picture. As you
              examine the zoomed-in portion, you can observe how the arrangement of pixels approximates the original image.
              The higher the number of pixels in the image, the more detailed and closer it will appear to the actual representation.
























              Resolution


              Resolution refers to the dimensions that determine the number of pixels present on a screen or in an image. It is
              often measured by multiplying the width with height of the image in pixels, such as 1920×1080 (HD resolution),
              which means the image has 1920 pixels across the width and 1080 pixels along the height.

              In the context of displays or digital images, higher resolution means more pixels are used to represent the image,
              leading to sharper and clearer details.

              Resolution can also be expressed as a single number, such as in megapixels (for cameras), where one megapixel
              equals one million pixels. For example, a 50-megapixel camera captures images with 50 million pixels, which
              affects the level of detail that can be captured in the photograph.
              In the case of our 1920×1024 monitors, it could also be expressed as 1920 × 1024 = 1,966,080 pixels.

                             1,966,080
              In megapixels:           = 1.97 MP.
                             1,000,000
              Pixel value

                                                                                                                 has
              Each  pixel  in  an  image  stored  on  a  computer   Number of Bits  Different Patterns  No. of Patterns
              a  specific  value  that  determines  its  brightness   1         0 1                    2^1=2     and/
              or  colour.  The  most  common  pixel  format  is   2             00 01 10 11            2^2=4     the
              byte image, where the pixel value is stored as                    000 001 010 011 100              a   n
              8-bit  integer,  allowing  for  a  range  of  values   3                                 2^3=8
                                                                                101 110 111
              from  0  to  255.  In  this  system,  a  value  of  0
                                                                                0000 0001 0010 0011
              typically  represents  no  colour  or  black,  while                                               255
              represents full colour or white.                                  0100 0101 0110 0111
                                                               4                                       2^4=16
              But why do we use a value of 255?                                 1000 1001 1010 1011
                                                                                1100 1101 1110 1111
                    200     Artificial Intelligence Play (Ver 1.0)-X
   197   198   199   200   201   202   203   204   205   206   207