Advanced methods for photon attenuation and scatter correction for combined positron emission tomography and magnetic resonance imaging (PET/MRI)