Image text transcribed for accessibility: In this project, you are asked to re-sample a 2D digital image. The specific requirements are: Down-sampling: Given an image, you are asked to down-sample the image by three times in both x-axis and y-axis. Please consider both center value and average value as the intensity of each new pixel. Up-sampling: Given an image, you are asked to up-sample the image by three times in both x-axis and y-axis. Please consider both constant value and bi-linear (BL) interpolation in each pixel-block (k = 1,2, ... 8). For bi-linear interpolation, you will need to consider three neighboring pixels (B, C, D) from the original image.