Skip to main content
. Author manuscript; available in PMC: 2011 Jul 11.
Published in final edited form as: Conf Comput Vis Pattern Recognit Workshops. 2010 Jun 13:178–185. doi: 10.1109/CVPRW.2010.5543593
Algorithm 2: Vascular tree reconstruction
begin
Initialize D(0) by the Euclidean distance between any pair of vertices in Inline graphic*;
while fc(D(k)) – fc(D(k+1)) > ε do
  /*Optimize connections at vertices in each category, refer (5) */
  for Category = 1 to 3 do
   Update the tree by RMST(D(k));
   Calculate { gnc} for the current category;
   Sort gnc to select Inline graphicopt with first Ng greatest gnc in the current category;
   Update D(k)D(k+1) by (12);
Inline graphic^ = RMST(D(final));
end