@@ -241,6 +241,49 @@ class Generate5ttInputSpec(MRTrix3BaseInputSpec):
241241 desc = "input image / directory" ,
242242 )
243243 out_file = File (argstr = "%s" , mandatory = True , position = - 1 , desc = "output image" )
244+ t2_image = File (
245+ exists = True ,
246+ argstr = "-t2 %s" ,
247+ desc = "Provide a T2-weighted image in addition to the default T1-weighted image. (Only for 'fsl' algorithm)" ,
248+ )
249+ mask_file = File (
250+ exists = True ,
251+ argstr = "-mask %s" ,
252+ desc = "Provide a brain mask image. (Only for 'fsl' algorithm)" ,
253+ )
254+ premasked = traits .Bool (
255+ argstr = "-premasked" ,
256+ desc = "Assume that the input image is already brain-masked. (Only for 'fsl' algorithm)" ,
257+ )
258+ nocrop = traits .Bool (
259+ argstr = "-nocrop" ,
260+ desc = "Do not crop the image to the region of interest." ,
261+ )
262+ sgm_amyg_hipp = traits .Bool (
263+ argstr = "-sgm_amyg_hipp" ,
264+ desc = "Include the amygdala and hippocampus in the subcortical grey matter segment." ,
265+ )
266+ template = File (
267+ exists = True ,
268+ argstr = "-template %s" ,
269+ desc = "Provide an image that will form the template for the generated 5TT image. (Only for 'hsvs' algorithm)" ,
270+ )
271+ hippocampi = traits .Enum (
272+ "subfields" ,
273+ "first" ,
274+ "aseg" ,
275+ argstr = "-hippocampi %s" ,
276+ desc = "Choose the method used to segment the hippocampi. (Only for 'freesurfer' algorithm)" ,
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+ )
244287
245288
246289class Generate5ttOutputSpec (TraitedSpec ):
0 commit comments