Learn R Programming

neurobase (version 1.32.4)

reverse_orient_rpi: Reverse Reorientation an Image to RPI orientation

Description

Reverse Reorientation an Image to RPI orientation

Usage

reverse_orient_rpi(
  file,
  convention = c("NEUROLOGICAL", "RADIOLOGICAL"),
  orientation,
  verbose = TRUE
)

reverse_orient_rpi_file( file, convention = c("NEUROLOGICAL", "RADIOLOGICAL"), orientation, verbose = TRUE )

Value

Object of class nifti

Arguments

file

Object of class nifti or character path

convention

Convention of original image (usually from orient_rpi)

orientation

Vector of length 3 from original image (usually from orient_rpi)

verbose

print diagnostic messages