imageFileNames2ImageList: Simple imageFileNames2ImageListing function.

Description Usage Arguments Value Author(s) Examples

Description

ImageFileNames2ImageLists converts the input list of file names to a list containing antsImages.

Usage

1
  gfnl<-imageFileNames2ImageList( c("a.nii.gz","b.nii.gz") , dim = 3 )

Arguments

x

input file name list

Value

a list like this : mylist<-list( img1, img2 , etcetera ) is the output ... img* are antsImages

Author(s)

Avants BB

Examples

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)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.