Learn R Programming

ANTsR (version 0.3.3)

createAntsrTransform: createAntsrTransform

Description

Create and initialize an antsrTransform

Usage

createAntsrTransform(type = "AffineTransform", precision = "float", dimension = 3, matrix = NA, offset = NA, center = NA, translation = NA, parameters = NA, fixed.parameters = NA, displacement.field = NA, supported.types = FALSE)

Arguments

type
type of transforms
precision
numerical precision
dimension
spatial dimension of transform
matrix
matrix for linear transforms
offset
offset for linear transforms
center
center for linear transforms
translation
translation for linear transforms
parameters
array of parameters
fixed.parameters
array of fixed parameters
displacement.field
multichannel antsImage for non-linear transform
supported.types
flag that returns array of possible transforms types

Value

antsrTransform or list of transform types

Examples

Run this code
trans= c(3,4,5)
tx = createAntsrTransform( type="Euler3DTransform", translation=trans )

Run the code above in your browser using DataLab