@@ -241,7 +241,7 @@ def create_reg_workflow(name='registration'):
241
241
242
242
warpmean = pe .Node (ants .ApplyTransforms (),
243
243
name = 'warpmean' )
244
- warpmean .inputs .input_image_type = 3
244
+ warpmean .inputs .input_image_type = 0
245
245
warpmean .inputs .interpolation = 'Linear'
246
246
warpmean .inputs .invert_transform_flags = [False , False ]
247
247
warpmean .inputs .terminal_output = 'file'
@@ -257,7 +257,7 @@ def create_reg_workflow(name='registration'):
257
257
warpall = pe .MapNode (ants .ApplyTransforms (),
258
258
iterfield = ['input_image' ],
259
259
name = 'warpall' )
260
- warpall .inputs .input_image_type = 3
260
+ warpall .inputs .input_image_type = 0
261
261
warpall .inputs .interpolation = 'Linear'
262
262
warpall .inputs .invert_transform_flags = [False , False ]
263
263
warpall .inputs .terminal_output = 'file'
@@ -449,7 +449,7 @@ def create_fs_reg_workflow(name='registration'):
449
449
Transform the mean image. First to anatomical and then to target
450
450
"""
451
451
warpmean = Node (ants .ApplyTransforms (), name = 'warpmean' )
452
- warpmean .inputs .input_image_type = 3
452
+ warpmean .inputs .input_image_type = 0
453
453
warpmean .inputs .interpolation = 'Linear'
454
454
warpmean .inputs .invert_transform_flags = [False , False ]
455
455
warpmean .inputs .terminal_output = 'file'
@@ -464,7 +464,7 @@ def create_fs_reg_workflow(name='registration'):
464
464
warpall = pe .MapNode (ants .ApplyTransforms (),
465
465
iterfield = ['input_image' ],
466
466
name = 'warpall' )
467
- warpall .inputs .input_image_type = 3
467
+ warpall .inputs .input_image_type = 0
468
468
warpall .inputs .interpolation = 'Linear'
469
469
warpall .inputs .invert_transform_flags = [False , False ]
470
470
warpall .inputs .terminal_output = 'file'
0 commit comments