Example of a processed hybrid image.
Hybrid images are static images that change in interpretation as a function of the viewing distance. By blending the high frequency portion of one image with the low-frequency portion of another, you get a hybrid image that leads to different interpretations at different distances. The goal of this project was
After Appling various filters
Row1(left to right)- 1. Identity Image, 2.High frequency image, 3. High pass image.
Row2(left to right) 4. Sobel image 5. Blur image 6. Large blur image
Most of the kernels used in these filters are well-known and hence could be easily used with my_imfilter. For example,
sobel_filter = [-1 0 1; -2 0 2; -1 0 1]; (Respond to horizontal gradients)
blur_filter = [1 1 1; 1 1 1; 1 1 1]; (Small blur)
large blur is a gaussian filter
laplacian_filter = [0 1 0; 1 -4 1; 0 1 0]; (High pass filter)
high frequeency image is basically 1 - low-pass image
1.Original cat image, 2.High pass filtered cat image, 3. Original dog image, 4. Low pass filtered dog image
Scaled down dog-cat hybrid image - Dog is better visible in the scaled down version than in the original size hybrid image
Scaled hybrid image of a fish and a submarine
Scaled hybrid image of a bicycle and a motorcycle
Scaled hybrid image of a Einstein and a Marilyn
Scaled hybrid image of a bird and an airplane
These are the photographs of a building taken at different times of the day, one with clear sky and hence clear background and the other one with cloudy and occluded background
Hybrid image of these two scenes can be used for sort of noise cancellation and object recognition ( object of interest being the building in the front)