Calculate the maximum value of the frequency spectrum

Assignment Help MATLAB Programming
Reference no: EM132566106

ENGI 7854 Image Processing and Applications - Memorial University

Overview
The objective of this assignment is to design a set of filters in the frequency domain to filter out periodic noise. You will first add periodic noise to an image (in the fre- quency domain) and display the results. Then, you will design band-reject filters (Ideal, Butterworth, and Gaussian) to remove the noise (in frequency domain) and display the results.

The band-reject frequency domain filters for Ideal, Butterworth, and Gaussian are modelled as follows:

Questions

Download the test image moonlanding.png from D2L located in the Assignment 2 folder and save it in the MATLAB working directory.

Question 1. Convert to the frequency domain and center the spectrum. Calculate the maximum value of the frequency spectrum (use MATLAB command FSmax = max(FS(:)), where FS is the frequency spectrum and FSmax is its maximum value).

Question 2. Display the frequency spectrum obtained in Question 1 as an image.

Question 3. Using the centered frequency spectrum obtained in Question 1, manually introduce noise at eight points. The points must be located on the circle at a distance of 100 from the center point of the image and having 45? angle increments at the four cardinal and intercardinal directions (N,S,E,W,NE,NW,SE,SW). Find the 3 × 3 neighborhoods of these eight elements and set their values to FSmax/10 where FSmax was obtained in Question 1. Display the resultant spectrum as an image.

Question 4. Convert the frequency domain representation in Question 2 to the spatial domain, scale it and display the result. Observe the result of adding noise, and comment briefly on the noisy image.

Question 5. Now, using the image from Question 4 (which is corrupted with periodic noise), obtain the frequency domain representation, center the spectrum and display it. Comment on whether or not it looks like the frequency spectrum you manually created in Question 3.

Question 6. Assuming the cutoff frequency D0=100 and the width W = 8, design: (a)Ideal
(b) Butterworth with order 4 (i.e. n=4)
(c) Gaussian
band-reject filters to remove the periodic noise you introduced in the frequency domain. The filters should be of the same size as the original image. Display the three designed filters as three separate binary images.

Question 7. Implement the band reject filters you developed in Question 6 to remove the noise you also introduced using element-wise multiplication. Display the results in the frequency domain for each filter individually.

Question 8. Convert the three frequency domain representations of the filtered image found in Question 7 to the spatial domain, scale them and display the results. Compare the resultant images:

(a)with the noisy image in Question 4. (b)with the original image, moonlanding.png.

Question 9. Comment on the differences in the performance of the three band-reject filters used, with respect to their ability to recover the original image.

Attachment:- Image Processing and Applications.rar

Reference no: EM132566106

Questions Cloud

How much must be presented as trade and other receivables : Customer's accounts reporting credit balances arising from advance payments 20,000. How much must be presented as trade and other receivables
What does the eoq model with quantity discounts : What does the EOQ model with quantity discounts attempts to determine?
How much are the depreciation expense : How much are the depreciation expense in 20x1 and the carrying amount of the equipment on December 31, 20x2, respectively
Name the company and would work for the company : What can you glean, if anything, about the ethical culture? What questions should you ask about the ethical culture if given the opportunity?
Calculate the maximum value of the frequency spectrum : Calculate the maximum value of the frequency spectrum (use MATLAB command FSmax = max(FS(:)), where FS is the frequency spectrum and FSmax is its maximum value
Identify three kinds of technology in an organization : In a two page persuasive essay, link organizational technology, value, and strategy. You may use a real-life organization you have researched (or worked for).
How many children have to come to kes week : Kids Early Start (KES) operates from Monday to Friday. KES provides childcare and educational services for inner-city kids between ages of 3 months
Linear development in learning approaches section : Discuss the phases of change noted in the Linear Development in Learning Approaches section in the Information Technology
Discuss one positive human resource issue : Select and discuss one positive human resource issue (policy or practice), and how a related challenging topic (current event) continues to evolve.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Develop your own matlab function for the fixed-point method

Develop your own Matlab function for the Fixed-point method. Use the approximate relative error as your stopping criterion. The first line of your function should be function [root,froot,ea,iter] = fixedpoint(func,xr,es,maxit)

  Write a mileage per gallons and miles per dollar program

Write a mileage per Gallons and miles per dollar calculator program using two functions, one to calculate MPG and one to calculate MPD. The application will prompt the user to type the odm readings, number of gallons and the cost in US dollars for..

  Implement runge-kutta integration scheme

Implement Runge-Kutta integration scheme with Δ = 0:005 for system (2),(3).Plot the phase curves (trajectories x(t); y(t) in the phase/state space).

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Implement newtons method in matlab

Implement the secant method in Matlab and Implement Newtons method in Matlab

  Find and plot the joint trajectories

ROBOTICS-INDUSTRIAL ROBOTS, ANALYSIS AND APPLICATIONS-Find and plot the joint trajectories which would move origin of the hand on a straight line

  Write a function with six inputs and no outputs

ENGR 1800 Programming with MATLAB Project - Write a function with 6 inputs and no outputs. The inputs will be

  Write a matlab function that generates sentences

Write a MATLAB function that generates sentences of the form (xy)^nz^n , where n is an integer > 0 provided as an argument to your function. This is how the function starts.

  What is the purpose of the diary command in matlab

Write the MATLAB code for adding the integers 6 and 3, and storing the sum in a variable x. Write the MATLAB code that takes the square root of 9

  Write a matlab program to analyze a patients ecg signal

Determine the Heart Rate of an ECG Recording of Unknown properties Using MATLAB - Write a MATLAB program to analyze a patient's ECG signal and provide warnings if the heart rate becomes either dangerously low or dangerously high.

  Implement stochastic model in matlab

Implement this stochastic model in MATLAB - The same fundamental model can be implemented as a stochastic model by use of the Gillespie algorithm.

  Recognition of colour

MATLAB for recognition of colour randomly using webcam realtime for RGB without external trigger in GUI.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd