Computational ghost imaging has great application prospect in the fields of national defense and biomedical because of its features of breaking the diffraction limit, being able to image under extremely weak background and harsh conditions. However, susceptible to the noise of the space environment, it has a low environmental signal-to-noise ratio. This paper propose an algorithm of interpolation computational ghost imaging(ICGI) in the field of computational ghost imaging. For the purpose of weakening the influence of dynamic interference in the ghost imaging, it insert specific patterns to a digital micromirror device in the original light-emphasis sequence, linearly estimate the change in noise by illuminating incoherent light, and correlate the optical signal of the object with the optical signal of the incoherent modulated light to calculate and reconstruct the image of the object. And This algorithm and the quality of image is improved by means of interpolating between different amounts of random patterns and inserting specific patterns of different complexity.