xyzpos converts pixel coordinates to physical coordinates
ijkpos converts physical coordinates to pixel coordinates
xyzpos(d, ijk) ijkpos(d, xyz, roundToNearestPixel = TRUE)
| d | An |
|---|---|
| ijk | an Nx3 matrix of pixel coordinates (1-indexed) |
| xyz | Nx3 matrix of physical coordinates |
| roundToNearestPixel | Whether to round calculated pixel coordinates to
nearest integer value (i.e. nearest pixel). default: |
Nx3 matrix of physical or pixel coordinates
Other im3d: as.im3d,
boundingbox, im3d-io,
im3d, imexpand.grid,
imslice, is.im3d,
mask, origin,
projection, threshold,
unmask, voxdims