Runs get.fsloutput() to extract FSLOUTPUTTYPE and then gets corresponding extension (such as .nii.gz)

get.imgext()

Value

Extension for output type