[SOLVED] Machine Vision Lab 2-Cat image process

30.00 $

Category: Tags: , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Cat-image-process-hxiwjf.zip (860.3 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

 

BACKGROUND.

In Lecture 2 we looked at linear filters. In this exercise you will apply different linear filters to an image and visualise the results. While you can apply this to any image, there is a file cat.png available on Canvas to download and use as input image.

Task 1.

Load the input image and convert it into grayscale. Display both the original and the grayscale image.

Task 2.

Create Sobel filter mask to detect edges in x- and in y-direction. Filter the input image with these masks and display the results.

Task 3.

Create filter masks for the two derivatives of the Gaussian

πœ•π‘”πœŽ=βˆ’ π‘₯ expβˆ’π‘₯2+𝑦2 πœ•π‘₯ 2πœ‹πœŽ4 2𝜎2

πœ•π‘”πœŽ=βˆ’ 𝑦 expβˆ’π‘₯2+𝑦2 πœ•π‘¦ 2πœ‹πœŽ4 2𝜎2

using 𝜎 = 5 and 𝜎 = 10. Apply those filters to the image and display the results.

Task 4.

Calculate the Fourier transform of the input image and display the absolute values of the spectrum as image. Now transform the Fourier spectrum of the image back to the spatial domain and display the resulting image (it should be the same as the input image).

  • Cat-image-process-hxiwjf.zip