Page 217 - Ai_C10_Flipbook
P. 217

Step 2     Scroll  down  the  page  to  locate  the  section  where  the
                            Convolution Matrix is applied to an image.
                            You'll see an image with an overlay of a convolution kernel
                            (matrix) and how it affects the image when applied.
                 Step 3     Click on the Choose File button.
                            The Open dialog box appears.
                 Step 4     Select the location where image is stored.

                 Step 5     Select the image for an image kernel and click of the Open

                            button. The image is uploaded.
                 Step 6     Click on the drop-down list to select the predefined effect.

                 Step 7     Select the effect that you want to apply to the image from the drop-down list. The value of the effect
                            is displayed in the matrix form.
                 Step 8     Try changing the values in the convolution operator and observe the modifications in the output image.


















                                        Sharpen Effect                                 Blur Effect
                 Let us follow the following steps to understand how a convolution operator works. The steps to be followed are:

                                         Open the        Repeat the             Form a theory of why
                                         earlier link   previous activity         it is happening


                                          If YES,        Change the        If NO
                                          BRAVO            picture
                                                                                     Change the position
                                                                         Were you     of numbers and
                                                                          correct?   check your theory

                 Now,  try  changing  the  values  in  the  convolution  operator  and
                 observe the modifications in the output image with the following
                 criteria:

                    • Change all values in the convolution matrix to positive values:


                 What did you observe?
                 The output image will likely become brighter. Since all values are
                 positive, it enhances the features in the image by increasing their
                 intensity. No edges or details are emphasised.
                   • Change all values in the convolution matrix to negative numbers.





                                                                                             Computer Vision    215
   212   213   214   215   216   217   218   219   220   221   222