cuqi.implicitprior.RestorationPrior.restore#

RestorationPrior.restore(x, restoration_strength)#

This function allows us to restore the input x and returns the restored version of x.

Parameters:
  • x (ndarray) – parameter we want to restore.

  • restoration_strength (positive float) – Strength of the restoration operation. In the case where the restorator is a denoiser, this parameter might correspond to the noise level.