|
@@ -12,9 +12,9 @@ def full_registration(fixed, moving, output='full_trans.nii', transform_pre=''):
|
|
|
metric=['CC', 'MI'] * 3,
|
|
|
convergence_threshold=[1.e-7],
|
|
|
number_of_iterations=[[1000, 1000, 1000, 1000], [1000, 1000, 1000, 1000],
|
|
|
- [1000, 1000, 1000, 1000, 1000]],
|
|
|
- smoothing_sigmas=[[4, 4, 2, 2], [4, 4, 2, 2], [4, 2, 2, 2, 1]],
|
|
|
- shrink_factors=[[32, 16, 8, 4], [32, 16, 8, 4], [16, 8, 4, 2, 1]],
|
|
|
+ [1000, 1000, 1000, 1000]],
|
|
|
+ smoothing_sigmas=[[4, 4, 2, 2], [4, 4, 2, 2], [4, 2, 2, 1]],
|
|
|
+ shrink_factors=[[32, 16, 8, 4], [32, 16, 8, 4], [16, 8, 4, 2]],
|
|
|
initial_moving_transform_com=1,
|
|
|
interpolation='BSpline',
|
|
|
metric_weight=[0.5] * 6,
|