Page 1 of 1

Task 4: Write a Matlab code to do the following: a) Read a ‘rice.png’ image b) Make the image smaller to [60, 60]

Posted: Fri May 20, 2022 2:50 pm
by answerhappygod
Task 4: Write a Matlab code to do the following:
a) Read a ‘rice.png’ image
b) Make the image smaller to [60, 60] and call it
small_img
c) Enlarge the output image from step 2
(small_img) into [300, 300] using nearest neighbor interpolation.

d) Enlarge the output image from step 2
(small_img) into [300, 300] using Bilinear interpolation.
e) Enlarge the output image from step 2
(small_img) into [300, 300] using Bicubic interpolation.