R/im3d.R
This would properly be thought of as the voxel spacing when voxels are assumed not to have a physical extent (only a location).
voxdims(x, ...) # S3 method for im3d voxdims(x, ...) # S3 method for character voxdims(x, ...) # S3 method for default voxdims(x, dims, ...)
x | An |
---|---|
... | Additional arguments for methods |
dims | The number of voxels in each dimension when x is a BoundingBox matrix. |
A numeric vector of length 3, NA when missing.
We follow Amira's convention of returning a voxel dimension equal to the bounding box size (rather than 0) for any dimension with only 1 voxel.
Other im3d: as.im3d
,
boundingbox
, im3d-coords
,
im3d-io
, im3d
,
imexpand.grid
, imslice
,
is.im3d
, mask
,
origin
, projection
,
threshold
, unmask