0% found this document useful (0 votes)
9 views3 pages

Objective: Software: Task 01: Code:: To Study Spatial Filters, Low Pass Filters (Mean Filters)

This document summarizes a lab experiment on applying mean filters to reduce noise in grayscale images. The objective was to study spatial low-pass filters by creating a 3x3 mean filter and applying it to an image, reducing intensity variation. Salt and pepper noise was added to another image and the mean filter was applied, reducing the noise. Increasing the filter size to 4x4 or 5x5 further reduced the noise.

Uploaded by

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

Objective: Software: Task 01: Code:: To Study Spatial Filters, Low Pass Filters (Mean Filters)

This document summarizes a lab experiment on applying mean filters to reduce noise in grayscale images. The objective was to study spatial low-pass filters by creating a 3x3 mean filter and applying it to an image, reducing intensity variation. Salt and pepper noise was added to another image and the mean filter was applied, reducing the noise. Increasing the filter size to 4x4 or 5x5 further reduced the noise.

Uploaded by

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

Lab # 05 Digital Image Processing Date: 29/03/2017

Objective: To Study Spatial Filters, Low pass Filters (Mean Filters).


Software:
MATLAB

Task 01: Create a Mean Filter of 3x3 and apply on a Gray scale image and observe the
result.

Code:

Output:

Page 1|3
Lab # 05 Digital Image Processing Date: 29/03/2017

Conclusion:
By applying a mean filter of 3x3 it reduces the amount of intensity variation between one pixel and the next. It is often used
to reduce noise in images.

Task 02: Introduce Salt & Pepper Noise on any Gray scale image. and apply Mean Filter,
and observe the Result.

Code:

Page 2|3
Lab # 05 Digital Image Processing Date: 29/03/2017

Output:

Conclusion:
By applying a mean filter of 3x3 after introducing salt & pepper noise, the noise in the image is reduced. If we increase the
value of mean filter to 4x4 or 5x5 the noise will reduce even more.

Page 3|3

You might also like