The objective of the first program is to utilize a 3x3 filter to filter an image. We also display the image and the weighted image using matplotlib.
The objective of the second program is to reconstruct a damaged image using only the damaged image and mask