Affiliation:
1. Key Laboratory of Intelligent Computing and Service Technology for Folk Song, Ministry of Culture and Tourism, Xi’an 710119, China
2. School of Computer Science, Shaanxi Normal University, Xi’an 710119, China
Abstract
As one of the precious cultural heritages, Chinese landscape painting has developed unique styles and techniques. Researching the intelligent generation of Chinese landscape paintings from photos can benefit the inheritance of traditional Chinese culture. To address detail loss, blurred outlines, and poor style transfer in present generated results, a model for generating Chinese landscape paintings from photos named Paint-CUT is proposed. In order to solve the problem of detail loss, the SA-ResBlock module is proposed by combining shuffle attention with the resblocks in the generator, which is used to enhance the generator’s ability to extract the main scene information and texture features. In order to solve the problem of poor style transfer, perceptual loss is introduced to constrain the model in terms of content and style. The pre-trained VGG is used to extract the content and style features to calculate the perceptual loss and, then, the loss can guide the model to generate landscape paintings with similar content to landscape photos and a similar style to target landscape paintings. In order to solve the problem of blurred outlines in generated landscape paintings, edge loss is proposed to the model. The Canny edge detection is used to generate edge maps and, then, the edge loss between edge maps of landscape photos and generated landscape paintings is calculated. The generated landscape paintings have clear outlines and details by adding edge loss. Comparison experiments and ablation experiments are performed on the proposed model. Experiments show that the proposed model can generate Chinese landscape paintings with clear outlines, rich details, and realistic style. Generated paintings not only retain the details of landscape photos, such as texture and outlines of mountains, but also have similar styles to the target paintings, such as colors and brush strokes. So, the generation quality of Chinese landscape paintings has improved.
Funder
National Key Research and Development Program of China
National Natural Science Foundation of China
Shaanxi Key Science and Technology Innovation Team Project
Xi’an Science and Technology Plan Project
Fundamental Research Funds for the Central Universities
Reference30 articles.
1. Li, J., Wang, Q., Li, S., Zhong, Q., and Zhou, Q. (November, January 29). Immersive traditional Chinese portrait painting: Research on style transfer and face replacement. Proceedings of the 4th Chinese Conference on Pattern Recognition and Computer Vision, Beijing, China.
2. Ink wash painting style rendering with physically-based ink dispersion model;Wang;J. Phys. Conf. Ser.,2018
3. Animated construction of Chinese brush paintings;Tang;IEEE Trans. Vis. Comput. Graph.,2018
4. Simulation of diffusion effect based on physically modeling of paper in Chinese ink wash drawing;Bin;J. Syst. Simul.,2005
5. Non-Photorealistic rendering in Chinese painting of animals;Yeh;J. Syst. Simul.,2002