View source: R/antsrTransform_class.R
createAntsrTransform | R Documentation |
Create and initialize an antsrTransform
createAntsrTransform(
type = "AffineTransform",
precision = "float",
dimension = 3,
matrix = NA,
offset = NA,
center = NA,
translation = NA,
parameters = NA,
fixed.parameters = NA,
displacement.field = NULL,
supported.types = FALSE
)
type |
type of transform
|
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 |
antsrTransform or list of transform types
trans <- c(3, 4, 5)
tx <- createAntsrTransform(type = "Euler3DTransform", translation = trans)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.