Export of SequenceRegistration output: save each individual transformed Model


I run SequenceRegistration module on a 4d cardiac CT. As a result i have a sequence of transformations.

I apply the transformations to a segmentation node or to a surface model. How can I save these two as nrrd or VTK for each time instant of the result sequence of transformations ?


See a code snippet that does this in the script repository.

Wow, fantastic. Thank you very much !