
# The second order mid point model functional

Computes the second order mid point model

for manifold-valued data $x\in\M^{\vect{n}}$, where $u$ is some given data, that might only be given on a subset of the domain. Then the data term is reduced accordingly.For the prior both the total variation and the second order mid point model are employed. For more details, see [1].

### Matlab Documentation

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%  gradientSecondOrderLog(M,f,alpha,beta) the l^2-TV-TV2 mid point model
%
% 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 and TV2
% ---
% MVIRT - R. Bergmann, 2017-12-07