reverse_orient_rpi {neurobase}R Documentation

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


[Package neurobase version 1.32.4 Index]