Journal of Jilin University (Information Science Edition) ›› 2022, Vol. 40 ›› Issue (1): 36-50.

Previous Articles     Next Articles

Quantum Implementation of Classical Canny Edge Detector

BAO Hualiang, ZHAO Ya   

  1. School of Computer and Information Technology, Northeast Petroleum University, Daqing 163318, China
  • Received:2021-06-29 Online:2022-01-25 Published:2022-01-27

Abstract: Edge detection is a basic problem in digital image processing. Its purpose is to detect the pixels whose gray level changes obviously in the neighborhood. The Canny edge detector is currently the most popular edge detection tool. The specific implementation of Canny detector in the quantum computing paradigm is studied. For Gaussian smoothing filtering and Sobel sharpening operators, we have designed a new method called Translation, Stacking and Weighted Summation, which can make full use of the parallelism of quantum computing to accelerate its classical counterpart and avoid convolution operation. For the gradient and angle calculations required in edge detection, we design new operators such as addition,multiplication and division of signed number by introducing the binary complement description of gray-scale value. For the non-maximum suppression and double threshold processing required in edge detection, we have separately designed the quantum circuits that implement these tasks by introducing quantum complement comparators. Complexity analysis shows that the quantum Canny edge detector has exponential speedup compared to its classical counterpart. The simulation results on the classical computer verify the effectiveness of the proposed method, and reveal that the research idea of integrating quantum computing and image processing is feasible.


Key words: quantum image processing, quantum canny edge detector, non-maxima suppression, double threshold processing, quantum multiplier, quantum divider

CLC Number: 

  • TP391