mincConvertWorldMatrix: Convert World to Voxel Coordinates

Description Usage Arguments Value

View source: R/minc_interface.R

Description

Convert a 3xN matrix of world coordinates to voxel coordinates with respect to a given minc file.

Usage

1
mincConvertWorldMatrix(filename, world_matrix, nearest_voxel = TRUE)

Arguments

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

Value

a 3xN matrix of voxel coordinates


Mouse-Imaging-Centre/RMINC documentation built on Oct. 5, 2018, 9:23 a.m.