Parameterized image restoration with diffusion and gradient priors | Synapse