This paper proposes an improved exemplar-based inpainting using image segmentation, image quilting, and spatial blending to reduce the excessively propagating texture and pathological geometric configurations. A graph-based segmentation is used to generate an initial segmented map. The segmented regions are merged by a K-means approach with texture similarity to generate a further texture-based segmented map, which reduces the candidate source space and determines whether to utilize image quilting in the iterative updating process. An improved spatial blending is introduced as a postprocess to smooth the filled image when the filling process is completed. Experimental results show that this exemplar-based inpainting approach has a good visual effect and reduces the computing time.