Pixel dimensions and units
By default, these generic functions return or replace the
"pixunits" attributes of their arguments. These represent the
physical step size between pixel or voxel centre points, and the spatial and
temporal units that they are given in. The former defaults to 1 in each
dimension, if there is no attribute.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
An R object, generally an image.
Numeric vector of pixel dimensions along each axis, or
character vector of abbreviated units. For dimensions, a scalar
pixdim returns a numeric vector of pixel dimensions.
pixunits returns a character vector of length up to two, giving the
spatial and temporal unit names.
Jon Clayden <firstname.lastname@example.org>
1 2 3
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.