Return voxel dimensions (by default absolute voxel dimensions)
path to nrrd/nhdr file or a list containing a nrrd header
Defaults to returning absolute value of dims even if there are any negative space directions
NB Can handle off diagonal terms in space directions matrix, BUT assumes that space direction vectors are orthogonal.
Will produce a warning if no valid dimensions can be found.
numeric vector of voxel dimensions (
NA_real_ when missing) of
length equal to the image dimension.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.