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

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
)

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

Value

Object of class nifti

Note

'reverse_orient_rpi' and 'reverse_orient_rpi_file' uses 'RNifti' to ensure the reading orientation


neurobase

'Neuroconductor' Base Package with Helper Functions for 'nifti' Objects

v1.32.1
GPL-2
Authors
John Muschelli [aut, cre]
Initial release

We don't support your browser anymore

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