Wrapper for returning the filename of the CT Template

ct_template_fname(
  type = c("brain", "mask", "image", "cormack", "stripped_cormack", "stripped_hu",
    "stripped_hu8")
)

Arguments

type

Type of image. image is the original image, brain is the skull stripped image, mask is brain mask. Values with cormack or stripped are in 2 millimeter resolution, and smoothed.

Value

Character filename

Examples

types = c("brain", "mask", "image", "cormack", "stripped_cormack", "stripped_hu", "stripped_hu8") sapply(types, ct_template_fname)
#> brain #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_unsmooth_SS_0.01.nii.gz" #> mask #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_unsmooth_SS_0.01_Mask.nii.gz" #> image #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_unsmooth.nii.gz" #> cormack #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_cormack.nii.gz" #> stripped_cormack #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_stripped_cormack.nii.gz" #> stripped_hu #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_stripped_hu.nii.gz" #> stripped_hu8 #> "/tmp/RtmpVN3Hid/temp_libpath28ef79a9b929/ichseg/scct_stripped_hu8.nii.gz"