Problem 1: WARM-UP
- (a) Thegoalofthisproblemistogetfamiliarwithconvertingacolorimagetoa grayscale one. Please convert the given color image, sample1.jpg, to a grayscale image named 1_result.jpg.
- (b) Pleasealsoperformhorizontalflippingonsample1.jpgandoutputtheresult as 2_result.jpg.
sample1.jpg
Problem 2: IMAGE ENHANCEMENT
Given gray-level images sample2.jpg, sample3.jpg and sample4.jpg, please follow the instructions below to create several new images.
sample2.jpg sample3.jpg
- (a) Decreasethebrightnessofsample2.jpgbydividingtheintensityvaluesby5
and output the image as 3_result.jpg.
- (b) Increasethebrightnessof3_result.jpgbymultiplyingtheintensityvaluesby
5 and output the image as 4_result.jpg.
- (c) Plotthehistogramsofsample2.jpg,3_result.jpgand4_result.jpg.Whatcan
you observe from these three histograms?
- (d) Performglobalhistogramequalizationonsample3.jpgandoutputtheresults
as 5_result.jpg.
- (e) Performlocalhistogramequalizationonsample3.jpgandoutputtheresults
as 6_result.jpg.
- (f) Plot the histograms of 5_result.jpg and 6_result.jpg. What is the main difference between local and global histogram equalization?
sample4.jpg
(g) Pleasedesignatransferfunctiontoenhancesample4.jpgasbestasyoucan. Output the result as 7_result.jpg and specify all the parameters.
Show the resultant image(s) and the corresponding histogram(s). Please provide some discussions on the results as well.
Problem 3: NOISE REMOVAL (30 points)
Given an original image named sample5.jpg and two images corrupted by noise as shown in sample6.jpg and sample7.jpg, please follow the instructions below to create some new images.
- (a) Design proper filters to remove noise from sample6.jpg and sample7.jpg, and output the resultant images as 8_result.jpg and 9_result.jpg, respectively.
Please detail the steps of the denoising process and specify all the corresponding parameters. Provide some discussions about the reason why those filters and parameters are chosen. - (b) Compute the PSNR values of 8_result.jpg and 9_result.jpg and provide some discussions.
sample5.jpg
sample6.jpg
sample7.jpg
Appendix
Problem 1: WARM-UP
sample1.jpg 400×560 color Problem 2: IMAGE ENHANCEMENT
sample2.jpg sample3.jpg sample4.jpg
400×560 gray-scale 400×560 gray-scale 400×560 gray-scale
Problem 3: NOISE REMOVAL
sample5.jpg sample6.jpg sample7.jpg
400×560 gray-scale 400×560 gray-scale 400×560 gray-scale



