Create a Blank 4dfp MRI Image.

Share:

Description

Returns a loaded 4dfp MRI image, either loaded or memory-mapped.

Usage

1
2
3
4
R4dfp.Blank(file="",dims=c(1,1,1,1),scale=c(1,1,1),mmppix=c(1,-1,-1),
  center=c(0,0,0))
R4dfp.Blank333(file="",t=1)
R4dfp.Blank111(file="",t=1)

Arguments

file

File-name.

dims

Lengths of each of the 4 dimensions.

scale

Voxel-to-coordinate scale.

mmppix

No one really knows.

center

Centerpoint of the image.

t

Length of ‘time’ dimension.

Value

Object of class ‘R4dfp’.

Author(s)

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

See Also

R4dfp.Save R4dfp.Copy R4dfp.Close R4dfp.Recycle

Examples

1
2
3
#create a new image and load it for direct writing
myimage <- R4dfp.Blank333("myimage.4dfp.ifh")
myimage <- R4dfp.Recycle(myimage,direct.write=TRUE)