cuqi.implicitprior.RestorationPrior.restore#

RestorationPrior.restore(x, restoration_strength)#

This function allows us to restore the input x with the user-supplied restorator. Extra information about the restoration operation is stored in the RestorationPrior info attribute.

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.