错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Application of multi-level adaptive neural network based on optimization algorithm in image style transfer

  • Hong-an Li,
  • Lanye Wang,
  • Jun Liu

摘要

Arbitrary image style transfer is the process of inputting any set of images to generate images with a certain artistic style. Aiming at the problem of how to adapt both global style and local style and maintain spatial consistency based on the arbitrary style transfer algorithm. This paper proposed a multi-level adaptive arbitrary style transfer network and adopted a multi-level strategy to integrate multi-level context information in a progressive manner. First, the convolution block attention module \(\varvec{\left( CBAM \right) }\) C B A M is referenced to the encoder to improve the semantic matching of the algorithm and maintain spatial consistency. Secondly, the multi-branch content is integrated with the style features, quantifying the local similarity between content and style features in a non-local way, rearranges the distribution of style representation according to the content representation. Finally, the multi-layer features after alignment are provided to the decoder module by the Adaptive Weight Skip Connection \(\varvec{\left( AWSC \right) }\) A W S C , which can integrate local and global styles efficiently and flexibly. In addition, the identity loss is used to eliminate image artifacts and better retain the content structure information. Qualitative and quantitative experiments show that the proposed method is superior to the most advanced CNN-based method, and can generate high-quality stylized images with arbitrary styles and better visual effects.