0% found this document useful (0 votes)
75 views5 pages

Cea DSP

fsd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views5 pages

Cea DSP

fsd
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Complex Engineering Problem

DIGITAL SIGNAL PROCESSING

JAWAD UL HASSAN SHAH 180527

JEHANZEB KHAN 180493

HAMMAN HASSAN 180555

BEEP-6A

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING

AIR UNIVERISTY,ISLAMABAD

Abstract— In this paper, we are using the concept waveforms which are basically a function of time,
of Fourier and Inverse Fourier Transform in the space or some other variable. The Fourier transform
digital signal processing. After the invention of decomposes a waveform into a sinusoid and thus
digital computers, digital image processing took provides another way to represent a waveform.
various advantages over analog image processing.
A broad range of techniques and methods, in the 1.2 INVERSE FOURIER TRANSFORM:
form of a variety of algorithms, came into
A mathematical operation that transforms a function
existence. One can find a rich literature toady which
for a discrete or continuous spectrum into a function
can be applied to the input image data to solve
for the amplitude with the given spectrum; an
various problems. These problems may include
inverse transform of the Fourier transform.
converting images into digital data, calibration,
removing the build-up of noise and distortion 2. PROBLEM STATEMENT
during processing, etc. Since images are defined
Image de-noising is an important problem in image
over two dimensions (and perhaps more) digital
processing. Many techniques are available to
image processing may be modeled in the form of
remove noise from images. The problem statement
multidimensional systems. Digital image processing
for the complex engineering activity is given below:
has evolved rapidly with the development of
computers, mathematics, and the real-life demand
a) Understand how to store and read images.
for a variety of applications in wide range of areas b) Employing Matlab, design spatial as well
frequency domain approaches to solve the
1. INTRODUCTION
problem.
1.1 FOURIER TRANSFORM:
2.1 FOURIER TRANSFORM:
The Fourier transform is a mathematical function
that takes a time-based pattern as input and Students need to take Fourier Transform of the
determines the overall cycle offset, rotation speed noisy image. Note that students are not allowed to
and strength for every possible cycle in the given use built-in functions for computing the (Inverse)
pattern. The Fourier transform is applied to Fourier Transform.

Air University Islamabad, BEEP-6A ©2021 IEEE 1|P ag e


Complex Engineering Activity (CEA) June 25, 2021
3.2 SYNTAX
2.2 FILTERING:
clc
Students need to remove the noise via filtering in clear all
the frequency domain and compute the inverse I=imread('C:\JD\img.jpg');
figure(1), imshow(I)
Fourier Transform to recover the noise–free image.
title('original image')
2.2 TASKS %Converting into Gray Scale
G= rgb2gray(I);
1) Take the profile picture of one of your group figure(2), imshow(G)
members, load the image in Matlab covert that title('Gray Scale Image')
%Adding Salt & Pepper Noise upto 60%
image to grey scale image and then add the N= imnoise(G,'Salt & Pepper',0.6);
noise in the image up to 60 percent by using salt figure(3), imshow(N)
and pepper command. title('Noise image')
2) Implement Fourier Transform and inverse % Fourier Transform on the original image
N1=fft(N);
Fourier Transform in the Matlab. figure(4), imshow(N1)
3) Perform filtering in Matlab. title('Fourier Transformed Image')
4) Verify the result by showing the Original Image, %Inverse Fourier Transform on the image
Grey scaled image, noisy image, Fourier N2=ifft(N1);
figure(5), imshow(N2)
transformed image, frequency response of the title('Inverse Fourier Transformed
filter and the recovered image. Image')
5) Write the report in IEEE two column format, 1- %Providing filtering to the image
3 pages. F=medfilt2(N);
figure(6), imshow(F)
title('Filtered Image')
3 SOLUTIONS
%% Further Filtering of image
Following are the steps used in to perform complex F1= medfilt2(F);
engineering activity; F2= medfilt2(F1);
figure(7), imshow(F2)
3.1 MATLAB COMMANDS title('Double Filtered Image')
F3= medfilt2(F2);
 imread() figure(8), imshow(F3)
To read the figure in Matlab in the form of Matrix. title('triple Filtered Image')
F4= medfilt2(F3);
 imshow() figure(9), imshow(F4)
title('4 time Filtered Image')
To show the image in the Matlab.

 rgb2gray()
To convert the given image into gray scale.

 imnoise()
To generate noise in the image.

 fft()
To find the Fourier transform of the image.

 ifft()
To find the inverse Fourier transform of the image.

 medfilt2()
To perform the filtering operation on the image.
Complex Engineering Activity (CEA) June 25, 2021
3.3 OUTPUT
NOISED IMAGE
ORIGINAL IMAGE

GRAYSCALE IMAGE
FOURIER TRANSFORMED IMAGE
Complex Engineering Activity (CEA) June 25, 2021

INVERSE FOURIER TRANSFORMED IMAGE DOUBLE FILTERED IMAGE

FILTERED IMAGE TRIPPLE FILTERED IMAGE


Complex Engineering Activity (CEA) June 25, 2021

FOUR TIMES FILTERED IMAGE

4 CONCLUSION:

It is concluded here that we have learned and


perform the extra ordinary features of Matlab i-e
Digital image processing. We have seen a few of
the features of a good introductory image
processing program. There are many more complex
modifications you can make to the images. For
example, you can apply a variety of filters to the
image. The filters use mathematical algorithms to
modify the image. Some filters are easy to use,
while others require a great deal of technical
knowledge.

You might also like