DPIR#

class deepinv.optim.DPIR(sigma=0.1, device='cuda')[source]#

Bases: BaseOptim

Deep Plug-and-Play (DPIR) algorithm for image restoration.

The method is based on half-quadratic splitting (HQS) and a PnP prior with a pretrained denoiser deepinv.models.DRUNet. The optimization is stopped early and the noise level for the denoiser is adapted at each iteration. See DPIR method for PnP image deblurring. for more details on the implementation, and how to adapt it to your specific problem.

This method uses a standard \(\ell_2\) data fidelity term.

The DPIR method is described in Zhang, K., Zuo, W., Gu, S., & Zhang, L. (2017). “Learning deep CNN denoiser prior for image restoration” In Proceedings of the IEEE conference on computer vision and pattern recognition (pp. 3929-3938).

Parameters:

sigma (float) – Standard deviation of the measurement noise, which controls the choice of the rest of the hyperparameters of the algorithm. Default is 0.1.

Examples using DPIR:#

DPIR method for PnP image deblurring.

DPIR method for PnP image deblurring.