Description Usage Arguments Value Examples
View source: R/correct_image_dim.R
This function takes an image and drops dimensions until the volume is a user specified dimension.
1 | correct_image_dim(image, dim = 3)
|
image |
volume of class |
dim |
scalar value of desired image dimension |
Returns a volume of class nifti
of desired dimension.
1 2 3 4 5 6 | ## Not run:
library(neurobase)
flair <- readnii('path/to/flair', reorient = FALSE)
flair <- correct_image_dim(flair, dim = 3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.