Due: 11:59 pm, December 6th, 2020
Welcome to the third assignment of this course! The objective of the Assignment 3 is to
The following figure demonstrates the structure of assignment 3. Given a gray image, add each type of the noises to it, then apply different filters to the contaminated image to reduce the noise as much as you can. Finally, use the Peak Signal-to-Noise (PSNR) metric to evaluate your noise removal effect. The requirement is as follows:
Add Gaussian noise to the original image with mean =0, standard deviation =0.05, 0.1, 0.5, 1.0.
Add Salt-and-Pepper noise to the original image.
Apply mean filter and gaussian filter to the contaminated image by Gaussian noise.
Apply median filter to the image contaminated by Salt-and-Pepper noise.
Calculate PSNR of the filtered image to see the noise removal effect.
Noting: the specific value of the mean and gaussian filters are specified by yourself.
If you could implement the filtering process by yourself instead of using the opencv library function, you will be awarded extra scores.
The expression for PSNR is:
where
Use Pycharm as python editior. You maybe need to prepare such packages:
Make sure your code can be run completely bug-free. Our staff will run the codes, so make sure nothing stop the running.
Following the procedure to submit your work:
"DIP07010667-hw3-{name}-{id}-2020autumn".format(name="john", id="123456")
for instance: DIP07010667-hw3-john-123456-2020autumn
*2020-2021 1st term, DIP 07010667 : Digital Image Processing. International Exchange Center, Weifang University of Science and Technology. Course Instructor: Guoxu Liu.