I am executing deformableregistration15.cxx
I wonder how to save the deformation field? In which format should I save it?
It didn’t happen with both mhd and mha formats.
Deformation field is an image of vectors, and can be written to disk just like any other image. That example already has the code for writing. But that only happens if you supply all the command line parameters (filenames). What is the exact problem you are running into?