fslmaths <input> -mas <mask> <output>
will apply the mask to the input file and then create a new masked
> I would like to extract spinal cord using FSL.
> I have already obtained filtered function data
> (filtered_func_data.nii), and the
> mask file (mask.nii) manually. How can I delete all other tissues,
> and extract
> spinal cord using pre-defined mask file?
> Thanks very much!