古代建筑图纸是我国重要的民族瑰宝,亟待利用现代计算机技术对古代建筑图纸进行信息化和修复。提出了一种新的基于字典学习的古建筑图像修复模型,通过K-svd算法进行字典学习,在稀疏域利用已知像素信息填充缺损像素,从而实现对古建筑图像的修复及噪声的滤除。实验表明,该算法能较好地修复古建筑图像,降低图像的均方误差,在实际应用中具有良好的可行性和应用前景。
Drawings of ancient buildings are tenures of traditional Chinese culture, and need to be informatization and inpainting urgently. A novel model of inpainting the drawings of ancient buildings is proposed, which carry on the dictionary learning by Ksvd algorithm, and filling missing pixels by known pixels in sparse domain, so as to implement the inpainting of drawings of ancient buildings and remove impulsive noise. The experimental results show that the algorithm can inpaint the image more effectively and decrease the RMSE, this method has better performance than other dictionary learning algorithm, and has good application potential and good application prospects.