Skip to content

Commit 2720e6a

Browse files
author
Korbinian Eckstein
committed
update the default number of iterations to new paper evaluation; increment minor version
1 parent 048bd22 commit 2720e6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tgv.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ end
107107

108108
function get_default_iterations(res, step_size)
109109
# Heuristic formula
110-
it = 2000 # default for res=[1,1,1]
110+
it = 3200 # default for res=[1,1,1]
111111
min_iterations = 1000 # even low res data needs at least 1000 iterations
112-
it = max(min_iterations, it / prod(res)^0.8)
113-
it /= step_size^0.6
112+
it = max(min_iterations, it / prod(res)^0.42)
113+
it /= step_size^0.6 # increasing the step size reduces the required iterations
114114
return round(Int, it)
115115
end
116116

0 commit comments

Comments
 (0)