imexpand.grid: Convert locations of im3d voxel grid into XYZ coordinates

View source: R/im3d.R

imexpand.gridR Documentation

Convert locations of im3d voxel grid into XYZ coordinates

Description

Convert locations of im3d voxel grid into XYZ coordinates

Usage

imexpand.grid(d)

Arguments

d

An im3d object

Value

Nx3 matrix of image coordinates

See Also

expand.grid

Other im3d: as.im3d(), boundingbox(), im3d-coords, im3d-io, im3d(), imslice(), is.im3d(), mask(), origin(), projection(), threshold(), unmask(), voxdims()

Examples

d=im3d(,dim=c(2,3,2),origin=c(10,20,30),voxdims=c(1,2,3))
imexpand.grid(d)

nat documentation built on May 29, 2024, 10:36 a.m.