Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

zero_trans

Change Intercept to 0 and Slope to 1 in NIfTI Object


Description

Forces image scl_slope to 1 and scl_inter to be 0 of slots of class nifti. This is so that when images are rendered/written, the values correspond to those in the array (stored in the .Data slot) and are not scaled.

Usage

resetSlopeIntercept(img)

zero_trans(img)

Arguments

img

is a nifti object (or character of filename). If an anlz object is passed, the unaltered anlz object is returned.

Value

An object of the same type passed.

Author(s)

John Muschelli muschellij2@gmail.com


oro.nifti

Rigorous - 'NIfTI' + 'ANALYZE' + 'AFNI' : Input / Output

v0.11.0
BSD_3_clause + file LICENSE
Authors
Brandon Whitcher [aut, cre], Volker Schmid [aut], Andrew Thornton [aut], Karsten Tabelow [ctb], Jon Clayden [ctb], John Muschelli [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.