自动清除损坏的扫描文档-生成式建模方法
Autonomous Cleaning of Corrupted Scanned Documents - A Generative Modeling Approach
摘要:
我们研究的任务是清洁扫描的文本文件,是强烈损坏的污垢,如手动线条笔画,泼墨等,我们的目标是在自主删除污垢从一个单一的字母大小的页面上只基于页面包含的信息。因此,我们的方法必须在没有监督的情况下学习字符表示,并且需要一种机制来区分学习的表示和不规则的模式。为了学习字符表示,我们使用概率生成模型参数化模式特征,特征方差,特征的平面排列和模式频率。该模型的潜变量描述模式类别、模式位置以及个体模式特征的存在或不存在。使用一种新的变分EM近似的模型参数进行优化。在学习之后,参数独立于其绝对位置表示平面特征布置及其方差。然后,基于学习的表示定义的质量度量允许在规则字符图案和构成污垢的不规则图案之间进行自主区分。因此,可以去除不规则图案以清洁文件。对于一个完整的拉丁字母表,我们发现一页纸并不能包含足够多的字符示例。然而,即使严重损坏的污垢,我们表明,包含较低数量的字符类型的页面可以有效地和自主地清洗,完全基于它所包含的字符的结构规律性。在不同的例子中,使用不同的字母表中的字符,我们证明了这种方法的一般性,并讨论其对未来发展的影响。
英文摘要:
We study the task of cleaning scanned text documents that are strongly corrupted by dirt such as manual line strokes, spilled ink etc. We aim at autonomously removing dirt from a single letter-size page based only on the information the page contains. Our approach, therefore, has to learn character representations without supervision and requires a mechanism to distinguish learned representations from irregular patterns. To learn character representations, we use a probabilistic generative model parameterizing pattern features, feature variances, the features' planar arrangements, and pattern frequencies. The latent variables of the model describe pattern class, pattern position, and the presence or absence of individual pattern features. The model parameters are optimized using a novel variational EM approximation. After learning, the parameters represent, independently of their absolute position, planar feature arrangements and their variances. A quality measure defined based on the learned representation then allows for an autonomous discrimination between regular character patterns and the irregular patterns making up the dirt. The irregular patterns can thus be removed to clean the document. For a full Latin alphabet we found that a single page does not contain sufficiently many character examples. However, even if heavily corrupted by dirt, we show that a page containing a lower number of character types can efficiently and autonomously be cleaned solely based on the structural regularity of the characters it contains. In different examples using characters from different alphabets, we demonstrate generality of the approach and discuss its implications for future developments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。