sanghyun-son / EDSR-PyTorch

PyTorch version of the paper 'Enhanced Deep Residual Networks for Single Image Super-Resolution' (CVPRW 2017)
MIT License
2.43k stars 669 forks source link

How to convert the benchmark images to low resolution image? #204

Closed ninesun127 closed 5 years ago

ninesun127 commented 5 years ago

from PIL import Image I use the image.resize(img,Image.BICUBIC)function. but it is diifferent to your low resolution image in floder。 so where can i get your code?

sanghyun-son commented 5 years ago

Hello.

We use MATLAB imresize('bicubic'). If you are having trouble using the MATLAB, there is a nice python implementation of the same function (Although it is a bit slow).

I think you can easily integrate it with your code. Please check the link

Thank you