oro.nifti (version 0.11.0)

vox_offset-methods: Extract Image Attribute vox_offset

Description

Methods that act on the vox_offset field in the NIfTI/ANALYZE header.

Usage

vox_offset(object)

# S4 method for nifti vox_offset(object)

# S4 method for anlz vox_offset(object)

vox_offset(object) <- value

# S4 method for nifti vox_offset(object) <- value

# S4 method for anlz vox_offset(object) <- value

vox.offset(object)

# S4 method for nifti vox.offset(object)

# S4 method for anlz vox.offset(object)

vox.offset(object) <- value

# S4 method for nifti vox.offset(object) <- value

# S4 method for anlz vox.offset(object) <- value

# S4 method for niftiImage vox_offset(object)

# S4 method for niftiImage vox.offset(object)

Arguments

object

is an object of class nifti or anlz.

value

is the value to assign to the vox_offset field.

Details

See documentation on the ANALYZE and/or NIfTI data standards for more details.

References

ANALYZE 7.5 http://eeg.sourceforge.net/ANALYZE75.pdf NIfTI-1 http://nifti.nimh.nih.gov/

Examples

Run this code
# NOT RUN {
file = system.file("extdata", "example.nii.gz", package = "RNifti")
img = RNifti::readNifti(file)
vox_offset(img)
img = RNifti::readNifti(file)
vox.offset(img)
# }

Run the code above in your browser using DataLab