Downloads pretrained network/weights.
getPretrainedNetwork( fileId = c("show", "antsxnetWmh", "antsxnetWmhOr", "arterialLesionWeibinShi", "brainAgeGender", "brainAgeFmrib", "brainAgeDeepBrainNet", "brainExtraction", "brainExtractionT1", "brainExtractionT1v1", "brainExtractionRobustT1", "brainExtractionT2", "brainExtractionRobustT2", "brainExtractionRobustT2Star", "brainExtractionFLAIR", "brainExtractionRobustFLAIR", "brainExtractionBOLD", "brainExtractionRobustBOLD", "brainExtractionFA", "brainExtractionRobustFA", "brainExtractionNoBrainer", "brainExtractionInfantT1T2", "brainExtractionInfantT1", "brainExtractionInfantT2", "brainSegmentation", "brainSegmentationPatchBased", "bratsStage1", "bratsStage2", "cerebellumWhole", "cerebellumTissue", "cerebellumLabels", "claustrum_axial_0", "claustrum_axial_1", "claustrum_axial_2", "claustrum_coronal_0", "claustrum_coronal_1", "claustrum_coronal_2", "ctHumanLung", "dbpn4x", "deepFlash", "deepFlashLeftT1", "deepFlashRightT1", "deepFlashLeftBoth", "deepFlashRightBoth", "deepFlashLeftT1Hierarchical", "deepFlashRightT1Hierarchical", "deepFlashLeftBothHierarchical", "deepFlashRightBothHierarchical", "deepFlashLeftT1Hierarchical_ri", "deepFlashRightT1Hierarchical_ri", "deepFlashLeftBothHierarchical_ri", "deepFlashRightBothHierarchical_ri", "deepFlashLeft8", "deepFlashRight8", "deepFlashLeft16", "deepFlashRight16", "deepFlashLeft16new", "deepFlashRight16new", "denoising", "dktInner", "dktOuter", "dktOuterWithSpatialPriors", "ex5_coronal_weights", "ex5_sagittal_weights", "allen_brain_mask_weights", "elBicho", "functionalLungMri", "hippMapp3rInitial", "hippMapp3rRefine", "hyperMapp3r", "hypothalamus", "koniqMBCS", "koniqMS", "koniqMS2", "koniqMS3", "lungCtWithPriorsSegmentationWeights", "maskLobes", "mriSuperResolution", "mriModalityClassification", "protonLungMri", "protonLobes", "pulmonaryArteryWeights", "sixTissueOctantBrainSegmentation", "sixTissueOctantBrainSegmentationWithPriors1", "sixTissueOctantBrainSegmentationWithPriors2", "sysuMediaWmhFlairOnlyModel0", "sysuMediaWmhFlairOnlyModel1", "sysuMediaWmhFlairOnlyModel2", "sysuMediaWmhFlairT1Model0", "sysuMediaWmhFlairT1Model1", "sysuMediaWmhFlairT1Model2", "tidsQualityAssessment", "xrayLungOrientation", "xrayLungExtraction", "chexnetClassificationModel", "chexnetClassificationANTsXNetModel", "wholeHeadInpaintingFLAIR", "wholeHeadInpaintingPatchBasedT1", "wholeHeadInpaintingPatchBasedFLAIR", "wholeTumorSegmentationT2Flair", "wholeLungMaskFromVentilation"), 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 <- getPretrainedNetwork( "dbpn4x" ) }