$ \DeclareMathOperator{\arccosh}{arccosh} \DeclareMathOperator*{\argmin}{arg\,min} \DeclareMathOperator{\Exp}{Exp} \newcommand{\geo}[2]{\gamma_{\overset{\frown}{#1,#2}}} \newcommand{\geoS}{\gamma} \newcommand{\geoD}[2]{\gamma_} \newcommand{\geoL}[2]{\gamma(#2; #1)} \newcommand{\gradM}{\nabla_{\M}} \newcommand{\gradMComp}[1]{\nabla_{\M,#1}} \newcommand{\Grid}{\mathcal G} \DeclareMathOperator{\Log}{Log} \newcommand{\M}{\mathcal M} \newcommand{\N}{\mathcal N} \newcommand{\mat}[1]{\mathbf{#1}} \DeclareMathOperator{\prox}{prox} \newcommand{\PT}[3]{\mathrm{PT}_{#1\to#2}#3} \newcommand{\R}{\mathbb R} \newcommand{\SPD}[1]{\mathcal{P}(#1)} \DeclareMathOperator{\Tr}{Tr} \newcommand{\tT}{\mathrm{T}} \newcommand{\vect}[1]{\mathbf{#1}} $

gradient of the second order TV mid point model

For data on a -dimensional grid this function returns the gradient of the first and second order total variation additive mid point model. The model is explained here and was developed in [1]. Since the model consists of the three terms

The gradient is given by the gradient of the squared distance, the gradient of total variation, and the gradient of second order total variation, where this model uses the mid point formulation.

Optional Parameters

epsilon
relax the TV (especially for by replacing any distance by and for each inner sum (over ) is relaxed to avoid subgradients in constant areas.
p
denotes the outer coupling of the differences

Matlab Documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%  gradientSecondOrderLog(M,f,alpha,beta) --- compute the gradient of
% d(x,f)^2 + alpha*TV(x) + beta*TV2(x), where TV(x) is d(x_i,x_i+1) and
% the second order terms are given by ||log_x_i x_i-1 + log_x_i x_i+1 ||
%
% INPUT
%    M : a manifold
%    f : given (original) data
%    x : value to take the gradient at
%    alpha : weight of TV
%    beta : weight of TV2
%
% OPTIONAL
%   'p       : (p=1) compute TV with p-norm coupling in the dimensions of the
%             data, i.e. anisotropic TV for p=1 and isotropic for p=2
%  epsilon   : compute the gradient of the epsilon-relaxed TV
% ---
% MVIRT - R. Bergmann, 2017-12-07

See also

References

  1. Bačák, M, Bergmann, R, Steidl, G and Weinmann, A (2016). A second order non-smooth variational model for restoring manifold-valued images. SIAM Journal on Scientific Computing. 38 A567–A597