Identifying Irregular Potatoes Using Hausdorff Distance and Intersection over Union

被引:8
作者
Yu, Yongbo [1 ]
Jiang, Hong [1 ]
Zhang, Xiangfeng [1 ]
Chen, Yutong [1 ]
机构
[1] Xinjiang Univ, Coll Mech Engn, Urumqi 830017, Peoples R China
关键词
irregular potatoes; ellipse fitting; Hausdorff distance; least squares; machine vision; NONDESTRUCTIVE QUALITY EVALUATION; MACHINE VISION; ELLIPSE DETECTION;
D O I
10.3390/s22155740
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Further processing and the added value of potatoes are limited by irregular potatoes. An ellipse-fitting-based Hausdorff distance and intersection over union (IoU) method for identifying irregular potatoes is proposed to solve the problem. First, the acquired potato image is resized, translated, segmented, and filtered to obtain the potato contour information. Secondly, a least-squares fitting method fits the extracted contour to an ellipse. Then, the similarity between the irregular potato contour and the fitted ellipse is characterized using the perimeter ratio, area ratio, Hausdorff distance, and IoU. Next, the characterization ability of the four features is analyzed, and an identification standard of irregular potatoes is established. Finally, we discuss the algorithm's shortcomings in this paper and draw the advantages of the algorithm by comparison. The experimental results showed that the characterization ability of perimeter ratio and area ratio was inferior to that of Hausdorff distance and IoU, and using Hausdorff distance and IoU as feature parameters can effectively identify irregular potatoes. Using Hausdorff distance separately as a feature parameter, the algorithm achieved excellent performance, with precision, recall, and F1 scores reaching 0.9423, 0.98, and 0.9608, respectively. Using IoU separately as a feature parameter, the algorithm achieved a higher overall recognition rate, with precision, recall, and F1 scores of 1, 0.96, and 0.9796, respectively. Compared with existing studies, the proposed algorithm identifies irregular potatoes using only one feature, avoiding the complexity of high-dimensional features and significantly reducing the computing effort. Moreover, simple threshold segmentation does not require data training and saves algorithm execution time.
引用
收藏
页数:20
相关论文
共 52 条
[1]   Review of deep learning: concepts, CNN architectures, challenges, applications, future directions [J].
Alzubaidi, Laith ;
Zhang, Jinglan ;
Humaidi, Amjad J. ;
Al-Dujaili, Ayad ;
Duan, Ye ;
Al-Shamma, Omran ;
Santamaria, J. ;
Fadhel, Mohammed A. ;
Al-Amidie, Muthana ;
Farhan, Laith .
JOURNAL OF BIG DATA, 2021, 8 (01)
[2]  
[Anonymous], about us
[3]  
[Anonymous], 2015, 317842015 GBT
[4]   Robust ellipse detection with Gaussian mixture models [J].
Arellano, Claudia ;
Dahyot, Rozenn .
PATTERN RECOGNITION, 2016, 58 :12-26
[5]   Identifying Irregular Potatoes by Developing an Intelligent Algorithm Based on Image Processing [J].
Azizi, Afshin ;
Abbaspour-Gilandeh, Yousef .
JOURNAL OF AGRICULTURAL SCIENCES-TARIM BILIMLERI DERGISI, 2016, 22 (01) :32-41
[6]   Identifying Potato Varieties Using Machine Vision and Artificial Neural Networks [J].
Azizi, Afshin ;
Abbaspour-Gilandeh, Yousef ;
Nooshyar, Mahdi ;
Afkari-Sayah, Amirhosein .
INTERNATIONAL JOURNAL OF FOOD PROPERTIES, 2016, 19 (03) :618-635
[7]  
Cao Junli, 2017, Journal of Computer Applications, V37, P273, DOI 10.11772/j.issn.1001-9081.2017.01.0273
[8]  
Chen Y.T., 2022, Science Technology and Engineering, V22, P5519
[9]   Weed and Corn Seedling Detection in Field Based on Multi Feature Fusion and Support Vector Machine [J].
Chen, Yajun ;
Wu, Zhangnan ;
Zhao, Bo ;
Fan, Caixia ;
Shi, Shuwei .
SENSORS, 2021, 21 (01) :1-18
[10]  
Cui J.L., 2012, CHIN AGR MECH, V2012, P59, DOI [10.3969/j.issn.1006-7205.2012.02.016, DOI 10.3969/J.ISSN.1006-7205.2012.02.016]