Skip to contents

Generic function to convert voxel coordinates in the reference space (LPI) to native array space.

Usage

grid_to_grid(x, vox)

# S4 method for NeuroSpace,matrix
grid_to_grid(x, vox)

# S4 method for matrix,matrix
grid_to_grid(x, vox)

Arguments

x

the object

vox

a matrix of LPI voxel coordinates

Value

a matrix of native voxel coordinates