Recognizing and segmenting artistic targets in Chinese paintings is an important method for analyzing and studying this art form. In order to enrich the expressive forms and cultural connotations of Chinese paintings, as well as promote the modernization of traditional culture, this paper proposes a segmentation method for animals in Chinese paintings. Firstly, using the Swin Transformer, artistic targets such as animals in Chinese paintings are detected, and the interested target image blocks are cropped. Then, the Attention UNet model is employed to achieve high-precision image segmentation for animals in Chinese paintings. Experimental results demonstrate that our algorithm successfully segments 19 species of animals in the sample dataset, achieving high accuracy and accurately segmenting the artistic targets in Chinese traditional flower-and-bird paintings. The achievements of this paper can be applied to the digital research of Chinese paintings, providing technical references for the inheritance and development of Chinese traditional painting.
|