One superior characteristic of ghost imaging (GI) compared to conventional imaging is that GI is immune to the scattering medium in the object-to-detector path. However, the imaging quality decreases when a scattering medium exists between the beam splitter and the object. Based on the fact that the light interfered with by the scattering medium also contains information about the object after it is illuminated, in this paper, we demonstrate utilizing scattered light for image reconstruction by placing a scattering medium with certain characteristics in the reference path. Experimental results show that the contrast-to-noise ratio and visibility are obviously improved.