When NiftyReg segfaults, it is nearly always because of an issue relating to incorrect voxel sizes. It would be great to catch this and print something like :
Registration has failed. Please ensure that the voxel sizes you have entered are correct. Please see .... for more details
In the mean time, this can be documented .