# NOT RUN {
bm<-getMask( antsImageRead( getANTsRData("ch2") ) )
brain<-renderSurfaceFunction( surfimg =list( bm ) ,
alphasurf=0.1 ,smoothsval = 1.5 )
make3ViewPNG( diag(4), diag(4), diag(4), tempfile( fileext='.png') )
# }
Run the code above in your browser using DataLab