Skip to main content
. Author manuscript; available in PMC: 2013 Aug 13.
Published in final edited form as: IEEE Trans Med Imaging. 2009 Apr 14;29(1):1–11. doi: 10.1109/TMI.2009.2021041
Deformable Model Pseudo-Code:
Initialize α1, α2, α3, and α4.
Begin A: Model Evolution.
Begin B: External Force Update.
 Step 1: Update fu and fv;
 Step 2: Update u and v using u′ = u + fu·Timestep, v′ = v + fv·Timestep
End B
 Update m as m=u2+v2
Begin C: Internal Feedback.
 Step 1: Compute internal force fint = −Km
 Step 2: Decompose fint into uint=fintum and vint=fintvm
 Step 3: Update u and v using u = u′+uint, v = v′+vint
End C
 Evaluate the change of u and v. If small End A
End A