Restoration and reuse of clothing patterns and colors based on FMM and network analysis
The Tang Dynasty,as one of the most prosperous eras in ancient China in terms of economy and culture,had distinctive and vibrant clothing patterns and color designs.These designs encapsulate the essence and cultural representation of Tang Dynasty attire,providing valuable creative inspiration and reference for contemporary fashion design.Currently,research on the color of clothing patterns of the Tang Dynasty mainly involves traditional subjective qualitative analysis and a small amount of quantitative color analysis.Quantitative analysis is primarily focused on analyzing and applying color samples of clothing patterns that have faded,been damaged,or polluted,which can lead to inaccuracies and biases in color analysis due to the deteriorated samples.Therefore,there is a need for image restoration and color restoration of the existing Tang Dynasty clothing patterns.At present,image restoration algorithms are mainly divided into traditional image restoration algorithms and deep learning image restoration algorithms.Among them,deep learning image restoration algorithms rely on the processing of a large amount of data and resources.Considering the scarcity of preserved images of Tang Dynasty clothing patterns,deep learning algorithms are not suitable.Therefore,the traditional image restoration algorithm FMM(fast marching method),which is technologically mature,is chosen.This algorithm does not depend on large-scale data computation and can quickly and accurately restore damaged areas.At the same time,due to its characteristic of repairing from the boundary inward,it can better cope with the main narrow and long damaged areas in the disease of Tang Dynasty clothing patterns while maintaining structural integrity and high clarity.Therefore,this algorithm is selected for the restoration of preserved images of Tang Dynasty clothing patterns.To more accurately clarify the color preferences and matching rules of Tang Dynasty clothing patterns,this study takes the preserved images of Tang Dynasty clothing cultural relics as the research object and proposes a method for the color restoration and reuse of Tang Dynasty clothing patterns based on the FMM image restoration algorithm and network analysis.This method first uses a color segmentation algorithm to classify and segment the image in the Lab space,and then repairs and restores the damaged and faded areas based on the FMM algorithm.Secondly,the K-means clustering algorithm is used to perform color clustering calculations on the restored image to obtain the secondary node degree and adjacency relationships of the image colors,thereby clarifying the explicit color and matching knowledge of Tang Dynasty clothing patterns.Then,the efficiency matrix algorithm is introduced to weight the implicit color matching logic in Tang Dynasty clothing patterns,and the influence matrix between color nodes is established by using expert evaluation and the Likert scale.Finally,the efficiency matrix algorithm is used to construct a color model of Tang Dynasty clothing patterns.Ultimately,scarves are used as a creative carrier for design to explore the feasibility of expanding the color matching of Tang Dynasty clothing patterns to contemporary fashion design.Through comparative experiments between traditional image restoration methods and deep learning restoration methods,as well as comparative analysis of objective evaluation indicators such as PSNR and SSIM,this method shows superiority in color restoration accuracy and image quality.This method can not only effectively analyze the color information of Tang Dynasty clothing patterns,but also assist designers in accurately using its color matching for design,providing a new solution for the protection,inheritance,and innovative development of the color of Tang Dynasty clothing patterns.Although this study has proposed a method for the color restoration and reuse of Tang Dynasty clothing patterns,there are several issues that require ongoing refinement and exploration.First,it is necessary to further optimize the image restoration algorithm to improve the restoration capability for images with few samples but more severe and complex instances of damage.Secondly,it is necessary to combine artificial intelligence technology to achieve automation and intelligence of color restoration and reuse.Finally,it is necessary to strengthen interdisciplinary cooperation,integrate knowledge from various fields such as design,digital protection of cultural heritage,and computer graphics to form a more comprehensive research system.This will further promote the deep integration of traditional culture with modern design and provide more accurate references for the study of the color of Tang Dynasty clothing patterns.
patterns of clothing in the Tang DynastyFMM algorithmK-means clusteringcolor restorationcolor extractioncolor network model