align along a specific axis

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

Brian B. Avants