Cultural gene feature encoding-driven attention-based style transfer network for traditional patterns
Abstract
The cultural genes of traditional patterns are reflected in modeling units, constitutive order, color configuration and symbolic semantics. The hierarchical differences require that style transfer should take into account content structure, cultural attributes and target style. In order to convert the above hierarchical differences into computable constraints, this paper constructs a traditional pattern attention style transfer network driven by cultural gene feature encoding, which maps the features of the motif-element layer, the constituent layer and the semantic layer into a unified code, and establishes the correlation between the content region and the style region. The network controls the selective transfer of style features by dynamically adjusting the attention weight to complete the generation of target patterns. 3600 content patterns and 1200 target style images are used in the experiment. The results show that the SSIM of hierarchical weighted coding is 0.914, the recognition rate of cultural features is 93.6%, and the style similarity of four types of targets is more than 0.80. The constructed network can enhance the coordination of pattern structure maintenance, cultural semantic transmission and target style expression.