cszn / SRMD

Learning a Single Convolutional Super-Resolution Network for Multiple Degradations (CVPR, 2018) (Matlab)
http://openaccess.thecvf.com/content_cvpr_2018/papers/Zhang_Learning_a_Single_CVPR_2018_paper.pdf
422 stars 80 forks source link

degradation model #17

Open yiyunchen opened 4 years ago

yiyunchen commented 4 years ago

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.9rand(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!