@@ -240,6 +240,50 @@ class Generate5ttInputSpec(MRTrix3BaseInputSpec):
240
240
desc = "input image / directory" ,
241
241
)
242
242
out_file = File (argstr = "%s" , mandatory = True , position = - 1 , desc = "output image" )
243
+ t2_image = File (
244
+ exists = True ,
245
+ argstr = "-t2 %s" ,
246
+ desc = "Provide a T2-weighted image in addition to the default T1-weighted image. (Only for 'fsl' algorithm)" ,
247
+ )
248
+ mask_file = File (
249
+ exists = True ,
250
+ argstr = "-mask %s" ,
251
+ desc = "Provide a brain mask image. (Only for 'fsl' algorithm)" ,
252
+ )
253
+ premasked = traits .Bool (
254
+ argstr = "-premasked" ,
255
+ desc = "Assume that the input image is already brain-masked. (Only for 'fsl' algorithm)" ,
256
+ )
257
+ nocrop = traits .Bool (
258
+ argstr = "-nocrop" ,
259
+ desc = "Do not crop the image to the region of interest." ,
260
+ )
261
+ sgm_amyg_hipp = traits .Bool (
262
+ argstr = "-sgm_amyg_hipp" ,
263
+ desc = "Include the amygdala and hippocampus in the subcortical grey matter segment." ,
264
+ )
265
+ template = File (
266
+ exists = True ,
267
+ argstr = "-template %s" ,
268
+ desc = "Provide an image that will form the template for the generated 5TT image. (Only for 'hsvs' algorithm)" ,
269
+ )
270
+ hippocampi = traits .Enum (
271
+ "subfields" ,
272
+ "first" ,
273
+ "aseg" ,
274
+ argstr = "-hippocampi %s" ,
275
+ desc = "Choose the method used to segment the hippocampi. (Only for 'freesurfer' algorithm)" ,
276
+ usedefault = False ,
277
+ )
278
+ white_stem = traits .Bool (
279
+ argstr = "-white_stem" ,
280
+ desc = "Classify the brainstem as white matter. (Only for 'hsvs' algorithm)" ,
281
+ )
282
+ lut_file = File (
283
+ exists = True ,
284
+ argstr = "-lut %s" ,
285
+ desc = "Manually provide path to the lookup table on which the input parcellation image is based. (Only for 'freesurfer' algorithm)" ,
286
+ )
243
287
244
288
245
289
class Generate5ttOutputSpec (TraitedSpec ):
0 commit comments