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

reverse_rpi_orient

Reverse Reorientation an Image to RPI orientation


Description

This function uses fslswapdim to reorient an image

Usage

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

reverse_rpi_orient_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 rpi_orient)

orientation

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

verbose

print diagnostic messages

Value

Object of class nifti


fslr

Wrapper Functions for 'FSL' ('FMRIB' Software Library) from Functional MRI of the Brain ('FMRIB')

v2.24.1
GPL-3
Authors
John Muschelli [aut, cre] (<https://orcid.org/0000-0001-6469-1750>)
Initial release

We don't support your browser anymore

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