Click4Ai

346.

Hard

Super Resolution

=====================

In this problem, you will implement the super resolution algorithm, which is a technique used in computer vision to increase the resolution of an image. This is achieved by using a neural network to predict the missing pixels in the image.

Example:

Suppose we have a low-resolution image of a landscape. We want to increase the resolution of the image to make it look sharper.

Constraints:

  • The input image should be a low-resolution image.
  • The output image should be a high-resolution image.
  • The super resolution algorithm should be implemented using a neural network.
  • The algorithm should use the mean squared error to calculate the loss.
  • Test Cases

    Test Case 1
    Input: ['low_res_image.jpg', 2]
    Expected: high_res_image.jpg
    Test Case 2
    Input: ['low_res_image.jpg', 3]
    Expected: high_res_image.jpg
    + 3 hidden test cases