reorientImage: reorient image by its principal axis

View source: R/reorientImage.R

reorientImageR Documentation

reorient image by its principal axis

Description

align along a specific axis

Usage

reorientImage(img, axis1, axis2 = NA, doreflection = 0, doscale = 0, txfn = NA)

Arguments

img

antsImage

axis1

vector of size dim, might need to play w/axis sign

axis2

vector of size dim for 3D

doreflection

boolean

doscale

scalar value, 1 allows automated estimate of scaling

txfn

file name for transformation

Value

reoriented image

Author(s)

Brian B. Avants


stnava/ANTsR documentation built on April 16, 2024, 12:17 a.m.