Abstract:CDD inpainting model is based on TV model local spread and it introduces curvature term, then realizes the connectivity and holistic principle. For the different size of the gradient value of each reference point and diffusion efficiency defects, an improved CDD inpainting algorithm is proposed by degenerate diffusion model. Firstly, it calculates the gradient information of pixel and curvature of isolux line to control the contribution of the reference point on the repair area, and then they are weighted. Finally, the discrete model of partial differential equations is given. Experimental results show that this algorithm realizes the connectivity principle partially. In addition, it can repair the damaged image better than CDD algorithm with same iterative times.