Closed saikatdutta closed 3 years ago
Hi @saikatdutta , this script is originally from BasicSR(https://github.com/xinntao/BasicSR/pull/135). I asked Xintao when writing this script and got a positive answer: the function we called in the script performs the same as MATLAB imresize, while the other resize functions in OpenCV and PyTorch do not. In my experience, I have many train/test sets using both MATLAB and this script. They can be mixed without obvious kernel mismatching observed. A lot of people ignore this problem in their papers. Glad you ask it!
I was wondering if "generate_mod_LR_bic.py" and MATLAB imresize function generate similar downsampled images. More clearly, I want to know if I would find a performance difference if I use the MATLAB script to downsample instead of the python script (given that I use the given pretrained model for inference).