R: Save and load transform objects

saveTransform {RNiftyReg} | R Documentation

## Save and load transform objects

### Description

These objects save a full transformation object, including source and target image metadata, to a self-contained RDS file, or load it back from such a file. This is currently only possible for linear transforms.

### Usage

    saveTransform(transform, file)

    loadTransform(file)

### Arguments

`transform` | A transform, possibly obtained from `forward` or `reverse`.
`file` | The filename to save to, or load from.

### Value

`loadTransform` returns a deserialised transform object.

### Author(s)

Jon Clayden <code@clayden.org>

### See Also

`writeAffine`, `readAffine`

[Package RNiftyReg version 2.7.0 Index]