一种融合通道注意力的汉字笔画分割算法

CHINESE CHARACTER STROKE SEGMENTATION ALGORITHM INTEGRATING CHANNEL ATTENTION

  • 摘要: 笔画是汉字的基本组成部分,笔画语义分割算法常用于设计师字体草图和AI生成字体图像的笔画提取过程。针对目前方法笔画分割精度较低的问题,提出一种汉字笔画图像语义分割算法,引入笔画类别语义信息的高效通道注意力机制,自动调整卷积核大小提高分割的精度;同时在各层下采样和上采样之间构建跳跃连接将字符图像笔画的笔形等表征信息与轮廓等深层信息进行融合。采用汉字笔画分割数据集对算法进行测试,并与FCN、U-Net和SERT分割算法进行比较,实验结果表明,算法的分割精度在不同的风格字体数据集优于传统方法。

     

    Abstract: Stroke is a basic component of Chinese characters. Stroke semantic segmentation algorithm is often used in the stroke extraction process of font sketches and AI generated font images. Aimed at the low accuracy of stroke segmentation in current methods, a semantic segmentation algorithm for Chinese stroke images is proposed. An efficient channel attention mechanism for stroke class semantic information was introduced to automatically adjust the convolution kernel size to improve the segmentation accuracy. At the same time, skip connections were constructed between the lower and upper samples of each layer to integrate the characterization information such as the stroke shape of the character image with the deep information such as the outline. The algorithm was tested by using Chinese stroke segmentation data set, and compared with FCN, U-Net and SERT segmentation algorithms. The experimental results show that the segmentation accuracy of the algorithm is better than that of traditional methods in different font style data sets.

     

/

返回文章
返回