imageFileNames2ImageList <- function(x, dim) {
if (nargs() == 0) {
print("Usage: ilist<-imageFileNames2ImageList( x , imageDimension ) ")
return(1)
}
ilist <- list()
for (i in x) {
ilist <- lappend(ilist, antsImageRead(i, dim))
}
return(ilist)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.