
# The mid point on a geodesic

The function returns a mid point of the two input points. Since the logarithm is deterministic and returns a unique value, this function is also deterministic, though the mid point might not be unique.

### Matlab Documentation

1
2
3
4
5
6
7
8
9
10
11
12
% m = midPoint(x,z)
%   Compute the (geodesic) mid point of x and z.
%
% INPUT
%    x,z : two point(sets) of manifold points
%
% OUTPUT
%      m : resulting mid point( sets)
%
% ---
% Manifold-valued Image Restoration Toolbox 1.0
% R. Bergmann ~ 2014-10-19 | 2015-01-29