Quantum image K-nearest neighbor mean filtering

Jingke Xi, Shukun Ran
{"title":"Quantum image K-nearest neighbor mean filtering","authors":"Jingke Xi, Shukun Ran","doi":"10.26421/qic23.1-2-4","DOIUrl":null,"url":null,"abstract":"Quantum image filtering is an extension of classical image filtering algorithms, which mainly studies image filtering models based on quantum characteristics. The existing quantum image filtering focuses on noise detection and noise suppression, ignoring the effect of filtering on image boundaries. In this paper, a new quantum image filtering algorithm is proposed to realize the K-nearest neighbor mean filtering task, which can achieve the purpose of boundary preservation while suppressing noise. The main work includes: a new quantum compute module for calculating the absolute value of the difference between two non-negative integers is proposed, thus constructing the quantum circuit of the distance calculation module for calculating the grayscale distance between the neighborhood pixels and the center pixel; the existing quantum sorting module is improved to sort the neighborhood pixels with the distance as the sorting condition, and thus the quantum circuit of the K-nearest neighbor extraction module is constructed; the quantum circuit of the K-nearest neighbor mean calculation module is designed to calculate the gray mean of the selected neighbor pixels; finally, a complete quantum circuit of the proposed quantum image filtering algorithm is constructed, and carried out the image de-noising simulation experiment. The relevant experimental indicators show that the quantum image K-nearest neighbor mean filtering algorithm has the same effect on image noise suppression as the classical K-nearest neighbor mean filtering algorithm, but the time complexity of this method is reduced from $O\\left(2^{2 n}\\right)$ of the classical algorithm to $O\\left(n^{2}+q^{2}\\right)$.","PeriodicalId":20904,"journal":{"name":"Quantum Inf. Comput.","volume":"124 1","pages":"45-66"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Quantum Inf. Comput.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.26421/qic23.1-2-4","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Quantum image filtering is an extension of classical image filtering algorithms, which mainly studies image filtering models based on quantum characteristics. The existing quantum image filtering focuses on noise detection and noise suppression, ignoring the effect of filtering on image boundaries. In this paper, a new quantum image filtering algorithm is proposed to realize the K-nearest neighbor mean filtering task, which can achieve the purpose of boundary preservation while suppressing noise. The main work includes: a new quantum compute module for calculating the absolute value of the difference between two non-negative integers is proposed, thus constructing the quantum circuit of the distance calculation module for calculating the grayscale distance between the neighborhood pixels and the center pixel; the existing quantum sorting module is improved to sort the neighborhood pixels with the distance as the sorting condition, and thus the quantum circuit of the K-nearest neighbor extraction module is constructed; the quantum circuit of the K-nearest neighbor mean calculation module is designed to calculate the gray mean of the selected neighbor pixels; finally, a complete quantum circuit of the proposed quantum image filtering algorithm is constructed, and carried out the image de-noising simulation experiment. The relevant experimental indicators show that the quantum image K-nearest neighbor mean filtering algorithm has the same effect on image noise suppression as the classical K-nearest neighbor mean filtering algorithm, but the time complexity of this method is reduced from $O\left(2^{2 n}\right)$ of the classical algorithm to $O\left(n^{2}+q^{2}\right)$.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
量子图像k近邻均值滤波
量子图像滤波是经典图像滤波算法的扩展,主要研究基于量子特性的图像滤波模型。现有的量子图像滤波侧重于噪声检测和噪声抑制,忽略了滤波对图像边界的影响。本文提出了一种新的量子图像滤波算法来实现k近邻均值滤波任务,可以在抑制噪声的同时达到边界保持的目的。主要工作包括:提出了一种新的计算两个非负整数之差绝对值的量子计算模块,从而构建了计算邻域像素与中心像素灰度距离的距离计算模块的量子电路;对现有的量子排序模块进行改进,以距离为排序条件对邻域像素进行排序,从而构建k近邻提取模块的量子电路;设计k近邻均值计算模块的量子电路,计算所选近邻像素的灰度均值;最后,构建了所提出的量子图像滤波算法的完整量子电路,并进行了图像去噪仿真实验。相关实验指标表明,量子图像k近邻均值滤波算法与经典k近邻均值滤波算法具有相同的图像噪声抑制效果,但该方法的时间复杂度从经典算法的$O\left(2^{2 n}\right)$降低到$O\left(n^{2}+q^{2}\right)$。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A quantization of interacting particle systems Guidelines to use the ICSM for developing quantum-classical systems A Comparative Analysis of Quantum-based Approaches for Scalable and Efficient Data mining in Cloud Environments On the quantum complexity of integration of a function with unknown singularity Site recurrence for continuous-time open quantum walks on the line
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1