Thangka is an important intangible cultural heritage of Tibet. Due to the complexity, and time-consuming nature of the Thangka painting technique, this technique is currently facing the risk of being lost. It is important to preserve the art of Thangka through digital painting methods. Machine learning-based auto-sketch colorization is one of the vital steps for digital Thangka painting. However, existing learning-based sketch colorization methods face two challenges in solving the problem of colorizing Thangka: (1) the extremely rich colors of the Thangka make it difficult to color accurately with existing algorithms, and (2) the line density of the Thangka brings extreme challenges for algorithms to define what semantic information the lines imply. To resolve these problems, we propose a Thangka sketch colorization method based on multi-level adaptive-instance-normalized color fusion (MACF) and skip connection attention (SCA). The proposed method consists of two parts: (1) a multi-level adaptive-instance-normalized color fusion (MACF) to fuse sketch feature and color feature; and (2) a skip connection attention (SCA) mechanism to distinguish the semantic information implied by the sketch lines. Experiments on colorizing Thangka sketches show that our method works well on two small datasets—the Danbooru 2019 dataset and the Thangka dataset. Our approach can generate exquisite Thangka.
Thangka murals hold significant cultural value in Tibet, but unfortunately, many of these precious murals have sustained damage over time. Therefore, the restoration of Thangka murals is crucial in preserving Tibet’s cultural heritage. The potential of Gated Convolution for Thangka mural restoration is significant due to its impressive performance. However, existing Gated Convolution-based approaches for Thangka restoration face two challenges: (1) restoration results using Gated Convolution still show blurring at the pixel level, and (2) Gated Convolution remains dependent on the perceptual field of the convolution during image inpainting. To address two challenges, we propose a novel Thangka mural inpainting method that incorporates two key components: (1) an Edge-assisted Feature Fusion (EFF) method that leverages edge information to assist in inpainting the texture details of the image and enhance the consistency of textures and edges, and (2) a Self Attention based Local Refine (SALR) network that effectively enhances the perceptual field of the convolution and captures long-distance dependencies. The experimental results demonstrate that our proposed method is effective in repairing broken areas of Thangka murals, even on a small dataset (N=5605). To validate the effectiveness of our proposed architecture and its components, we conduct a series of ablation experiments. The results demonstrate the necessity of our approach and highlight the contributions of each component. Moreover, the proposed end-to-end approach exhibits broad applicability and can be extended to other profiling tasks based on small datasets.