A system and method for determining, from registered positron emission tomography (PET) sinogram data and magnetic resonance (MR) image data, an estimated attenuation sinogram uses a data consistency condition to evaluate a gradient of the PET sinogram data using the MR image data. An image of the subject is reconstructed using the estimate attenuation sinogram.