-
1:
ms ← Median of I in s × s × s kernels
-
2:
ml ← Median of I in l × l × l kernels
-
3:
Γ0 ← 2 – means clustered, ml ≠ 0
-
4:
Γ0 ← Γ0 ∪ {(x, y, z)|ms(x, y, z) = max(ms)}
-
5:
Sequence: δ1 = max(ms), δ2, …, δi = δi−1 – 1, …, δN = min(ms)
-
6:
n ← 1
-
7:
-
8:
while
n < N
do
-
9:
Γn ← Γn−1 ∪ {(x, y, z)|ms(x, y, z) ≥ δn+1, ||Γn−1, (x, y, z)|| ≤ , |Ig (x, y, z)| < τ}
-
10:
Γn ← (Γn ⊕ sph1) ⊖ sph1
-
11:
n ← n + 1
-
12:
end
-
13:
IB ← ΓN-1 > 0
|