voxel.to.coord.4dfp: Translate a Voxel to a Coordinate.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Translate a voxel to a coordinate for a specific 4dfp MRI image.

Usage

1
R4dfp.VoxelToCoord(object,voxel)

Arguments

object

Object of class ‘R4dfp’.

voxel

An Nx3 matrix of voxels to translate into coordinates.

Details

Finds the nearest coordinate to the given voxels. Image limits aren't checked.

Value

Nx3 matrix of coordinates.

Author(s)

Kevin P. Barry <ta0kira@users.berlios.de> with contributions from Avi Z. Snyder <avi@npg.wustl.edu>

See Also

R4dfp.CoordToVoxel R4dfp.Load R4dfp.Save R4dfp.Close R4dfp.Recycle

Examples

1
2
3
#get the coordinate of the first voxel
myimage <- R4dfp.Blank333()
coord <- R4dfp.VoxelToCoord(myimage,c(1,1,1))

R4dfp documentation built on May 1, 2019, 8:41 p.m.