yuanzhi-zhu / DiffPIR

"Denoising Diffusion Models for Plug-and-Play Image Restoration", Yuanzhi Zhu, Kai Zhang, Jingyun Liang, Jiezhang Cao, Bihan Wen, Radu Timofte, Luc Van Gool.
https://yuanzhi-zhu.github.io/DiffPIR/
MIT License
368 stars 31 forks source link

What are the functions of FB, FBC, F2B and FBFy in your code? #10

Closed syf0518 closed 1 year ago

syf0518 commented 1 year ago

Thanks for your contribution, it is wonderful.I see FB, FBC, F2B and FBFy are used for FFT in your codes, but I don't know the exact functions of them.I would appreciate it if you could tell me.

yuanzhi-zhu commented 1 year ago

Hi,

these variables are indeed some intermediate variables produced by this function https://github.com/yuanzhi-zhu/DiffPIR/blob/36e81bc5e80408766830f45674d8f52af79e421b/utils/utils_sisr.py#L78 and then used to calculate the data-solution as in eq(14) in DPIR https://github.com/yuanzhi-zhu/DiffPIR/blob/36e81bc5e80408766830f45674d8f52af79e421b/utils/utils_sisr.py#L65