Whats in an ANTS deformation / warp file?
As noted in I/O Data Formats in ANTS, an ANTS deformation consists of a standard naming prefix plus a standard naming extension. Here, we assume nii but other file types may be used. The standard naming extension is Warpxvec.nii for the x component of the deformation with similar naming for y and z. Each component is stored in a separate scalar image. The value of a voxel of a deformation/warp component image is the physical space displacement from that voxel. Note that the inverse mapping is stored in InverseWarpxvec.nii and provides the mapping in the opposite direction.