View source: R/brainExtraction.R
brainExtraction | R Documentation |
Perform T1, FA, or bold brain extraction using a U-net architecture training data. "NoBrainer" is also possible where brain extraction uses U-net and FreeSurfer training data ported from the
brainExtraction(
image,
modality = c("t1", "t1.v0", "t1.v1", "t1nobrainer", "t1combined", "t2", "t2.v0",
"t2star", "flair", "flair.v0", "bold", "bold.v0", "fa", "fa.v0", "mra", "t1t2infant",
"t1infant", "t2infant"),
verbose = FALSE
)
image |
input 3-D brain image (or list of images for multi-modal scenarios). |
modality |
image type. Options include:
|
verbose |
print progress. |
https://github.com/neuronets/nobrainer-models
brain probability mask (ANTsR image)
Tustison NJ
## Not run:
library( ANTsRNet )
library( keras )
image <- antsImageRead( "t1w_image.nii.gz" )
probabilityMask <- brainExtraction( image, modality = "t1" )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.