Zhuang brocade is a national intangible cultural heritage with a long history and is also an excellent representative of China’s distinctive ethnic culture.However,due to the impact of foreign culture shock and the old inheritance form,the current Zhuang brocade pattern is difficult to innovate,has a single application form,and is difficult to inherit and develop.In order to promote the active inheritance and application of Zhuang brocade patterns and adapt them to the development needs of modern society,this paper,based on computer image processing technology,takes Zhuang brocade patterns as the research object,extracts feature elements such as color matching,pattern,and organizational form of Zhuang brocade patterns,and proposes a Zhuang brocade pattern design algorithm and process based on relative coordinates and regional content replacement.It combines automatic generation of Zhuang brocade patterns with multi-dimensional customized design applications,Provide reference for the design and application expansion of Zhuang brocade patterns.The main research content of this paper are as follows.Firstly,in order to extract the color,pattern,organizational form and other features of Zhuang brocade patterns,the current research status of Zhuang brocade was reviewed,and research hotspots and directions were summarized.Based on the theory of computer image extraction algorithms,corresponding intelligent extraction algorithms and processes were designed to construct a Zhuang brocade pattern feature dataset.Collecting and collating Zhuang brocade patterns,identifying pattern features and extraction methods;applying the K-means algorithm to the objective extraction of Zhuang brocade pattern colour schemes;applying relative total variance smoothing and Grabcut interactive local pattern segmentation extraction methods to achieve intelligent segmentation of Zhuang brocade target patterns;combining shape grammar to analyse the composition rules of Zhuang brocade pattern organisation and quickly drawing Zhuang brocade pattern organisation;constructing a data set of Zhuang brocade pattern features.Secondly,in order to quickly generate Zhuang brocade patterns with high style similarity,a Zhuang brocade pattern design algorithm and process based on relative coordinates and regional content replacement are proposed and evaluated.Selecting common patterns as the base of the Zhuang brocade pattern composition patterns and conducting research on Zhuang brocade pattern design;After coding the feature samples,the patterns were replaced with the content of the target area of the organisational form according to the relative coordinates;matching the colour scheme of Zhuang brocade,generating multiple Zhuang brocade patterns and evaluating the style similarity.Finally,combining the automatic generation of Zhuang brocade patterns with practical applications,the design application of Zhuang brocade lamps,packaging and customisation platform is completed,taking the design of customised lamps and lanterns as an example,and completing the production of models and validation of solutions.Based on the rapid generation of Zhuang brocade patterns,the design of Zhuang brocade lamps and their packaging is quickly completed by selecting sample elements with Zhuang brocade characteristics and adjusting parameters such as texture,colour and opacity;building a customisation platform for Zhuang brocade lamps to enhance user interaction experience;creating models and evaluating solutions to provide reference for the expansion of Zhuang brocade pattern design applications. |