Skip to main content
. Author manuscript; available in PMC: 2017 Jun 1.
Published in final edited form as: IEEE Trans Med Imaging. 2016 Jan 18;35(6):1532โ€“1543. doi: 10.1109/TMI.2016.2519264

Algorithm 1.

Regression-based Hierarchical Deformation

Data: I - testing CT scan, ๐’Ÿ - learned multi-task random
ย ย forest, and ๐’ฎinit - initialized shape model
Result: ๐’ฎ - the final segmentation
Notation: World2Voxel(I, p) outputs voxel coordinate
of vertex p on image I, ๐’Ÿ(I, x) returns the 3D
displacement of voxel x on the image I, and ฮ˜ (K)
denotes valid transform matrix set under transform type
K
Subroutine Deform(I, ๐’Ÿ, ๐’ฎ, K)
graphic file with name nihms792304t1.jpg for Iteration โ† 1 to MaxIteration do
graphic file with name nihms792304t2.jpg ๐’ฎdeform = ๐’ฎ
foreach vertex p โˆˆ ๐’ฎdeform do
graphic file with name nihms792304t3.jpg x = World2Voxel(I, p)
p = p + ๐’Ÿ(I, x)
end
if K โˆˆ {Translation, Rigid, Affine} then
graphic file with name nihms792304t4.jpg Estimate transform matrix T โˆˆ โ„4ร—4:
ย ย argminTโ€–T (๐’ฎ) โˆ’ ๐’ฎdeformโ€–2, s.t., T โˆˆ ฮ˜ (K)
๐’ฎ = T (๐’ฎ)
else
graphic file with name nihms792304t5.jpg ๐’ฎ = SmoothSurface(๐’ฎdeform)
๐’ฎ = RemeshSurface(๐’ฎ)
end
end
return ๐’ฎ
Algorithm HierarchicalDeform (I, ๐’Ÿ, ๐’ฎinit)
graphic file with name nihms792304t6.jpg ๐’ฎ =Deform(I, ๐’Ÿ, ๐’ฎinit, โ€œTranslationโ€)
๐’ฎ =Deform(I, ๐’Ÿ, ๐’ฎ,ย ย โ€œRigidโ€)
๐’ฎ =Deform(I, ๐’Ÿ, ๐’ฎ,ย ย โ€œAffineโ€)
๐’ฎ =Deform(I, ๐’Ÿ, ๐’ฎ,ย ย โ€œFreeFormโ€)
return ๐’ฎ