Slice out a 3D subarray (or 2d matrix) from a 3D image array
imslice(x, slice, slicedim = "z", drop = TRUE)
An im3d object
Indices defining the slices to keep
Character vector or integer defining axis from which slices will be removed.
Whether singleton dimensions will be dropped (default: TRUE) converting 3D array to 2d matrix.
Note the sample locations stored in the x,y,z attributes will be updated appropriately. FIXME: Should we also update bounding box?
Other im3d:
as.im3d()
,
boundingbox()
,
im3d-coords
,
im3d-io
,
im3d()
,
imexpand.grid()
,
is.im3d()
,
mask()
,
origin()
,
projection()
,
threshold()
,
unmask()
,
voxdims()