Learn R Programming

AnalyzeFMRI (version 1.1-25)

nifti.quatern.to.mat44: Quaternion (etc..) to affine 4x4 matrix

Description

Generate a 4x4 affine matrix from a NIFIT header list.

Usage

nifti.quatern.to.mat44(L)

Value

The 4x4 affine matrix.

Arguments

L

a NIFTI header list

See Also

R2Q Q2R

Examples

Run this code
L <- f.read.nifti.header(system.file("example-nifti.hdr", package="AnalyzeFMRI"))
nifti.quatern.to.mat44(L)

Run the code above in your browser using DataLab