write antsrTransform to disk

writeAntsrTransform(transform, filename)

Arguments

transform

antsrTransform

filename

filename of transform (file extension is ".mat" for affine transforms)

Value

TRUE

Examples

trans <- c(3, 4, 5)
tx <- createAntsrTransform(type = "Euler3DTransform", translation = trans)
txfile <- tempfile(fileext = ".mat")
writeAntsrTransform(tx, txfile)
#> [1] TRUE