Page 302 - AI Computer 10
P. 302

is white, which has the maximum presence of colour of value 1 for the pixel. In grayscale images, the shades range
            starts with 0 and ends with 255, i.e., it starts with pure black and ends with pure white.
            A grayscale has each pixel of size 1 byte having a single plane of 2-dimensional array of pixels.



















                                  RGB Image

                                  All coloured images around us are made up of three colours with varying intensity – Red,
                                  Green, and Blue. Every coloured image, when split, is stored in the form of three different
                                  channels, i.e., R Channel, G Channel, and B Channel. Each channel has a pixel value varying
                                  from 0 to 255. For example, RGB value of Aqua colour is (0, 100, 100).



                  Pop
                  Pop Quiz                                     Quiz
              Name the following.

              1.   A computer vision related task that involves identifying objects in digital
                 photographs.                                                                  _____________________

              2.  A computer vision related task that requires prediction of object instances
                 and their pre-pixel segmentation marks.                                       _____________________



                  Ice Breaker Activityer Activity
                  Ice Break
                                                                                                      RGB CHANNEL
              Vist the online link https://www.w3schools.com/colors/colors_rgb.asp. On the basis of this
              online tool, try and answer all the below mentioned questions.

                1.  What is the output colour when you put R=G=B=255 ?
                   _________________________________________________________________________________________
                2.  What is the output colour when you put R=G=B=0
                   _________________________________________________________________________________________
                3.  How does the colour vary when you put either of the three as 0 and then keep on varying the other
                   two?
                   _________________________________________________________________________________________
                4.  How does the output colour change when all the three colours are varied in same proportion?
                   _________________________________________________________________________________________
                 5.  What is the RGB value of your favourite colour from the colour palette?
                   _________________________________________________________________________________________




                168
                168
   297   298   299   300   301   302   303   304   305   306   307