Objective: Software: Task 01: Code:: To Study Spatial Filters, Low Pass Filters (Mean Filters)
Objective: Software: Task 01: Code:: To Study Spatial Filters, Low Pass Filters (Mean Filters)
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