View source: R/minc_interface.R
mincConvertWorldMatrix | R Documentation |
Convert a 3xN matrix of world coordinates to voxel coordinates with respect to a given minc file.
mincConvertWorldMatrix(filename, world_matrix, nearest_voxel = TRUE)
filename |
The minc file indicating a coordinate grid |
world_matrix |
a 3xN matrix of world coordinates |
nearest_voxel |
logical whether to round the results to the nearest voxel |
a 3xN matrix of voxel coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.