Description Usage Arguments Value Examples
Load an image volume from a file
1 | loadVolume(fileName, index = 1)
|
fileName |
the name of the file to load |
index |
the index of the volume (e.g. if the file is 4-dimensional) |
an instance of the class DenseBrainVolume
1 2 3 4 | fname <- system.file("extdata", "global_mask.nii", package="neuroim")
x <- loadVolume(fname)
print(dim(x))
space(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.