A generalized framework unifying image registration and respiratory motion models and incorporating image reconstruction, for partial image data or full images. (5th May 2017)