@@ -53,18 +53,19 @@ def PlugAndPlay(
5353) -> NDArray | tuple [NDArray , ...]:
5454 r"""Plug-and-Play Priors with any proximal algorithm of choice
5555
56- Solves the following minimization problem using any proximal a
57- lgorithm of choice:
56+ Solves the following minimization problem using any proximal
57+ algorithm of choice:
5858
5959 .. math::
6060
61- \mathbf{x},\mathbf{z} = \argmin_{\mathbf{x}}
62- f(\mathbf{x}) + \lambda g(\mathbf{x})
61+ \mathbf{x} = \argmin_{\mathbf{x}}
62+ f(\mathbf{x}) + \sigma g(\mathbf{x})
6363
6464 where :math:`f(\mathbf{x})` is a function that has a known gradient or
65- proximal operator and :math:`g(\mathbf{x})` is a function acting as implicit
66- prior. Implicit means that no explicit function should be defined: instead,
67- a denoising algorithm of choice is used. See Notes for details.
65+ proximal operator and :math:`g(\mathbf{x})` is a function acting as an
66+ implicit prior. Implicit means that no explicit function should be
67+ defined: instead, a denoising algorithm of choice is used. See Notes
68+ for details.
6869
6970 Parameters
7071 ----------
@@ -97,25 +98,28 @@ def PlugAndPlay(
9798 .. math::
9899
99100 \mathbf{x}^{k+1} = \prox_{\tau f}(\mathbf{z}^{k} - \mathbf{u}^{k})\\
100- \mathbf{z}^{k+1} = \operatorname{Denoise}(\mathbf{x}^{k+1} + \mathbf{u}^{k}, \tau \lambda )\\
101+ \mathbf{z}^{k+1} = \operatorname{Denoise}(\mathbf{x}^{k+1} + \mathbf{u}^{k}, \tau \sigma )\\
101102 \mathbf{u}^{k+1} = \mathbf{u}^{k} + \mathbf{x}^{k+1} - \mathbf{z}^{k+1}
102103
103104 where :math:`\operatorname{Denoise}` is a denoising algorithm of choice. This rather peculiar step originates
104105 from the intuition that the optimization process associated with the z-update can be interpreted as a denoising
105106 inverse problem, or more specifically a MAP denoiser where the noise is gaussian with zero mean and variance
106- equal to :math:`\tau \lambda `. For this reason any denoising of choice can be used instead of a function with
107+ equal to :math:`\tau \sigma `. For this reason any denoising of choice can be used instead of a function with
107108 known proximal operator.
108109
109- Finally, whilst the :math:`\tau \lambda ` denoising parameter should be chosen to
110+ Finally, whilst the :math:`\tau \sigma ` denoising parameter should be chosen to
110111 represent an estimate of the noise variance (of the denoiser, not the data of the problem we wish to solve!),
111112 special care must be taken when setting up the denoiser and calling this optimizer. More specifically,
112- :math:`\lambda ` should not be passed to the optimizer, rather set directly in the denoiser.
113+ :math:`\sigma ` should not be passed to the optimizer, rather set directly in the denoiser.
113114 On the other hand :math:`\tau` must be passed to the optimizer as it is also affecting the x-update;
114- when defining the denoiser, ensure that :math:`\tau` is multiplied to :math:`\lambda ` as shown in the tutorial.
115+ when defining the denoiser, ensure that :math:`\tau` is multiplied to :math:`\sigma ` as shown in the tutorial.
115116
116- Alternative, as suggested in [2]_, the :math:`\tau` could be set to 1. The parameter :math:`\lambda ` can then be set
117+ Alternative, as suggested in [2]_, the :math:`\tau` could be set to 1. The parameter :math:`\sigma ` can then be set
117118 to maximize the value of the denoiser and a second tuning parameter can be added directly to :math:`f`.
118119
120+ References
121+ ----------
122+
119123 .. [1] Venkatakrishnan, S. V., Bouman, C. A. and Wohlberg, B.
120124 "Plug-and-Play priors for model based reconstruction",
121125 IEEE. 2013.
0 commit comments