Skip to content

itsnehagarg/ComputerVisionProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Vision Project 1

Create Hybrid Image

👨‍💻 Problem Statement/ Requirements:

  1. Write a method for such a filter that creates a hybrid image.
  2. This filter used for creating the hybrid image should combine the high-pass filtered version of one image and low-pass filtered version of another image.
  3. Gaussian filter is used for constructing the hybrid images with different cut-off frequencies. Description of the methods to be coded in Python are as mentioned below:

💻 Algorithms: 🛠️ Method 1: my_imfilter (image, filter) method is implemented which returns a filtered image.

  1. In this method we create copy of the image to store the value of the filtered image.
  2. Image is padded according to the filter size.
  3. Filter is applied using Convolution. (Convolution is the process of changing the image by applying the kernel to each pixel and to the local neighbours of these pixels in the image).
  4. Filtered image is returned as the return value of this method.

🛠️ Method 2: create_hybrid_image (image1, image2, cutoff_frequency) method is used to generate low frequency, high frequency and filtered image.

  1. Gaussian kernel is generated.
  2. Low frequency image is generated using the gaussian kernel.
  3. High frequency image is generated.
  4. Hybrid image is generated by combining or summing up the low and high frequency images.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published