Question: Please write the matlab code 3. Task: (50) In this task, we use the monochrome image Lenna (i.e., lenna512.bmp in ICE) to do the following
Please write the matlab code

3. Task: (50) In this task, we use the monochrome image Lenna (i.e., lenna512.bmp in ICE) to do the following sub tasks, and let's call the original image Lenna as lo (a) lo->down-sampling to l1 with 1/2 size of lo (both horizontally and vertically) using mean value (programing it by yourself, instead of using Matlab function directly). Display it and explain your founding in the report; (10) (programing it by yourself, instead of using Matlab function directly). Display it and compare to the original image. Explain your founding in the report. (10) function), respectively. (10') nearest, bilinear, and bicubic, respectively. Compare the results of different interpolation methods. Explain your founding in the report. (20') (b) ->up-sampling to l' with the same size of lo using nearest neighbor interpolation (c) Repeat the (b) with bilinear interpolation and bicubic interpolation (you can use Matlab (d) Calculate the psnr between the original image lo and the up-sampled images, i.e. 3. Task: (50) In this task, we use the monochrome image Lenna (i.e., lenna512.bmp in ICE) to do the following sub tasks, and let's call the original image Lenna as lo (a) lo->down-sampling to l1 with 1/2 size of lo (both horizontally and vertically) using mean value (programing it by yourself, instead of using Matlab function directly). Display it and explain your founding in the report; (10) (programing it by yourself, instead of using Matlab function directly). Display it and compare to the original image. Explain your founding in the report. (10) function), respectively. (10') nearest, bilinear, and bicubic, respectively. Compare the results of different interpolation methods. Explain your founding in the report. (20') (b) ->up-sampling to l' with the same size of lo using nearest neighbor interpolation (c) Repeat the (b) with bilinear interpolation and bicubic interpolation (you can use Matlab (d) Calculate the psnr between the original image lo and the up-sampled images, i.e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
