Homwork 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

College of Engineering

Electrical Engineering Department

Semester 432 (2022)

EE301– Homework #1
Signals and Systems Analysis
Submitted by

Student’s Name: Mahmoud Khalaf Alothman


PIN: 411116165

Instructor: Dr. Abdulaziz Alorf

Date: 20/4/2022
The Median filter.
Median filtering is a nonlinear method used to remove noise from images. It is widely used as it is
very effective at removing noise while preserving edges. It is particularly effective at removing
‘salt and pepper’ type noise. The median filter works by moving through the image pixel by pixel,
replacing each value with the median value of neighboring pixels. The pattern of neighbors is
called the "window", which slides, pixel by pixel, over the entire image. The median is calculated
by first sorting all the pixel values from the window into numerical order, and then replacing the
pixel being considered with the middle (median) pixel value.

Gaussian filter
A Gaussian filter is a linear filter that also smooths an image and reduces noise. However,
unlike a mean filter – for which even the furthest away pixels in the neighborhood influence the
result by the same amount as the closest pixels – the smoothing of a Gaussian filter is weighted
so that the influence of a pixel decreases with its distance from the filter center.
the convolution operator is linear
(αf+βh)∗g=α(f∗g)+β(h∗g)
where α,β∈Rα, and f,g,h: R2→R satisfy the conditions for the existence of the convolution
integral. Then simply set g=G.

the Box filter


A box blur (also known as a box linear filter) is a spatial domain linear filter in which each pixel in
the resulting image has a value equal to the average value of its neighboring pixels in the input
image. It is a form of low-pass ("blurring") filter. A 3 by 3 box blur ("radius 1") can be written as matrix

You might also like