Tags: Python, Scikit-image, Gaussian filter, Image Processing
1) Laplacian Filter
2) [0,0,0] [0,1,0] [0,0,0]
3) [0,0,0]
[0,0,1]
[0,0,0]
4) compute Im + (Im - Im average_filter(mean filter)) #where is a convolution operation and Im is moon.png.
Write a program in scikit-image/Python to accomplish a simple image inpainting. This example and demo were shown in the lecture.
Use damage_cameraman.png and damage_mask.png.
It is an iterative algorithm. At every iteration, your program (a) blurs the entire damaged image with a Gaussian smoothing filter; then (b) with help of the mask image, restores only the undamaged pixels. Repeat these two steps (a) and (b) a few times until all damaged pixels are infilled.