Generative model-assisted design has become a trend, providing a new paradigm for knitted fabric image generation. The FLUX diffusion model was chosen to generate images in this study and was compared to other generative models. In order to effectively apply the large model to specialized verticals, an efficient fine-tuning method, low-rank adaptation, was used. Experiments showed that the method allows a pre-trained model to stably generate knitted fabric images in batches through easily understandable text prompts. The generated images have clear textures and correct structures, and can display the surface characteristics of knitted fabrics generated by using different yarn specifications and yarn bristles. Moreover, the unit tissue structural similarity index measure (SSIM) is 0.6528, which is very similar to real fabrics. This research expands the application of fabric generation in the field of deep learning. This method is highly efficient, low-cost, and capable of stably simulating knitted fabrics, which can be used to rapidly expand the image design materials of knitted fabrics.
Painted during the Yuan Dynasty, Taoist Celestial Beings Worshiping is a Taoist propaganda painting. It is one of the largest surviving ancient murals worldwide, featuring a variety of images of these beings dressed in costumes that vividly illustrate the blend of religious and artistic values in Chinese culture. To record and present the mural more intuitively and improve the study of Taoist Celestial Beings Worshiping, this article takes the example of five goddesses centered Queen Mother of the West in the mural and analyzes the styles, structures, colors, and patterns of the costumes from the perspective of costume engineering. Human models are established and the costumes at multiple levels are reconstruction by means of 3D virtual simulation technology. The display images are accompanied by QR codes, which can be scanned to view the 3D model. Finally, the Fuzzy Analytic Hierarchy Process was used to comprehensively evaluate the reconstruction effect of clothing, and the result was “good.” The resulting digital figure can realize the “revitalization of cultural relics” and provides a new perspective for the digital exhibition of murals, which is conducive to the development of digital tourism and promotes the development of traditional culture.
As a vital carrier of China’s intangible cultural heritage, restoring damaged embroidery fabrics is essential for the sustainable preservation of cultural relics. However, existing methods face persistent challenges, such as mask pattern mismatches and restoration size constraints. To address these gaps, this study proposes an embroidery image restoration framework based on enhanced generative adversarial networks (GANs). Specifically, the framework integrates a U-Net generator with a multi-scale discriminator augmented by an attention mechanism and dual-path residual blocks to significantly enhance texture generation. Furthermore, fabric damage was classified into three categories (hole-shaped, crease-shaped, and block-shaped), with complex patterns simulated through dynamic randomization. Grid-based overlapping segmentation and pixel fusion techniques enable arbitrary-dimensional restoration. Quantitative evaluations demonstrated exceptional performance in complex texture restoration, achieving a structural similarity index (SSIM) of 0.969 and a peak signal-to-noise ratio (PSNR) of 32.182 dB. Complementarily, eye-tracking experiments revealed no persistent visual fixation clusters in the restored regions, confirming perceptual reliability. This approach establishes an efficient digital conservation pathway that promotes resource-efficient and sustainable heritage conservation.