priors.TotalVariation

priors.TotalVariation#

class bartorch.priors.TotalVariation#

Bases: Regularizer

Isotropic total variation, \(\lambda \sum_r \| (\nabla x)_r \|_2\) (BART’s T).

\(G = \nabla\) stacks the first differences along axes; the \(\ell_2\) norm is over the derivative directions.

Parameters:
  • axes (int or tuple of int) – Axes to differentiate, as indices into the image’s shape.

  • weight (float) – \(\lambda\).

  • joint_axes (int or tuple of int, default=()) – Axes along which entries are thresholded jointly.

Also has the methods and properties of Regularizer.

Examples using TotalVariation#

5. Choosing a regularizer

5. Choosing a regularizer

8. Radial SENSE

8. Radial SENSE

10. Plug-and-play reconstruction

10. Plug-and-play reconstruction

Dynamic golden-angle radial MRI

Dynamic golden-angle radial MRI

Subspace-constrained T1 mapping

Subspace-constrained T1 mapping