# NOT RUN {
mylist<-list( antsImageRead( getANTsRData("r16") ),
antsImageRead( getANTsRData("r27") ),
antsImageRead( getANTsRData("r85") ) )
myseg<-eigSeg( getMask( mylist[[1]] ) , mylist )
mat=imageListToMatrix( mylist, getMask( mylist[[1]] ) )
myseg<-eigSeg( getMask( mylist[[1]] ) , mat )
# }
Run the code above in your browser using DataLab