Skip to content

Commit

Permalink
BUG: explicitly set metric parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
stnava committed Dec 18, 2022
1 parent 7b80689 commit 6d37a42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ants/registration/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1221,8 +1221,10 @@ def registration(

if do_quick == True:
syn_convergence = "[100x70x50x0,1e-6,10]"
metric_parameter = 32
syn_metric = "MI[%s,%s,1,%s]" % (f, m, metric_parameter)
else:
metric_parameter = 2
syn_convergence = "[100x70x50x20,1e-6,10]"
syn_metric = "CC[%s,%s,1,%s]" % (f, m, metric_parameter)
syn_shrink_factors = "8x4x2x1"
Expand Down

0 comments on commit 6d37a42

Please sign in to comment.