@@ -70,13 +70,27 @@ class RobustFOVInputSpec(FSLCommandInputSpec):
7070 out_roi = File (desc = "ROI volume output name" , argstr = "-r %s" ,
7171 name_source = ['in_file' ], hash_files = False ,
7272 name_template = '%s_ROI' )
73+ brainsize = traits .Int (170 , desc = 'size of brain in z-dimension (default 170mm/150mm)' ,
74+ argstr = '-b %d' , usedefault = False )
75+ out_transform = File (desc = "Transformation matrix in_file to out_roi output name" , argstr = "-m %s" ,
76+ name_source = ['in_file' ], hash_files = False ,
77+ name_template = '%s_to_ROI' , usedefault = False , mandatatory = False )
7378
7479
7580class RobustFOVOutputSpec (TraitedSpec ):
7681 out_roi = File (exists = True , desc = "ROI volume output name" )
82+ out_transform = File (exists = True , desc = "Transformation matrix in_file to out_roi output name" )
7783
7884
7985class RobustFOV (FSLCommand ):
86+ """robustfov command has been introduced in FSL5. It automatically crops an
87+ image removing lower head and neck.
88+ Input of brainsize in optional (default 170mm/150mm)
89+ Output of ROI and transformation matrix is optional.
90+ Interface is stable 5.0.0 to 5.0.9
91+ But default brainsize changed from 150mm to 170mm.
92+ """
93+
8094 _cmd = 'robustfov'
8195 input_spec = RobustFOVInputSpec
8296 output_spec = RobustFOVOutputSpec
0 commit comments