Canny与改进Legendre矩结合的无人机边缘检测
UAV Edge Detection Using Canny and Improved Legendre Moments
DOI: 10.12677/csa.2026.1610310, PDF,    科研立项经费支持
作者: 张明德:天津职业技术师范大学电子工程学院,天津;王利强:天津职业技术师范大学电子工程学院,天津;天津市现场总线控制技术工程中心,天津
关键词: 无人机;边缘识别;Legendre矩;Canny;Unmanned Aerial Vehicle; Edge Detection; Legendre Moments; Canny Algorithm
摘要: 针对无人机机载平台计算资源有限,传统边缘检测算法存在精度不足、速度慢、边缘易断裂的问题,提出一种融合Canny算法与Legendre矩的亚像素边缘检测方法。该方法先通过Canny算法完成像素级边缘粗定位,再利用Legendre矩对边缘点进行亚像素精修,通过预生成并复用Legendre基函数模板减少冗余计算、降低复杂度。实验结果表明,该算法可有效提取无人机航拍图像完整边缘,定位精度达亚像素级,处理速度较Canny-Zernike算法提升约65%,计算量较传统Legendre方法降低50%~60%。该算法兼具高精度与轻量化、低耗时的特性可为无人机目标识别提供技术支持。
Abstract: To address the limitations of constrained computing resources on UAV airborne platforms and the inherent shortcomings of traditional edge detection algorithms—including insufficient localization accuracy, low processing efficiency, and frequent edge discontinuities—a subpixel edge detection method integrating the Canny algorithm and Legendre moments is proposed. Specifically, it first employs the Canny algorithm to perform pixel-level coarse edge localization, then applies Legendre moments to refine the detected edge points to subpixel precision. By pre-generating and reusing Legendre basis function templates, redundant computations are eliminated and the overall algorithmic complexity is significantly reduced. Extensive experimental results demonstrate that the proposed algorithm can effectively extract complete and continuous edges from UAV aerial images and achieves subpixel-level localization accuracy. Its processing speed is approximately 65% higher than that of the Canny-Zernike algorithm, and its computational load is reduced by 50%~60% compared with the conventional Legendre moment method. With the advantages of high accuracy, lightweight implementation, and low latency, the proposed algorithm can provide effective technical support for UAV-based visual target recognition.
文章引用:张明德, 王利强. Canny与改进Legendre矩结合的无人机边缘检测[J]. 计算机科学与应用, 2026, 16(10): 57-63. https://doi.org/10.12677/csa.2026.1610310

参考文献

[1] Zhang, H., Wang, L., Tian, T. and Yin, J. (2021) A Review of Unmanned Aerial Vehicle Low-Altitude Remote Sensing (UAV-LARS) Use in Agricultural Monitoring in China. Remote Sensing, 13, Article No. 1221.
https://doi.org/10.3390/rs13061221
[2] Mozaffari, M., Saad, W., Bennis, M., et al. (2019) Towards the Unmanned Aerial Vehicles (UAVs): A Comprehensive Review. IEEE Communications Surveys & Tutorials, 21, 2689-2714.
[3] Ramachandran, A. and Sangaiah, A.K. (2021) A Review on Object Detection in Unmanned Aerial Vehicle Surveillance. International Journal of Cognitive Computing in Engineering, 2, 215-228.
https://doi.org/10.1016/j.ijcce.2021.11.005
[4] Xia, X., Fattah, S.M.M. and Babar, M.A. (2023) A Survey on UAV-Enabled Edge Computing: Resource Management Perspective. ACM Computing Surveys, 56, 1-36.
https://doi.org/10.1145/3626566
[5] Abrar, M., Ajmal, U., Almohaimeed, Z.M., Gui, X., Akram, R. and Masroor, R. (2021) Energy Efficient UAV-Enabled Mobile Edge Computing for IoT Devices: A Review. IEEE Access, 9, 127779-127798.
https://doi.org/10.1109/access.2021.3112104
[6] Hoque, M.U., Kumar, D., Audet, Y. and Savaria, Y. (2022) Design and Analysis of a 35 GHz Rectenna System for Wireless Power Transfer to an Unmanned Air Vehicle. Energies, 15, Article No. 320.
https://doi.org/10.3390/en15010320
[7] Sun, R., Lei, T., Chen, Q., Wang, Z., Du, X., Zhao, W., et al. (2022) Survey of Image Edge Detection. Frontiers in Signal Processing, 2, Article ID: 826967.
https://doi.org/10.3389/frsip.2022.826967
[8] 王梓权, 张博, 王卓, 等. 基于Sobel滤波的光存储图像检测算法[J]. 激光与光电子学进展, 2025, 62(8): 294-299.
[9] Tariq, N., Hamzah, R.A., Ng, T.F., Wang, S.L. and Ibrahim, H. (2021) Quality Assessment Methods to Evaluate the Performance of Edge Detection Algorithms for Digital Image: A Systematic Literature Review. IEEE Access, 9, 87763-87776.
https://doi.org/10.1109/access.2021.3089210
[10] Abdullah, H.-A.T., Mahmood, R.Z., Alhaj Zber, S.M., Mohammed, R.A., Ahmed, M.R. and Talab, A.W. (2024) FPGA-Based Three Edge Detection Algorithms (Sobel, Prewitt and Roberts) Implementation for Image Processing. Przegląd Elektrotechniczny, 100, 29-33.
https://doi.org/10.15199/48.2024.02.05
[11] Ramnarayan, R., Saklani, N. and Verma, V. (2019) A Review on Edge Detection Technique “Canny Edge Detection”. International Journal of Computer Applications, 178, 28-30.
https://doi.org/10.5120/ijca2019918828
[12] 刘宇涵, 闫河, 陈早早, 等. 强噪声下自适应Canny算子边缘检测[J]. 光学精密工程, 2022, 30(3): 350-362.
[13] Bustacara-Medina, C. and Ruiz-García, E. (2023) Accuracy of Legendre Moments for Image Representation. Computer Science Research Notes, 3301, 249-257.
https://doi.org/10.24132/CSRN.3301.29
[14] 黄怡静, 胡小平, 彭向前, 黄泓. 改进Canny算子的图像边缘检测算法[J]. 机械科学与技术, 2025, 44(9): 1612-1621.
[15] 张喜民, 詹海生. 基于双三次插值与Zernike矩的图像亚像素边缘检测算法[J]. 计量学报, 2025, 46(7): 989-995.
[16] Du, B., Hao, Z.Q. and Wei, X.T. (2021) Roundness Detection of End Face for Shaft Workpiece Based on Canny-Zernike Sub Pixel Edge Detection and Improved Hough Transform. Proceedings of the 2021 IEEE 11th International Conference on Electronics Information and Emergency Communication, Beijing, 18-20 June 2021, 1-4.
https://doi.org/10.1109/iceiec51955.2021.9463822
[17] Sheng, Y., Liu, J. and Wang, Z. (2022) A Review of Orthogonal Moments in Image Processing and Computer Vision. IEEE Transactions on Industrial Informatics, 18, 7093-7108.
[18] Zhang, S., Wang, F., Wu, X. and Gao, K. (2023) MTF Measurement by Slanted-Edge Method Based on Improved Zernike Moments. Sensors, 23, Article No. 509.
https://doi.org/10.3390/s23010509