updateNifti: Update an internal NIfTI-1 object using a template

Description Usage Arguments Value Author(s)

Description

This function adds or updates the internal NIfTI-1 object for an array, using metadata from the template. The dimensions and, if available, pixel dimensions, from the image will replace those from the template.

Usage

1
updateNifti(image, template = NULL)

Arguments

image

A numeric array.

template

An image, in any acceptable form (see retrieveNifti), or a named list of NIfTI-1 properties like that produced by dumpNifti. The default of NULL will have no effect.

Value

A copy of the original image, with its internal image attribute set or updated appropriately.

Author(s)

Jon Clayden <code@clayden.org>



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.