reverse_orient_rpi: Reverse Reorientation an Image to RPI orientation

View source: R/orient_rpi.R

reverse_orient_rpiR 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


neurobase documentation built on May 29, 2024, 2:17 a.m.