Skip to main content
. Author manuscript; available in PMC: 2009 May 13.
Published in final edited form as: Int J Imaging Syst Technol. 2008;18(5-6):336–344. doi: 10.1002/ima.20170

Algorithm 3.

Tasks performed by the manager processor Po

1: (I +1) ← number of processors available
2: calculate (Vi,Ψ,Inline graphic i), for 1 ≤ iI
3: for i ← 1 to I do
4: SignaliInit
5: wait until Signali = Finished, for 1 ≤ iI
6: k = 1
7: while kK do
8: Strengthk
9: for i ← 1 to I do
10:   SignaliProcess
11: wait until Signali = Finished, for 1 ≤ iI
12: for i ← 1 to I do
13:   while Qi ≠ ∅ do
14:    remove a (d,c,m) from Qi
15:    if cVj then insert (d,c,m) into Inline graphic j
16: if Inline graphic i = ∅, for 1 ≤ iI, then kk +1
17: for i ← 1 to I do
18: SignaliTerminate
19: combine the I partial M-semisegmentations into the final σ