Skip to main content
. Author manuscript; available in PMC: 2013 Aug 6.
Published in final edited form as: J Xray Sci Technol. 2013;21(2):251–282. doi: 10.3233/XST-130369

Algorithm 6 Base Invariant Wavelet Active Shape Model (BIWASM)

(y~(0),Tb,w1,b)(yb,P1,w1); use Algorithm 5 to calculate the initial shape, the transformation, and scaling coefficients at the coarest scale.
while Until convergence do
y(k)y~(k); calculate a candidate shape by examining the neighboring region of each of the landmark points, and the corresponding control landmark points in y(k) are replaced with Sb.
xTb1(y(k)); calculate inverse transformatoin of y(k)
wlW(x); DSWT.
blPlT(wlwl),l0; calculate the shape parameter fitting wl using (19).
 Apply the constraints on bl, l ≥ 0 using (6)
wlwl+Pbl,l0; generate wavelet coefficients using (17)
xW1(w1,b{wl,l0}); inverse DSWT.
y~(k+1)Tb(x)
end while