Description Usage Arguments Value Author(s) Examples
ImageFileNames2ImageLists converts the input list of file names to a list containing antsImages.
1 | gfnl<-imageFileNames2ImageList( c("a.nii.gz","b.nii.gz") , dim = 3 )
|
x |
input file name list |
a list like this : mylist<-list( img1, img2 , etcetera ) is the output ... img* are antsImages
Avants BB
1 2 3 4 5 | ## Not run:
gglb<-paste("gmView1vec*.nii.gz",sep='')
gfnl<-imageFileNames2ImageList( list.files(path=statdir, pattern = glob2rx(gglb),full.names = T,recursive = T) , 3 )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.