Electronic Science and Technology ›› 2023, Vol. 36 ›› Issue (10): 87-94.doi: 10.16180/j.cnki.issn1007-7820.2023.10.012
Previous Articles Next Articles
XU Yongliang,XIE Xiaohui
Received:
2022-06-28
Online:
2023-10-15
Published:
2023-10-20
Supported by:
CLC Number:
XU Yongliang,XIE Xiaohui. Circle Fitting Algorithm Based on Multilevel Optimization[J].Electronic Science and Technology, 2023, 36(10): 87-94.
Table 1.
Fitting data of different algorithms under defect circles"
指标 | LS | IRLS | Hough | 本文算法 | |
---|---|---|---|---|---|
圆心坐标/pixel | 308.245,247.753 | 327.276, 241.925 | 327.000,243.000 | 327.655, 241.904 | |
x、y最大偏移量/pixel | 19.755 | 0.724 | 1.000 | 0.596 | |
运行时间/s | 0.027 | 0.067 | 0.079 | 0.061 | |
圆心坐标/pixel | 302.941, 241.159 | 326.532, 241.878 | 327.000,241.000 | 327.417,241.836 | |
x、y最大偏移量/pixel | 25.941 | 1.468 | 1.500 | 0.664 | |
运行时间/s | 0.031 | 0.052 | 0.062 | 0.051 |
Table 2.
Fitting data of different algorithms under impurity interference"
指标 | LS | IRLS | Hough | 本文算法 | |
---|---|---|---|---|---|
圆心坐标/pixel | 351.682, 220.375 | 327.523, 241.798 | 327.000, 243.000 | 327.561,241.850 | |
x、y最大偏移量/pixel | 23.682 | 0.702 | 1.000 | 0.647 | |
运行时间/s | 0.024 | 0.089 | 0.060 | 0.042 | |
圆心坐标/pixel | 283.957, 210.609 | 289.958, 162.212 | 327.000, 243.000 | 327.525,241.890 | |
x、y最大偏移量/pixel | 44.043 | 80.288 | 1.000 | 0.610 | |
运行时间/s | 0.027 | 0.112 | 0.071 | 0.068 |
Table 3.
Fitting data of the proposed algorithm under different noise ratio"
测试 次数 | 轮廓像素个 数/pixel | 噪声比例 /% | 圆心坐标 /pixel | 运行时间 /s |
---|---|---|---|---|
1 | 5 729 | 20.4 | 327.496,241.718 | 0.158 |
2 | 6 205 | 30.4 | 327.470,241.908 | 0.163 |
3 | 6 680 | 40.4 | 327.217,241.884 | 0.201 |
4 | 7 154 | 50.3 | 327.414,241.905 | 0.195 |
5 | 7 613 | 60.0 | 327.498,241.875 | 0.195 |
6 | 8 083 | 69.8 | 327.508,241.764 | 0.204 |
7 | 8 560 | 80.0 | 327.398,241.892 | 0.224 |
8 | 9 016 | 89.5 | 327.578,241.871 | 0.251 |
9 | 9 487 | 99.3 | 327.485,241.876 | 0.304 |
10 | 9 951 | 109.1 | 327.473,241.893 | 0.282 |
11 | 10 409 | 118.7 | 327.220,241.922 | 0.238 |
12 | 10 863 | 128.3 | 327.262,241.978 | 0.246 |
13 | 11 307 | 137.6 | 327.619,241.964 | 0.210 |
14 | 11 750 | 147.0 | 327.691,241.948 | 0.210 |
15 | 12 199 | 156.3 | 327.855,243.286 | 0.272 |
16 | 12 645 | 165.7 | 327.449,242.048 | 0.340 |
17 | 13 080 | 174.8 | 327.470,241.942 | 0.415 |
18 | 13 525 | 184.2 | 327.443,241.901 | 0.600 |
19 | 13 964 | 192.2 | 327.554,241.903 | 0.437 |
20 | 14 406 | 202.7 | 327.511,241.888 | 0.636 |
21 | 14 825 | 211.5 | 327.485,241.892 | 0.573 |
22 | 15 246 | 220.4 | 327.663,243.335 | 0.447 |
23 | 15 666 | 229.2 | 327.522,242.659 | 0.436 |
24 | 16 156 | 239.5 | 327.541,241.924 | 0.652 |
25 | 16 520 | 247.1 | 327.546,241.922 | 0.577 |
26 | 17 042 | 258.1 | 327.552,241.941 | 0.564 |
27 | 17 388 | 265.4 | 327.528,241.917 | 0.695 |
[1] | 刘群坡, 席秀蕾, 杨凌霄, 等. 基于LK光流和网格运动统计的图像匹配改进算法[J]. 电子科技 2022, 35(5):1-6. |
Liu Qunpo, Xi Xiulei, Yang Lingxiao, et al. Improved image matching algorithm based on LK optical flow and grid motion statistics[J]. Electronic Science and Technology, 2022, 35(5):1-6. | |
[2] | 孙江, 曾亮, 焦少妮, 等. 球压试验压痕直径的视觉测量方法[J]. 计算机测量与控制, 2022, 30(5):69-74. |
Sun Jiang, Zeng Liang, Jiao Shaoni, et al. Measurement of indentation diameter in ball-pressure test based on computer vision method[J]. Computer Measurement & Control, 2022, 30(5):69-74. | |
[3] |
Wang B, Wang Z, Zhao D, et al. A rail detection algorithm for accurate recognition of train fuzzy video[J]. Cyber Physical Systems, 2022, 8(1):67-84.
doi: 10.1080/23335777.2021.1879277 |
[4] | Onshaunjit J, Srinonchat J. Algorithmic scheme for concurrent detection and classification of printed circuit board defects[J]. Computers,Materials & Continua, 2022, 71(1):355-367. |
[5] | 崔远. 一种改进的HOUGH圆检测快速算法[J]. 电子世界, 2017, 23(6):9-10. |
Cui Yuan. An improved HOUGH circle detection algorithm[J]. Electronics World, 2017, 23(6):9-10. | |
[6] | 黄力峰, 汪伟, 吴南星. 基于最小二乘原理的圆拟合及误差评定算法研究[J]. 机械工程与自动化, 2020, 26(2):4-6. |
Huang Lifeng, Wang Wei, Wu Nanxing. Research of circle fitting and error evaluation algorithm based on least square principle[J]. Mechanical Engineering & Automation, 2020, 26(2):4-6. | |
[7] | 朱森荣, 刘杰徽. 基于最小二乘法椭圆拟合的改进型快速算法[J]. 舰船电子工程, 2022, 42(1):33-35. |
Zhu Senrong, Liu Jiehui. Improved fast algorithm elliptic fitting based on least square method[J]. Ship Electronic Engineering, 2022, 42(1):33-35. | |
[8] | 熊保玉. 基于改进Hough变换算法的圆形零件检测[J]. 食品与机械, 2021, 37(3):112-115. |
Xiong Baoyu. Circular parts detection based on improved Hough transform algorithm[J]. Food & Machinery, 2021, 37(3):112-115. | |
[9] | 龚昕, 张楠. 基于Hough变换的圆检测算法的改进[J]. 信息技术, 2020, 44(6):89-93. |
Gong Xin, Zhang Nan. Improvement of circle detection algorithm based on Hough transform[J]. Information Technology, 2020, 44(6):89-93. | |
[10] | 陈明晶, 方源敏, 陈杰. 最小二乘法和迭代法圆曲线拟合[J]. 测绘科学, 2016, 41(1):194-197. |
Chen Mingjing, Fang Yuanmin, Chen Jie. Fitting of circular curve based on least square method and iterative method[J]. Science of Surveying and Mapping, 2016, 41(1):194-197. | |
[11] | 罗智孙, 吴国新, 何小妹. 一种非完整小圆弧曲率半径参数的评价方法[J]. 中国测试, 2021, 47(4):7-13. |
Luo Zhisun, Wu Guoxin, He Xiaomei. An evaluation method for the radius of curvature parameters of non-holonomic small arcs[J]. China Measurement & Test, 2021, 47(4):7-13. | |
[12] |
Chen Y, Wong P K, Yang Z. A new adaptive region of interest extraction method for two-lane detection[J]. International Journal of Automotive Technology, 2021, 22(6):1631-1649.
doi: 10.1007/s12239-021-0141-0 |
[13] | Jiang L Y. A fast and accurate circle detection algorithm based on random sampling[J]. Future Generation Computer System, 2021, 137(23):245-251. |
[14] |
Chum O, Matas J. Optimal randomized RANSAC[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018, 30(8):1472-1479.
doi: 10.1109/TPAMI.2007.70787 |
[15] |
Rudolf S, Snjkeana M, Kristian S. A combination of RANSAC and DBSCAN methods for solving the multiple geometrical object detection problem[J]. Journal of Global Optimization, 2021, 79(3):669-686.
doi: 10.1007/s10898-020-00950-8 |
[16] | 戴卫华, 刘盛春, 赵慎, 等. 采用局域像素匹配的随机抽样一致改进算法[J]. 国防科技大学学报, 2021, 43(4):38-43. |
Dai Weihua, Liu Shengchun, Zhao Shen, et al. Improved random sampling consensus algorithm using local pixel matching[J]. Journal of National University of Defense Technology, 2021, 43(4):38-43. | |
[17] | 杨琼楠, 马天力, 杨聪锟, 等. 基于优化采样的RANSAC图像匹配算法[J]. 激光与光电子进展, 2020, 57(10):101-104. |
Yang Qiongnan, Ma Tianli, Yang Congkun, et al. RANSAC image matching algorithm based onoptimized sampling[J]. Laser & Optoelectronics Progress, 2020, 57(10):101-104. | |
[18] |
Parlange R, Jose M. Leveraging single-shot detection and random sample consensus for wind turbine blade inspection[J]. Intelligent Service Robotics, 2021, 14(4):611-628.
doi: 10.1007/s11370-021-00383-6 |
[1] | CAO Hongfang,WANG Xiaolei,DU Gaoming,LI Zhenmin,NI Wei. Design and FPGA Implementation of Dehazing Based on Channel Difference Model and Guided Filtering [J]. Electronic Science and Technology, 2023, 36(8): 1-6. |
[2] | GUO Qicheng,SHEN Tuo,ZHANG Xuanxiong. Recognition Method of the Combined Trackside Signal Light Based on Image Processing [J]. Electronic Science and Technology, 2023, 36(7): 8-15. |
[3] | YUAN Zhenbo,BAI Bo,ZHANG Xiaowei,LUO Liujun,SHANG Tao. Automatic Alignment System for Visible Light Communication Based on Image Processing [J]. Electronic Science and Technology, 2023, 36(6): 8-15. |
[4] | WANG Huimin,BI Jiazhen,SHEN Tuo,ZHANG Xuanxiong. A Research on the Spacing Measurement Between Two Trains Located at A Curved Track by Machine Vision Technology [J]. Electronic Science and Technology, 2023, 36(6): 34-40. |
[5] | LIU Meihong,HONG Enhang,LI Zhenhua,TENG Baoren. Study on Wire Arc Additive Manufacturing Forming Based on Image Processing and Numerical Simulation [J]. Electronic Science and Technology, 2023, 36(1): 7-14. |
[6] | BI Jiazhen,SHEN Tuo,ZHANG Xuanxiong. A Research on Distance Measurement Between Trains in Rail Transit Based on Machine Vision [J]. Electronic Science and Technology, 2022, 35(9): 37-43. |
[7] | FENG Junyi,SHEN Tuo,ZHANG Xuanxiong. Trackside Signal Light Recognition Based on Image Processing [J]. Electronic Science and Technology, 2022, 35(8): 53-57. |
[8] | ZHANG Maolin,YE Qingzhou,PAN Xin,LU Hua. Quality Inspection Algorithm of Chemical Packaging Bag Coding Based on Tesseract_OCR [J]. Electronic Science and Technology, 2022, 35(7): 27-31. |
[9] | SUN Xiang,PEI Xiaofang,ZHOU Wang,ZHU Ping. Crop Height Measurement Based on Ruler Image Recognition [J]. Electronic Science and Technology, 2022, 35(7): 32-39. |
[10] | ZHANG Chongchong,HUANG Yayu. A GA-BP Neural Network for Predicting the Structure of Leaf Tobacco [J]. Electronic Science and Technology, 2022, 35(6): 35-42. |
[11] | Sunyun YANG,Xiu KAN. Design of Biological Behavior Analysis System Based on Vision and IMU Sensors [J]. Electronic Science and Technology, 2022, 35(4): 28-34. |
[12] | Lingyu JI,Yongbin GAO,Chenglu ZHAO,Xianhua TANG,Kaicheng XU,Jiacheng XU. CTA Segmentation Algorithm of Abdominal Artery Based on 3D Fully Convolutional Network [J]. Electronic Science and Technology, 2022, 35(3): 38-44. |
[13] | ZHANG Zhihao,FU Dongxiang,YAN Rui. A Measuring System for Frame Size Based on Image Processing Technology [J]. Electronic Science and Technology, 2022, 35(11): 42-47. |
[14] | ZONG Shengkang,CHENG Jianpeng,ZHANG Xiliang. Automatic Detection Method of Crane Track Altitude Difference Based on Spot Position [J]. Electronic Science and Technology, 2022, 35(1): 21-28. |
[15] | MA Ding,WU Dingxiang,TANG Lijun. Research on the Defect Method of Detection Circular Ceramic Metal Coating [J]. Electronic Science and Technology, 2021, 34(6): 28-33. |
|