Following the features of curvature and gradient at image edges,an image inpainting method based on nonlinear anisotropic diffusion is proposed.The diffusion can be conducted with different directions and different intensities according to the geometric features of the inpainted images.An adaptive factor is introduced based on the curvature and gradient of the image local geometric information,which can control the diffusion direction and diffusion intensity.At the edges in images,the diffusion coefficients are large for the horizontal directions,while the diffusion coefficients are small for the vertical directions.At the smooth regions,the diffusion coefficients are the same for different directions and they are usually large.Compared with the typical total variation method,the curvature derivation diffusion method,and P-laplace constant variation method,the experimental results show that the proposed method can improve the qualities of the inpainted images