Abstract
Edge detection is a fundamental task in digital image processing. Marr–Hildreth edge detection is the basic tool for implementing edge detection in classic image processing. This paper studies the quantum version of the classical Marr–Hildreth edge detection, which includes two core processes: Gaussian–Laplacian filtering and zero-crossing extraction. Based on the sampling results of the Gaussian–Laplace function, Gaussian–Laplacian filtering is implemented directly using quantum multipliers and quantum adders. Zero-crossing extraction is achieved using several quantum comparators. The quantum circuits of these two core processes with several auxiliary operators are designed in detail. Complexity analysis shows that the quantum Marr–Hildreth edge detection has exponential speedup compared to its classical counterpart. The simulation on the classical computer verifies the correctness of the quantum Marr–Hildreth edge detection results.
Similar content being viewed by others
References
Beach, G., Dr. Lomont, C., Dr. Cohen, C.: Quantum image processing (QuIP). In: Proceedings of the 32nd IEEE Conference on Applied Imagery and Pattern Recognition, pp. 39–44, Bellingham (2003)
Yan, F., Iliyasu, A.M., Le, P.Q.: Quantum image processing: a review of advances in its security technologies. Int. J. Quantum Inf. 15(3), 1730001-(1–18) (2017)
Venegas-Andraca, S., Bose, S.: Storing, processing, and retrieving an image using quantum mechanics. In: Proceedings of SPIE Conference of Quantum Information and Computation, vol. 5105, pp. 134–147 (2003)
Latorre, J.: Image compression and entanglement. arXiv:quant-ph/0510031 (2005)
Le, P.Q., Dong, F., Hirota, K.: A flexible representation of quantum images for polynomial preparation, image compression, and processing operations. Quantum Inf. Process. 10(1), 63–84 (2011)
Le, P., Iliyasu, A., Dong, F., Hirota, K.: A flexible representation and invertible transformations for images on quantum computers. N. Adv. Intell. Signal Process. Stud. Comput. Intell. 372, 179–202 (2011)
Yuan, S., Mao, X., Xue, Y., Chen, L., Xiong, Q., Compare, A.: SQR: a simple quantum representation of infrared images. Quantum Inf. Process. 13(6), 1353–1379 (2014)
Sun, B., Iliyasu, A., Yan, F., Dong, F., Hirota, K.: An RGB multi-channel representation for images on quantum computers. J. Adv. Comput. Intell. Intell. Info. 17(3), 404–417 (2013)
Sun, B., Le, P., Iliyasu, A., Yan, F., Garcia, J., Dong, F., Hirota, K.: Amulti-channel representation for images on quantum computers using the RGB color space. In: IEEE 7th International Symposium on Intelligent Signal Processing (WISP), pp. 1–6 (2011)
Zhang, Y., Lu, K., Gao, Y., et al.: NEQR: a novel enhanced quantum representation of digital images. Quantum Inf. Process. 12(8), 2833–2860 (2013)
Zhou, R.G., Sun, Y.J., Fan, P.: Quantum image gray-code and bit-plane scrambling. Quantum Inf. Process. 14(5), 1717–1734 (2015)
Jiang, N., Wu, W.Y., Wang, J.: The quantum realization of Arnold and Fibonacci image scrambling. Quantum Inf. Process. 13(5), 1223–1236 (2014)
Zhou, R.G., Wu, Q., Zhang, M.Q., et al.: Quantum image encryption and decryption algorithms based on quantum image geometric transformations. Int. J. Theor. Phys. 52(6), 1802–1817 (2013)
Jiang, N., Zhao, N., Wang, L.: LSB based quantum image steganography algorithm. Int. J. Theor. Phys. 55(1), 107–123 (2016)
Iliyasu, A.M., Le, P.Q., Dong, F., et al.: Watermarking and authentication of quantum image based on restricted geometric transformations. Inf. Sci. 186(1), 126–149 (2012)
Yan, F., Iliyasu, A.M., Sun, B., et al.: A duple watermarking strategy for multi-channel quantum images. Quantum Inf. Process. 14(5), 1675–1692 (2015)
Abdullah, M., Iliyasu, P.C., Le, Q., Dong, F.Y., et al.: A framework for representing and producing movies on quantum computers. Int. J. Quantum Inf. 9(6), 1459–1497 (2011)
Yan, F., Iliyasu, A.M., Guo, Y.M., Yang, H.M.: Flexible representation and manipulation of audio signals on quantum computers. Theor. Comput. Sci. 752, 71–85 (2018)
Jiang, N., Dang, Y., Wang, J.: Quantum image matching. Quantum Inf. Process. 15(9), 3543–3572 (2016)
Jiang, N., Dang, Y., Zhao, N.: Quantum image location. Int. J. Theor. Phys. 55(10), 4501–4512 (2016)
Le, P.Q., Iliyasuy, A.M., Dong, F., et al.: Fast geometric transformations on quantum images. IAENG Int. J. Appl. Math. 40(3), 113–123 (2010)
Jiang, N., Wu, W.Y., Wang, L., et al.: Quantum image pseudo color coding based on the density-stratified method. Quantum Inf. Process. 14(5), 1735–1755 (2015)
Zhang, Y., Lu, K., Xu, K., et al.: Local feature point extraction for quantum images. Quantum Inf. Process. 14(5), 1573–1588 (2015)
Simona, C., Vasile, I.M.: Image segmentation on a quantum computer. Quantum Inf. Process. 14(5), 1693–1715 (2015)
Chris, L.: Quantum convolution and quantum correlation algorithms are physically impossible. arXiv:quant-ph/0309070, pp. 1–10 (2003)
Fan, P., Zhou, R.G., Hu, W.W., Jiang, N.H.: Quantum image edge extraction based on Laplacian operator and zero-cross method. Quantum Inf. Process. 18, 27 (2019)
Gonzalez, R.C., Woods, R.E.: Digital Image Processing, 3rd edn, pp. 736–739. Pearson Education Inc., London (2010)
Wang, D., Liu, Z., Zhu, W., et al.: Design of quantum comparator based on extended general Toffoli gates with multiple targets. Comput. Sci. 39(9), 302–306 (2012)
Vefral, V., Barenco, A., Ekert, A.: Quantum networks for elementary arithmetic operations. Phys. Rev. A 54(1), 147–153 (1996)
Li, P.C., Wang, B., Xiao, H., Liu, X.D.: Quantum representation and basic operations of digital signals. Int. J. Theor. Phys. 57(10), 3242–3270 (2018)
Barenco, A., Bennett, C.H., Cleve, R., et al.: Elementary gates for quantum computation. Phys. Rev. A 52(5), 3457–3467 (1995)
Gonzalez, Woods, Eddins: Image processing place. http://www.prenhall.com/gonzalezwoods
Zhang, Y., Lu, K., Gao, Y.H.: QSobel: a novel quantum image edge extraction algorithm. Sci. China Inf. Sci. 58(012106), 1–13 (2014)
Yao, X.W., Wang, H., Liao, Z., et al.: Quantum image processing and its application to edge detection: theory and experiment. Phys. Rev. X 7(031041), 1–14 (2017). https://doi.org/10.1103/PhysRevX.7.031041
Acknowledgements
This work was supported by the Youth Science Foundation of Northeast Petroleum University (Grant No. 2018QNL-08), and the Guiding Innovation Fund of Northeast Petroleum University (Grant No. 2018YDL-20).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Li, P., Shi, T., Lu, A. et al. Quantum implementation of classical Marr–Hildreth edge detection. Quantum Inf Process 19, 64 (2020). https://doi.org/10.1007/s11128-019-2559-0
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11128-019-2559-0