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