Learn R Programming

fslr (version 1.3)

zero_trans: Change intercept to 0 and slope to 1

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 Data slot) and are not scaled.

Usage

zero_trans(img)

Arguments

img
nifti object (or character of filename)

Value

  • object of type nifti