newnii: Resets image parameters for a copied nifti object

View source: R/rescale_img.R

newniiR Documentation

Resets image parameters for a copied nifti object

Description

Resets the slots of a nifti object, usually because an image was loaded, then copied and filled in with new data instead of making a nifti object from scratch. Just a wrapper for smaller functions

Usage

newnii(img, ...)

Arguments

img

nifti object (or character of filename)

...

arguments to be passed to datatype

Value

object of type nifti


neurobase documentation built on May 29, 2024, 2:17 a.m.