Download data such as prefabricated templates and spatial priors.
getANTsXNetData( fileId = c("show", "biobank", "croppedMni152", "croppedMni152Priors", "deepFlashPriors", "deepFlashTemplateT1", "deepFlashTemplateT1SkullStripped", "deepFlashTemplateT2", "deepFlashTemplateT2SkullStripped", "mprage_hippmapp3r", "protonLungTemplate", "ctLungTemplate", "luna16LungPriors", "xrayLungPriors", "priorDktLabels", "priorDeepFlashLeftLabels", "priorDeepFlashRightLabels", "protonLobePriors", "S_template3", "adni", "ixi", "kirby", "mni152", "nki", "nki10", "oasis", "magetTemplate", "magetTemplateBrainMask", "magetCerebellumTemplate", "magetCerebellumTemplatePriors", "magetCerebellumxTemplate0GenericAffine"), targetFileName, antsxnetCacheDirectory = NULL )
fileId | one of the permitted file ids or pass "show" to list all valid possibilities. Note that most require internet access to download. |
---|---|
targetFileName | optional target filename |
antsxnetCacheDirectory | destination directory for storing the downloaded
template and model weights. Since these can be resused, if
|
filename string
See https://figshare.com/authors/Nick_Tustison/441144 or https://figshare.com/authors/Brian_Avants/418551 for some more descriptions
Avants BB
if (FALSE) { net <- getANTsXNetData("biobank") }