reorientImage: reorient image by its principal axis

Description Usage Arguments Value Author(s) Examples

View source: R/reorientImage.R

Description

align along a specific axis

Usage

1
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

Examples

1
reofi<-reorientImage( ri(1),c(1,0))

neuroconductor/ANTsR documentation built on Oct. 11, 2020, 8:14 a.m.