Reconstruction of the proton source in relativistic heavy ion collisions