基于RTV滤波和改进Otsu优化Canny算子的彩画边缘检测研究
Research on Polychrome Painting Edge Detection Based on RTV Filtering and Improved Otsu-Optimized Canny Operator
DOI: 10.12677/sea.2026.153041, PDF,    科研立项经费支持
作者: 何星火:北京信息科技大学计算机学院,北京;齐 林:北京信息科技大学管理科学与工程学院,北京
关键词: 边缘检测RTV滤波Canny算子Edge Detection RTV Filtering Canny Operator
摘要: 针对传统算子采用高斯滤波导致的模糊效应、传统非极大值抑制会保留虚假像素点以及人工设定阈值繁琐不稳定等问题,提出基于RTV滤波与可梯度改进Otsu优化的Canny算子改进算法。该算法通过RTV滤波平滑并去除噪声,得到更清晰的图像;并用非线性插值优化非极大值抑制,以梯度幅值加权类间方差最大化原则并采用二次阈值分割策略,消除了虚假边缘像素点,实现高低阈值自适应确定,有效增强了边缘线条的连续性与稳定性。实验结果表明,在BSD500公共数据集上平均F1可达0.836,显著优于其他传统对比方法。
Abstract: To address the blurring effect caused by Gaussian filtering in traditional operators, the retention of false pixels by conventional non-maximum suppression (NMS), and the cumbersome and unstable manual threshold setting, an improved Canny operator algorithm based on RTV filtering and gradient-weighted improved Otsu optimization is proposed. The algorithm uses RTV filtering to smooth and remove noise, yielding clearer images; it further optimizes NMS via nonlinear interpolation, eliminates false edge pixels following the principle of maximizing gradient magnitude-weighted between-class variance, and adopts a two-stage thresholding strategy to adaptively determine high and low thresholds. This effectively enhances the continuity and stability of edge contours. Experimental results demonstrate that the proposed method achieves an average F1-score of 0.836 on the BSD500 public dataset, significantly outperforming other traditional comparative methods.
文章引用:何星火, 齐林. 基于RTV滤波和改进Otsu优化Canny算子的彩画边缘检测研究[J]. 软件工程与应用, 2026, 15(3): 433-444. https://doi.org/10.12677/sea.2026.153041

参考文献

[1] 廖平军. RTV绝缘子憎水性图像增强新方法及应用[J]. 电瓷避雷器, 2018(3): 139-143.
[2] 肖扬, 周军. 图像边缘检测综述[J]. 计算机工程与应用, 2023, 59(5): 40-54.
[3] 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. [Google Scholar] [CrossRef
[4] Jing, J., Liu, S., Wang, G., Zhang, W. and Sun, C. (2022) Recent Advances on Image Edge Detection: A Comprehensive Review. Neurocomputing, 503, 259-271. [Google Scholar] [CrossRef
[5] Rahmawati, S., Devita, R., Zain, R.H., Rianti, E., Lubis, N. and Wanto, A. (2021) Prewitt and Canny Methods on Inversion Image Edge Detection: An Evaluation. Journal of Physics: Conference Series, 1933, Article 012039. [Google Scholar] [CrossRef
[6] 李志远, 王光辉. 基于传统边缘算子的车道线识别研究[J]. 现代电子技术, 2024, 47(7): 61-65.
[7] 张婷婷, 章坚武, 郭春生, 等. 基于深度学习的图像目标检测算法综述[J]. 电信科学, 2020, 36(7): 92-106.
[8] Tian, B. and Wei, W. (2022) Research Overview on Edge Detection Algorithms Based on Deep Learning and Image Fusion. Security and Communication Networks, 2022, Article ID: 1155814. [Google Scholar] [CrossRef
[9] Peng, C., Yang, M., Zheng, Q., Zhang, J., Wang, D., Yan, R., et al. (2020) A Triple-Thresholds Pavement Crack Detection Method Leveraging Random Structured Forest. Construction and Building Materials, 263, Article 120080. [Google Scholar] [CrossRef
[10] Bertasius, G., Shi, J. and Torresani, L. (2015) DeepEdge: A Multi-Scale Bifurcated Deep Network for Top-Down Contour Detection. 2015 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, 7-12 June 2015, 4380-4389. [Google Scholar] [CrossRef
[11] 刘超超, 司亚超. 引入注意力机制的整体嵌套边缘检测网络[J]. 河北建筑工程学院学报, 2023, 41(2): 222-228.
[12] Wang, Z., Zhu, S., Li, Y. and Cui, Z. (2016) Convolutional Neural Network Based Deep Conditional Random Fields for Stereo Matching. Journal of Visual Communication and Image Representation, 40, 739-750. [Google Scholar] [CrossRef
[13] Yu, Z., Feng, C., Liu, M. and Ramalingam, S. (2017) CASENet: Deep Category-Aware Semantic Edge Detection. 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, 21-26 July 2017, 5964-5973. [Google Scholar] [CrossRef
[14] Wang, X., Ma, H., Chen, X. and You, S. (2017) Edge Preserving and Multi-Scale Contextual Neural Network for Salient Object Detection. IEEE Transactions on Image Processing, 27, 121-134. [Google Scholar] [CrossRef] [PubMed]
[15] He, J., Zhang, S., Yang, M., Shan, Y. and Huang, T. (2019) Bi-Directional Cascade Network for Perceptual Edge Detection. 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, 15-20 June 2019, 3828-3837. [Google Scholar] [CrossRef
[16] Tanchenko, A. (2014) Visual-PSNR Measure of Image Quality. Journal of Visual Communication and Image Representation, 25, 874-878. [Google Scholar] [CrossRef
[17] Wang, Z., Bovik, A.C., Sheikh, H.R. and Simoncelli, E.P. (2004) Image Quality Assessment: From Error Visibility to Structural Similarity. IEEE Transactions on Image Processing, 13, 600-612. [Google Scholar] [CrossRef] [PubMed]
[18] 张宇, 张健, 齐林. 基于遗传算法优化Canny算子的织绣文物纹样抽取方法研究[J]. 丝绸, 2024, 61(6): 1-12.