Skip to main content
. Author manuscript; available in PMC: 2011 Feb 8.
Published in final edited form as: Proc IEEE Comput Soc Conf Comput Vis Pattern Recognit. 2007 Jul 16;2007(17-22 June 2007):1–7. doi: 10.1109/CVPR.2007.383185
Algorithm 1 Projection of qInline graphic to Inline graphic
1: Initialize l(q)i = 1n. Let ε > 0.
2: whilel(q)‖ > ε do
3:  Compute l(q)i = −Inline graphici(q), i = 1, …, n.
4:  Calculate the Jacobian matrix, Ji,j = 〈∇Inline graphici(q), ∇Inline graphicj(q)〉 as follows,
Jij=302πqi(s)qj(s)ds,i=1,,n
.
5:  Solve the equation J(q)xT = lT(q) for x.
6:  Update q=q+i=1nxiGi(q)δ, δ > 0.
7:
q=qq,qq
8: end while