IEEE Trans Image Process. 2022;31:2683-2694. doi: 10.1109/TIP.2022.3160240. Epub 2022 Mar 31.
Sketch recognition relies on two types of information, namely, spatial contexts like the local structures in images and temporal contexts like the orders of strokes. Existing methods usually adopt convolutional neural networks (CNNs) to model spatial contexts, and recurrent neural networks (RNNs) for temporal contexts. However, most of them combine spatial and temporal features with late fusion or single-stage transformation, which is prone to losing the informative details in sketches. To tackle this problem, we propose a novel framework that aims at the multi-stage interactions and refinements of spatial and temporal features. Specifically, given a sketch represented by a stroke array, we first generate a temporal-enriched image (TEI), which is a pseudo-color image retaining the temporal order of strokes, to overcome the difficulty of CNNs in leveraging temporal information. We then construct a dual-branch network, in which a CNN branch and a RNN branch are adopted to process the stroke array and the TEI respectively. In the early stages of our network, considering the limited ability of RNNs in capturing spatial structures, we utilize multiple enhancement modules to enhance the stroke features with the TEI features. While in the last stage of our network, we propose a spatio-temporal enhancement module that refines stroke features and TEI features in a joint feature space. Furthermore, a bidirectional temporal-compatible unit that adaptively merges features in opposite temporal orders, is proposed to help RNNs tackle abrupt strokes. Comprehensive experimental results on QuickDraw and TU-Berlin demonstrate that the proposed method is a robust and efficient solution for sketch recognition.
草图识别依赖于两种类型的信息,即空间上下文,如图像中的局部结构,和时间上下文,如图像中笔画的顺序。现有的方法通常采用卷积神经网络(CNNs)来对空间上下文建模,和循环神经网络(RNNs)来对时间上下文建模。然而,大多数方法将空间和时间特征进行后期融合或单阶段转换,这容易导致草图中的信息细节丢失。为了解决这个问题,我们提出了一个新的框架,旨在实现空间和时间特征的多阶段交互和细化。具体来说,给定一个由笔画数组表示的草图,我们首先生成一个时间丰富的图像(TEI),这是一个保留笔画顺序的伪彩色图像,以克服 CNNs 在利用时间信息方面的困难。然后,我们构建了一个双分支网络,其中一个 CNN 分支和一个 RNN 分支分别用于处理笔画数组和 TEI。在我们网络的早期阶段,考虑到 RNNs 在捕获空间结构方面的能力有限,我们利用多个增强模块来利用 TEI 特征增强笔画特征。而在我们网络的最后阶段,我们提出了一个时空增强模块,在联合特征空间中细化笔画特征和 TEI 特征。此外,我们还提出了一个双向时间兼容单元,自适应地合并相反时间顺序的特征,以帮助 RNN 处理突然出现的笔画。在 QuickDraw 和 TU-Berlin 上的综合实验结果表明,所提出的方法是草图识别的一种稳健且高效的解决方案。