Engine for virtual mri scanner