powered by
extract a slice from an image and return an image of dimensionality, d-1
extractSlice(image, slice, direction)
antsImage to crop
which slice, integer
which axis, integer
antsImage of dimension - 1
# NOT RUN { fi <- makeImage( c(10,10,10), rnorm(1000) ) slice <- extractSlice( fi, 1, 1 ) # }
Run the code above in your browser using DataLab