IJIGSP Vol. 17, No. 6, 8 Dec. 2025
Cover page and Table of Contents: PDF (size: 1010KB)
PDF (1010KB), PP.90-108
Views: 0 Downloads: 0
Onion Size Detection, Elk-Herd Optimization, Dual Attention Fusion-Net, Dilated & Deformable Feature Pyramid Network, Circular Adaptive Median Filter, Edge Attention Guidance Network
Onion size is a crucial physiological characteristic that can be explained by a number of factors, including diameter, weight, volume, and length. Determining the size of onions is frequently necessary for sorting them for a variety of reasons, including processing machine specifications, legal requirements for sorting standards, and consumer preferences. In the process of phenotyping onions, size is another crucial quantitative feature to consider. Traditionally, algorithms based on morphology, colour, thresholding, and geometric approaches have been used to estimate the shape and size of onions. However, research that relies on these geometric or colour-based functions is limited to approximations and frequently produces erroneous results when conducted at precisely controlled heights. Healthy onions are collected and utilized as an input dataset for this paper. The gathered images are pre-processed to reduce noise and improve contrast by applying the circular adaptive median filter and homomorphic filtering with Elk-herd optimization. Next, utilizing the dilated and deformable feature pyramid network, object detection is performed on the pre-processed images. To segment the onion from the image for removing the unwanted portions, an edge-based segmentation algorithm is used, such as an edge-attention guidance network. The dual attention fusion-net, which ranks data into labelled groups and measures onion size. Accuracy, confusion metrics, FDR, hit rate, and other performance metrics are assessed for both the current and proposed models in the proposed model. Consequently, the suggested onion size detection approach outperforms the current algorithm. This method produced 97.6% accuracy, 2.9% FDR, 96% Hit Rate, 98.5% Selectivity, and 97.3% NPV. Thus, this proposed approach is the best choice for detecting the size of the onion.
M. Mythili, P. Vasanthi Kumari, "Dual Attention Fusion-Net with Edge Attention Guidance Network based Segmentation for an Automatic Size Detection of Onions", International Journal of Image, Graphics and Signal Processing(IJIGSP), Vol.17, No.6, pp. 90-108, 2025. DOI:10.5815/ijigsp.2025.06.06
[1]M. Mukhiddinov, A. Muminov, and J. Cho, “Improved classification approach for fruits and vegetables freshness based on deep learning,” Sensors, vol. 22, no. 21, pp. 8192, 2022.
[2]P. Mishra, D.N. Rutledge, J.M. Roger, K. Wali, and H.A. Khan, “Chemometric pre-processing can negatively affect the performance of near-infrared spectroscopy models for fruit quality prediction,” Talanta, vol. 229, pp. 122303, 2021.
[3]S. Karthick, and N. Muthukumaran, “U-Net Based Deep Regression Network Architecture for Single Image Super Resolution of License Plate Image,” Lecture Notes in Networks and Systems, vol. 946, pp. 311-321, 2024.
[4]F.P. Boogaard, K.S. Rongen, and G.W. Kootstra, “Robust node detection and tracking in fruit-vegetable crops using deep learning and multi-view imaging,” Biosystems Engineering, vol. 192, pp. 117-132, 2020.
[5]K.P. Alabi, Z. Zhu, and D.W. Sun, “Transport phenomena and their effect on microstructure of frozen fruits and vegetables,” Trends in Food Science & Technology, vol. 101, pp. 63-72, 2020.
[6]M. Patel, A.Y. Oh, L.A. Dwyer, H. D'Angelo, D.G. Stinchcomb, B. Liu,... and L.C. Nebeling, “Effects of buffer size and shape on the association of neighborhood SES and adult fruit and vegetable consumption,” Frontiers in Public Health, vol. 9, pp. 706151, 2021.
[7]P. Mishra, E. Woltering, B. Brouwer, and E. Hogeveen-van Echtelt, “Improving moisture and soluble solids content prediction in pear fruit using near-infrared spectroscopy with variable selection and model updating approach,” Postharvest Biology and Technology, vol. 171, pp. 111348, 2021.
[8]G.O. Conti, M. Ferrante, M. Banni, C. Favara, I. Nicolosi, A. Cristaldi, and P. Zuccarello, “Micro-and nano-plastics in edible fruit and vegetables. The first diet risks assessment for the general population,” Environmental Research, vol. 187, pp. 109677, 2020.
[9]R. Torres-Sánchez, M.T. Martínez-Zafra, N. Castillejo, A. Guillamón-Frutos, and F. Artés-Hernández, “Real-time monitoring system for shelf life estimation of fruit and vegetables,” Sensors, vol. 20, no. 7, pp. 1860, 2020.
[10]I.S. Minas, F. Blanco-Cipollone, and D. Sterle, “Accurate non-destructive prediction of peach fruit internal quality and physiological maturity with a single scan using near infrared spectroscopy,” Food Chemistry, vol. 335, pp. 127626, 2021.
[11]O.E. Apolo-Apolo, J. Martínez-Guanter, G. Egea, P. Raja, and M. Pérez-Ruiz, “Deep learning techniques for estimation of the yield and size of citrus fruits using a UAV,” European Journal of Agronomy, vol. 115, pp. 126030, 2020.
[12]J. M. Ponce, A. Aquino, B. Millan, and J.M. Andujar, “Automatic counting and individual size and mass estimation of olive-fruits through computer vision techniques,” IEEE Access, vol. 7, pp. 59451-59465, 2019.
[13]J. Gené-Mola, R. Sanz-Cortiella, J.R. Rosell-Polo, A. Escola, and E. Gregorio, “In-field apple size estimation using photogrammetry-derived 3D point clouds: Comparison of 4 different methods considering fruit occlusions,” Computers and electronics in agriculture, vol. 188, pp. 106343, 2021.
[14]H. Jeong, H. Moon, Y. Jeong, H. Kwon, C. Kim, Y. Lee, and S. Kim, “Automated Technology for Strawberry Size Measurement and Weight Prediction Using AI,” IEEE Access, 2024.
[15]M. Ferrer-Ferrer, J. Ruiz-Hidalgo, E. Gregorio, V. Vilaplana, J.R. Morros, and J. Gené-Mola, “Simultaneous fruit detection and size estimation using multitask deep neural networks,” Biosystems Engineering, vol. 233, pp. 63-75, 2023.
[16]R. Sapkota, D. Ahmed, M. Churuvija, and M. Karkee, “Immature Green Apple Detection and Sizing in Commercial Orchards using YOLOv8 and Shape Fitting Techniques,” IEEE Access, vol. 12, pp. 43436-43452, 2024.
[17]P. Sagar, A. Upadhyaya, S.K. Mishra, R.N. Pandey, S.S. Sahu, and G. Panda, “A circular adaptive median filter for salt and pepper noise suppression from MRI images,” 2020.
[18]S. Dong, J. Ma, Z. Su, and C. Li, “Robust circular marker localization under non-uniform illuminations based on homomorphic filtering,” Measurement, vol. 170, pp. 108700, 2021.
[19]M.A. Al-Betar, M.A. Awadallah, M.S. Braik, S. Makhadmeh, and I.A. Doush, “Elk herd optimizer: a novel nature-inspired metaheuristic algorithm,” Artificial Intelligence Review, vol. 57, no. 3, pp. 48, 2024.
[20]K. Wu, Y. Zhang, Z. Xie, D. Guo, and X. An, “DDFPN: Context enhanced network for object detection,” Future Generation Computer Systems, vol. 124, pp. 133-141, 2021.
[21]Z. Zhang, H. Fu, H. Dai, J. Shen, Y. Pang, and L. Shao, “Et-net: A generic edge-attention guidance network for medical image segmentation. In Medical Image Computing and Computer Assisted Intervention–MICCAI 2019: 22nd International Conference, Shenzhen, China, October 13–17, 2019, Proceedings, Part I 22 (pp. 442-450),” Springer International Publishing, 2019.
[22]Z. Dong, J. Wu, T. Ren, Y. Wang, and M. Ge, “DAF-NET: a saliency based weakly supervised method of dual attention fusion for fine-grained image classification,” arXiv preprint arXiv:2001.02219, 2020.
[23]Dataset 1: India production of ONION (apeda.gov.in), (2021), Accessed by 08-04-2024.