getPretrainedNetwork: getPretrainedNetwork

View source: R/getPretrainedNetwork.R

getPretrainedNetworkR Documentation

getPretrainedNetwork

Description

Downloads pretrained network/weights.

Usage

getPretrainedNetwork(
  fileId = c("show", "antsxnetWmh", "antsxnetWmhOr", "arterialLesionWeibinShi",
    "brainAgeGender", "brainAgeFmrib", "brainAgeDeepBrainNet", "brainExtraction",
    "brainExtractionT1", "brainExtractionT1v1", "brainExtractionRobustT1",
    "brainExtractionT2", "brainExtractionRobustT2", "brainExtractionRobustT2Star",
    "brainExtractionFLAIR", "brainExtractionRobustFLAIR", "brainExtractionBOLD",
    "brainExtractionRobustBOLD", "brainExtractionFA", "brainExtractionMra",
    "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",
    "deepFlash2LeftT1Hierarchical", "deepFlash2RightT1Hierarchical", "deepFlashLeft8",
    "deepFlashRight8", "deepFlashLeft16", "deepFlashRight16", "deepFlashLeft16new",
    "deepFlashRight16new", "denoising", "dktInner", "dktOuter",
    "dktOuterWithSpatialPriors", "ex5_coronal_weights", 
     "ex5_sagittal_weights",
    "allen_brain_mask_weights", "functionalLungMri", "hippMapp3rInitial",
    "hippMapp3rRefine", "hyperMapp3r", "hypothalamus",
    "inpainting_sagittal_rmnet_weights", "inpainting_coronal_rmnet_weights",
    "inpainting_axial_rmnet_weights", "inpainting_axial_rmnet_flair_weights",
    "inpainting_coronal_rmnet_flair_weights", "inpainting_sagittal_rmnet_flair_weights",
    "koniqMBCS", "koniqMS", "koniqMS2", "koniqMS3", "lesion_whole_brain",
    "lungCtWithPriorsSegmentationWeights", "maskLobes", 
     "mriSuperResolution",
    "mriModalityClassification", "mraVesselWeights_160", "mouseMriBrainExtraction",
    "mouseT2wBrainExtraction3D", "mouseT2wBrainParcellation3DNick",
    "mouseT2wBrainParcellation3DTct", "mouseSTPTBrainParcellation3DJay",
    "pvs_shiva_t1_0", "pvs_shiva_t1_1", "pvs_shiva_t1_2", "pvs_shiva_t1_3",
    "pvs_shiva_t1_4", "pvs_shiva_t1_5", "pvs_shiva_t1_flair_0", "pvs_shiva_t1_flair_1",
    "pvs_shiva_t1_flair_2", "pvs_shiva_t1_flair_3", "pvs_shiva_t1_flair_4",
    "wmh_shiva_flair_0", "wmh_shiva_flair_1", 
     "wmh_shiva_flair_2",
    "wmh_shiva_flair_3", "wmh_shiva_flair_4", "wmh_shiva_t1_flair_0",
    "wmh_shiva_t1_flair_1", "wmh_shiva_t1_flair_2", "wmh_shiva_t1_flair_3",
    "wmh_shiva_t1_flair_4", "protonLungMri", "protonLobes", "pulmonaryArteryWeights",
    "pulmonaryAirwayWeights", "sixTissueOctantBrainSegmentation",
    "sixTissueOctantBrainSegmentationWithPriors1",
    "sixTissueOctantBrainSegmentationWithPriors2", "sysuMediaWmhFlairOnlyModel0",
    "sysuMediaWmhFlairOnlyModel1", "sysuMediaWmhFlairOnlyModel2",
    "sysuMediaWmhFlairT1Model0", 
     "sysuMediaWmhFlairT1Model1",
    "sysuMediaWmhFlairT1Model2", "tidsQualityAssessment", "xrayLungOrientation",
    "xrayLungExtraction", "chexnetClassificationModel",
    "chexnetClassificationANTsXNetModel", "tb_antsxnet_model",
    "wholeHeadInpaintingFLAIR", "wholeHeadInpaintingPatchBasedT1",
    "wholeHeadInpaintingPatchBasedFLAIR", "wholeTumorSegmentationT2Flair",
    "wholeLungMaskFromVentilation", "DeepAtroposHcpT1Weights",
    "DeepAtroposHcpT1T2Weights", "DeepAtroposHcpT1FAWeights",
    "DeepAtroposHcpT1T2FAWeights"),
  targetFileName
)

Arguments

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

Value

filename string

Note

See https://figshare.com/authors/Nick_Tustison/441144 or https://figshare.com/authors/Brian_Avants/418551 for some more descriptions

Author(s)

Avants BB

Examples

## Not run: 
net <- getPretrainedNetwork( "dbpn4x" )

## End(Not run)

ANTsX/ANTsRNet documentation built on Nov. 21, 2024, 4:07 a.m.