dumpNifti: Dump the contents of an internal NIfTI-1 object

Description Usage Arguments Value Author(s) References Examples

Description

This function extracts the contents of an internal NIfTI-1 object into an R list. No processing is done to the elements.

Usage

1
2
3
4
dumpNifti(image)

## S3 method for class 'niftiHeader'
print(x, ...)

Arguments

image

An image, in any acceptable form (see retrieveNifti).

x

A "niftiHeader" object.

...

Ignored.

Value

For dumpNifti, a list of class "niftiHeader", with named components corresponding to the elements in a raw NIfTI-1 file.

Author(s)

Jon Clayden <code@clayden.org>

References

The NIfTI-1 standard (http://nifti.nimh.nih.gov/nifti-1).

Examples

1
2
3
4
dumpNifti(system.file("extdata", "example.nii.gz", package="RNifti"))

# Default header for a standard R array
dumpNifti(array(0L, dim=c(10,10)))


Search within the RNifti package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.