The goal of this project is to implement an image filtering function my_imfilter and create hybrid images.
The idea of hybrid images is to merge the low-pass version of one image with the high-pass version of another image. The first step is to implement the image filtering function my_imfilter:
padarray()im2colThe we can generate a hybrid image by three steps as below:
fspecial(), and apply on one image to generate a low frequency version.
|
|
|
Six filtering examples: identity, blur, large blur, high pass, laplacian and sobel:
|
|
|
|
|