Implement image smoothing using convolution with Gaussian masks. You should use 2 input images given with the supplemental zip file.

. Implement image smoothing using convolution with Gaussian masks. You should use 2 input images given with the supplemental zip file. First, implement 2D Gaussian convolution using 1D Gaussian masks as discussed in class. Codes for reading and writing pgm images as well as for generating the Gaussian mask are available in the attachment to this assignment. For comparison purposes, also implement 2D Gaussian convolution using 2D Gaussian masks. For this part, use OpenCV’s cvSmooth function and the option CV_GAUSSIAN. In both cases, show your results using mask sizes 3x3, 5x5, and 7x7.

Submit the following:
- A report describing your results; it must include the masks used, the original and the smoothed images
- One ZIP file containing:
o the source code files
o a README file with instructions on how to compile and run the program

OpenCV Download and instructions:

Download the OpenCV library from the following link. Link is also available on the blackboard.