|
80 | 80 |
|
81 | 81 |
|
82 | 82 | segment = pe.Node(interface=spm.Segment(), name="segment")
|
| 83 | +segment.inputs.save_bias_corrected = True |
83 | 84 |
|
84 | 85 | """Uncomment the following line for faster execution
|
85 | 86 | """
|
@@ -127,8 +128,8 @@ def get_vox_dims(volume):
|
127 | 128 | (coregister, segment,[('coregistered_source','data')]),
|
128 | 129 | (segment, normalize_func, [('transformation_mat','parameter_file')]),
|
129 | 130 | (segment, normalize_struc, [('transformation_mat','parameter_file'),
|
130 |
| - ('modulated_input_image', 'apply_to_files'), |
131 |
| - (('modulated_input_image', get_vox_dims), 'write_voxel_sizes')]), |
| 131 | + ('bias_corrected_image', 'apply_to_files'), |
| 132 | + (('bias_corrected_image', get_vox_dims), 'write_voxel_sizes')]), |
132 | 133 | (realign, slice_timing, [('realigned_files', 'in_files')]),
|
133 | 134 | (slice_timing, normalize_func, [('timecorrected_files', 'apply_to_files'),
|
134 | 135 | (('timecorrected_files', get_vox_dims), 'write_voxel_sizes')]),
|
|
0 commit comments