cszn / SRMD

Learning a Single Convolutional Super-Resolution Network for Multiple Degradations (CVPR, 2018) (Matlab)

Home Page:http://openaccess.thecvf.com/content_cvpr_2018/papers/Zhang_Learning_a_Single_CVPR_2018_paper.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

degradation model

yiyunchen opened this issue · comments

In your paper: We set the rotation angle range to [0,π]. For the scaling of eigenvalues, it is set from 0.5 to 6, 8 and 10 for scale factors 2, 3 and 4, respectively.

In your code:
ksize = 15;
theta = pirand(1);
l1 = 0.1+9.9
rand(1);
l2 = 0.1+(l1-0.1)*rand(1);
kernel = anisotropic_Gaussian(ksize,theta,l1,l2); % double
kernel = single(kernel);

I would like to ask how to set the parameter of the gaussian blur kernel.
thank you!