Efficient algorithm for two dimensional pattern matching problem (non-square pattern)

J. Alwidian, H. Abu-Mansour, M. Ali
{"title":"Efficient algorithm for two dimensional pattern matching problem (non-square pattern)","authors":"J. Alwidian, H. Abu-Mansour, M. Ali","doi":"10.1109/ICITES.2012.6216622","DOIUrl":null,"url":null,"abstract":"Since the recent advancements in computer storage capacities and processing speed have reached enhanced levels, researches are exerting more demand on higher storage capacity of multidimensional data and elevated computational strengths for research areas. Consequently, two-dimensional pattern matching is a primary topic of current research making good use of current technologies. In this paper, we will examine two-dimensional pattern solution. We are proposing an algorithm to convert the two-dimensional problem into a one-dimensional problem prior to the searching phase. Our proposed algorithm handles black and white images in general and text images in particular. Work in this phase will eliminate the need for soaring computational expense observed in preprocessing phase. Our experimental findings display results superior to both Brute-force algorithm, and RK-KMP algorithm. Suggested algorithm results show a clear reduction in comparisons' numbers in multiple cases. Moreover, applied on one-dimensional text, our proposed algorithm is proportional to Θ (n) in time suggesting linear time.","PeriodicalId":137864,"journal":{"name":"2012 International Conference on Information Technology and e-Services","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 International Conference on Information Technology and e-Services","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICITES.2012.6216622","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

Since the recent advancements in computer storage capacities and processing speed have reached enhanced levels, researches are exerting more demand on higher storage capacity of multidimensional data and elevated computational strengths for research areas. Consequently, two-dimensional pattern matching is a primary topic of current research making good use of current technologies. In this paper, we will examine two-dimensional pattern solution. We are proposing an algorithm to convert the two-dimensional problem into a one-dimensional problem prior to the searching phase. Our proposed algorithm handles black and white images in general and text images in particular. Work in this phase will eliminate the need for soaring computational expense observed in preprocessing phase. Our experimental findings display results superior to both Brute-force algorithm, and RK-KMP algorithm. Suggested algorithm results show a clear reduction in comparisons' numbers in multiple cases. Moreover, applied on one-dimensional text, our proposed algorithm is proportional to Θ (n) in time suggesting linear time.
二维模式匹配问题(非正方形模式)的高效算法
近年来,随着计算机存储能力和处理速度的不断提高,研究领域对多维数据的存储能力和计算能力提出了更高的要求。因此,充分利用现有技术,二维模式匹配是当前研究的主要课题。在本文中,我们将研究二维模式解。我们提出了一种在搜索阶段之前将二维问题转化为一维问题的算法。我们提出的算法可以处理一般的黑白图像,特别是文本图像。这一阶段的工作将消除在预处理阶段观察到的飙升的计算费用的需要。我们的实验结果表明,结果优于暴力破解算法和RK-KMP算法。建议的算法结果显示,在多种情况下,比较次数明显减少。此外,对于一维文本,我们提出的算法在时间上与Θ (n)成正比,表明时间是线性的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信