Skip to content

Mini-Project-1-Hybrid-Image/Mini-Project-1---Hybrid-Image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction Image filtering and processing is the basic step in computer vision, thus in this project we are going to combine two images in a hybrid image.

Algorithm(Filter)

1. We have the dimensions of the filter and the image
2. We make zero padding in both directions for the image with the size of rows/2
and columns/2
3. For r=1:no. Row in the image
1- for c=1:no. Column in the image
1. Make a small image which has indexes equal from the number of the
current row to the number of the current row + last index rows, the same
with columns, and this is done in all channels.
4. The output of the nested loop is the convoluted image.

Hybrid image-Algorithm

1. Use the blur filter on one image to get the low frequencies
2. Blur the second image then subtract it from the original one to get the high
frequency content from it
3. Then add the two images to get the hybrid one.
4. All the hybrid images are generated using square gaussian filter

Results

Hybrid images are done by combining two images and using a low pass filter on
one image and a high pass filter on the other.

sample images

hybrid_image_scalesmotor_bycycle hybrid_image_scales_dog_cat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors