Algorithm Search⌘K

Definitionadvanced

Total generalized variation

Also called TGV.

A regularizer that balances first and higher order derivatives through an auxiliary field, which keeps edges like total variation without its staircasing.

Total generalized variation (TGV) is a convex regularizer of Bredies, Kunisch and Pock (2010) that measures an image by its first derivative minus an auxiliary vector field and by the symmetrized derivative of that field. Of second order it is TGVα2(u)=min⁡wα1∥∇u−w∥1+α0∥Ew∥1\mathrm{TGV}^2_\alpha(u) = \min_w \alpha_1\|\nabla u - w\|_1 + \alpha_0\|\mathcal{E}w\|_1. It is 0 on affine images, so smooth ramps cost little and do not turn into steps, while a jump still costs α1\alpha_1 times its height as in total variation.

Definition

Let Ω⊂Rd\Omega \subset \mathbb{R}^d be a bounded domain, u∈L1(Ω)u \in L^1(\Omega), k≥1k \ge 1 and weights α=(α0,…,αk−1)\alpha = (\alpha_0, \dots, \alpha_{k-1}) with all αl>0\alpha_l > 0. Let Symk(Rd)\mathrm{Sym}^k(\mathbb{R}^d) be the space of symmetric tensors of order kk. The total generalized variation of order kk is

TGVαk(u)=sup⁡{∫Ωu div⁡kv dx  :  v∈Cck(Ω,Symk(Rd)), ∥div⁡lv∥∞≤αl for l=0,…,k−1}.\mathrm{TGV}^k_\alpha(u) = \sup\Big\{\int_\Omega u\,\operatorname{div}^k v\,dx \;:\; v \in C_c^k(\Omega, \mathrm{Sym}^k(\mathbb{R}^d)),\ \|\operatorname{div}^l v\|_\infty \le \alpha_l \text{ for } l = 0, \dots, k - 1\Big\}.

For k=1k = 1 this is α0 TV(u)\alpha_0\,\mathrm{TV}(u). For k=2k = 2 the test fields vv are symmetric matrix fields with ∥v∥∞≤α0\|v\|_\infty \le \alpha_0 and ∥div⁡v∥∞≤α1\|\operatorname{div} v\|_\infty \le \alpha_1, and the supremum is equal to the minimum form

TGVα2(u)=min⁡w α1∥Du−w∥M+α0∥Ew∥M,\mathrm{TGV}^2_\alpha(u) = \min_{w} \ \alpha_1\|Du - w\|_{\mathcal{M}} + \alpha_0\|\mathcal{E}w\|_{\mathcal{M}},

where ww is a vector field of bounded deformation, Ew=12(∇w+∇w⊤)\mathcal{E}w = \tfrac12(\nabla w + \nabla w^\top) is its symmetrized derivative, and ∥⋅∥M\|\cdot\|_{\mathcal{M}} is the total variation norm of a measure.

Discrete form. For an image u∈Rn1×n2u \in \mathbb{R}^{n_1 \times n_2}, let ∇u\nabla u be the field of forward differences, one vector of R2\mathbb{R}^2 per pixel. For a field ww of the same shape, let Ew\mathcal{E}w have, per pixel, the symmetric matrix

(∂1w112(∂2w1+∂1w2)12(∂2w1+∂1w2)∂2w2)\begin{pmatrix} \partial_1 w_1 & \tfrac12(\partial_2 w_1 + \partial_1 w_2) \\ \tfrac12(\partial_2 w_1 + \partial_1 w_2) & \partial_2 w_2 \end{pmatrix}

with finite differences ∂i\partial_i. Then

TGVα2(u)=min⁡w α1∑pixels∣(∇u−w)ij∣+α0∑pixels∣(Ew)ij∣F,\mathrm{TGV}^2_\alpha(u) = \min_{w} \ \alpha_1\sum_{\text{pixels}}|(\nabla u - w)_{ij}| + \alpha_0\sum_{\text{pixels}}|(\mathcal{E}w)_{ij}|_F,

with the Euclidean length of a vector and the Frobenius norm ∣M∣F=m112+2m122+m222|M|_F = \sqrt{m_{11}^2 + 2m_{12}^2 + m_{22}^2} of a symmetric matrix. Both terms are isotropic in each pixel. The minimum over ww is part of the reconstruction problem, so a TGV model has the unknowns (u,w)(u, w) and is solved by a primal-dual method such as the Chambolle-Pock algorithm.

Basic properties (Bredies, Kunisch and Pock 2010). TGVαk\mathrm{TGV}^k_\alpha is a supremum of linear functionals, so it is convex and lower semicontinuous on L1(Ω)L^1(\Omega). It is a seminorm, and it is invariant under rotations and translations of the domain. Its kernel is the set of polynomials of degree less than kk: TGVα2(u)=0\mathrm{TGV}^2_\alpha(u) = 0 exactly when uu is affine.

Two bounds. Taking w=0w = 0 gives TGVα2(u)≤α1TV(u)\mathrm{TGV}^2_\alpha(u) \le \alpha_1\mathrm{TV}(u). For the infimal convolution ICTV(u)=min⁡u1+u2=uα1TV(u1)+α0TV(∇u2)\mathrm{ICTV}(u) = \min_{u_1 + u_2 = u}\alpha_1\mathrm{TV}(u_1) + \alpha_0\mathrm{TV}(\nabla u_2) of Chambolle and Lions (1997), taking w=∇u2w = \nabla u_2 gives TGVα2(u)≤ICTV(u)\mathrm{TGV}^2_\alpha(u) \le \mathrm{ICTV}(u).

Examples and non-examples

The examples are in one dimension with the discrete form min⁡wα1∑i∣(Du)i−wi∣+α0∑i∣wi+1−wi∣\min_w \alpha_1\sum_i|(Du)_i - w_i| + \alpha_0\sum_i|w_{i+1} - w_i|, the forward difference DD and α1=1\alpha_1 = 1. In one dimension this is an ℓ1\ell_1 problem whose minimum is reached with every wiw_i equal to one of the values (Du)j(Du)_j, so a check of finitely many ww gives the value.

signal uu DuDu TV TGVα2(u)\mathrm{TGV}^2_\alpha(u) the best ww
ramp (0,1,2,3)(0, 1, 2, 3) (1,1,1)(1, 1, 1) 3 0 w=Duw = Du
step (0,0,1,1)(0, 0, 1, 1) (0,1,0)(0, 1, 0) 1 min⁡(α1,2α0)\min(\alpha_1, 2\alpha_0) w=0w = 0 if 2α0≥α12\alpha_0 \ge \alpha_1
kink (0,1,2,2,2)(0, 1, 2, 2, 2) (1,1,0,0)(1, 1, 0, 0) 2 min⁡(α0,2α1)\min(\alpha_0, 2\alpha_1) w=Duw = Du if α0≤2α1\alpha_0 \le 2\alpha_1
  • Ramp. An affine signal has a constant slope, ww follows it at no cost, and TGV is 0. Total variation charges the full rise 3. This is why a TGV denoiser keeps a noisy ramp a ramp, while a total variation denoiser makes it a staircase.
  • Step. When 2α0≥α12\alpha_0 \ge \alpha_1, TGV charges a jump α1\alpha_1 times its height, the same as α1TV\alpha_1\mathrm{TV}. With a smaller α0\alpha_0 the field ww can follow the one sample jump as a spike, which is a grid effect. In the continuous setting a jump of height hh costs exactly α1h\alpha_1 h for every α0\alpha_0: DuDu has the point mass hδh\delta, and a field ww of bounded deformation has no point mass to cancel it.
  • Kink. At a change of slope by 1, TGV charges α0\alpha_0 times the change of slope, not the rise. Total variation charges the rise 2. In the continuous setting, with ww equal to the slope of each piece, a piecewise affine signal costs at most α0\alpha_0 times the sum of its slope changes plus α1\alpha_1 times the sum of its jumps.
  • Non-example: the sum of two orders. α1TV(u)+α0TV(∇u)\alpha_1\mathrm{TV}(u) + \alpha_0\mathrm{TV}(\nabla u) is not TGV. It does not vanish on affine images (the first term does not) and it is infinite at a jump (the second derivative of a step is not a measure). TGV is a minimum over the split ww, not a sum.
  • Non-example: ICTV. The infimal convolution splits uu itself into a first order and a second order part. It is an upper bound for TGV, and it can be strictly larger, as ww in TGV need not be the gradient of a function.
  • Non-example: second order only. TV(∇u)\mathrm{TV}(\nabla u) alone also vanishes on affine images, but it does not allow jumps, so a model with it blurs edges.
  • Total variation. TGVα1=α0 TV\mathrm{TGV}^1_\alpha = \alpha_0\,\mathrm{TV}. The ROF model is the first order case, and Chambolle's projection algorithm solves it.
  • Infimal convolution of TV and TV2. The earlier model of Chambolle and Lions (1997) and an upper bound for TGV of order 2.
  • Higher orders. TGVαk\mathrm{TGV}^k_\alpha for k≥3k \ge 3 is 0 on polynomials of degree less than kk and has a minimum form with k−1k - 1 auxiliary tensor fields. Order 2 is the most used in imaging.
  • Analysis regularizers. TGV is an analysis type regularizer: it applies ℓ1\ell_1 type norms to operators of (u,w)(u, w), not to the coefficients of a dictionary.
  • TGV in MRI. Knoll et al. (2011) use TGV2\mathrm{TGV}^2 with an undersampled Fourier operator in variational regularization. The ratio α0/α1\alpha_0/\alpha_1 sets the scale below which a slope change is treated as a jump; its value is chosen for the data.

References

  1. Kristian Bredies, Karl Kunisch and Thomas Pock, Total generalized variation, SIAM Journal on Imaging Sciences 3(3), 2010, pages 492 to 526 (the definition of TGV of order k, its kernel and convexity, the second order case and its discrete denoising model)
  2. Antonin Chambolle and Pierre-Louis Lions, Image recovery via total variation minimization and related problems, Numerische Mathematik 76(2), 1997, pages 167 to 188 (the infimal convolution of first and second order total variation)
  3. Florian Knoll, Kristian Bredies, Thomas Pock and Rudolf Stollberger, Second order total generalized variation (TGV) for MRI, Magnetic Resonance in Medicine 65(2), 2011, pages 480 to 491 (TGV of order 2 as the regularizer for undersampled MRI)
  4. Antonin Chambolle and Thomas Pock, An introduction to continuous optimization for imaging, Acta Numerica 25, 2016, pages 161 to 319 (the discrete TGV model and its primal-dual solution)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/6HDCHG/text.yaml