Skip to main content
. Author manuscript; available in PMC: 2014 Apr 26.
Published in final edited form as: Inf Process Med Imaging. 2013;23:619–631. doi: 10.1007/978-3-642-38868-2_52

Algorithm 1 Line search on Riemannian manifold

Input: A set of data Inline graphic = {s1, …, sn} on the manifold Inline graphic, coefficients C ∈ ℝn×m and initial dictionary atoms a10,,am0.
Output: The optimal dictionary atoms ( a1,,am) that minimize the cost function f(a1, …, am).
  1. Set scalars α > 0, β, σ ∈ (0, 1) and initialize k = 0.

  2. Compute grad f(a1k,,amk)=(f(a1k)a1,,f(amk)am)

  3. Pick, ηk=(η1k,,ηmk)=grad f, where ηikTaikM.

  4. Find the smallest t such that f(expa1k(αβtη1k),,expamk(αβtηmk))f(a1k,,amk)i=1mσαβtηikaik.

  5. Set, aik+1=expaik(αβtηik),i=1,,m.

  6. Stop if f does not change much, otherwise set k = k + 1 and go back to step 2.