|
Algorithm 2 Filtering algorithm. |
-
1:
procedurefilter tucker(I, , , )
-
2:
form a zero filled initial output image X of the same dimensions as I
-
3:
for
do
-
4:
for
do
-
5:
GENERATE TENSOR(I, m, n, , ) ▹ generate filtering tensor
-
6:
if
then
-
7:
for
do
-
8:
calculate for k-axis using MDL
-
9:
end for
-
10:
end if
-
11:
reconstruct window Y with Tucker reconstruction and the ranks
-
12:
add window Y to X
-
13:
end for
-
14:
end for
-
15:
rescale window X
-
16:
return
X
-
17:
end procedure
|