nipype
nipype copied to clipboard
nipype/nipype/interfaces/fsl /preprocess.py - FAST other_priors
trafficstars
Summary
I am trying to use FAST inputs.other_priors unfortunately it has to be 3 input images and it always gives as a result gray matter, white matter and CSF, I am trying to use other probaility map but outcome doesn't change.
Expected behavior
FAST considers other inputed probability maps and does segmentation accordingly.
first.inputs.in_files = 'brain_anat.nii.gz'
first.inputs.other_priors = [
'ProbMaps/GM.nii.gz',
'ProbMaps/ROI_prob_map.nii.gz',
'ProbMaps/WM.nii.gz',
]
first.inputs.use_priors = True
first.inputs.no_bias = True
first.inputs.no_pve = True
# Set the output file name
first.inputs.out_basename = 'segmented_FSL_MNI_manual'
# Run the interface
res = first.run()