{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T02:36:55Z","timestamp":1790044615693,"version":"4.0.1"},"reference-count":33,"publisher":"Frontiers Media SA","license":[{"start":{"date-parts":[[2025,9,12]],"date-time":"2025-09-12T00:00:00Z","timestamp":1757635200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["frontiersin.org"],"crossmark-restriction":true},"short-container-title":["Front. Plant Sci."],"abstract":"<jats:p>External defect detection is a crucial step in Orah mandarin citrus grading. However, in existing defect detection algorithms by image processing, Orah mandarin surfaces exhibit characteristics such as higher brightness at the center, lower brightness at the edges, and uneven brightness distribution in images. Although traditional brightness correction algorithms can solve these issues, they suffer from limitations including prolonged processing time, high computational complexity, and elevated false detection rates. To address these shortcomings, this work proposes a non-brightness correction algorithm to enhance the speed and accuracy of Orah mandarin external defect detection. The proposed algorithm divides Orah mandarin images into multiple equal-sized regions and performs threshold segmentation sequentially using a sliding window matching the region size. A sliding window size of 100 \u00d7 100 pixels was chosen because it offers a balanced trade-off between detection precision and computational efficiency, allowing the algorithm to detect both large and subtle defects effectively while maintaining fast processing speed. First, the histogram statistical method categorizes the current sliding window region into three types, and a dedicated defect detection algorithm applies adaptive thresholding to each type. Next, the threshold-segmented regions are merged, while the fruit stem area is excluded by combining circularity and hue features. Finally, morphological operations eliminate noise to obtain complete defect segmentation results. Experimental results demonstrate that with a sliding window size of 100 \u00d7 100 pixels, the algorithm achieves rapid external defect detection at 85.3 ms per fruit and a 97.5% defect recognition rate, offering a novel approach for fruit surface defect detection. This performance is consistent across different defect types, though the algorithm performed best for point-like defects, such as thrips scarring and canker spots, where clear, localized defects were more easily detected. For blocky rot defects, such as sunburn, the algorithm exhibited a slightly lower recognition rate, particularly in areas where the defect was less distinct and more integrated with the fruit\u2019s surface. These findings suggest that the algorithm is effective for a range of defect types but may require further refinement to handle more complex or overlapping defects.<\/jats:p>","DOI":"10.3389\/fpls.2025.1654143","type":"journal-article","created":{"date-parts":[[2025,9,12]],"date-time":"2025-09-12T05:45:28Z","timestamp":1757655928000},"update-policy":"https:\/\/doi.org\/10.3389\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["External defect detection of Orah mandarin based on a non-brightness correction algorithm"],"prefix":"10.3389","volume":"16","author":[{"given":"Panfei","family":"Li","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Xiaoxiao","family":"Jiang","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yuhao","family":"Wu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Qiang","family":"Fu","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sheng","family":"Qin","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1965","published-online":{"date-parts":[[2025,9,12]]},"reference":[{"key":"B1","doi-asserted-by":"publisher","first-page":"593","DOI":"10.1109\/TCE.2007.381734","article-title":"A dynamic histogram equalization for image contrast enhancement","volume":"53","author":"Abdullah-Al-Wadud","year":"2007","journal-title":"IEEE Trans. Consumer Electron."},{"key":"B2","doi-asserted-by":"publisher","first-page":"101","DOI":"10.1007\/s11263-009-0221-5","article-title":"Issues about retinex theory and contrast enhancement","volume":"83","author":"Bertalm\u00edo","year":"2009","journal-title":"Int. J. Comput. Vision"},{"key":"B3","doi-asserted-by":"publisher","first-page":"535","DOI":"10.1016\/j.jfoodeng.2006.12.007","article-title":"Computer vision detection of peel defects in citrus by means of a region oriented segmentation algorithm","volume":"81","author":"Blasco","year":"2007","journal-title":"J. Food Eng."},{"key":"B4","doi-asserted-by":"publisher","first-page":"569","DOI":"10.1016\/j.compeleceng.2017.09.012","article-title":"Contrast enhancement of brightness-distorted images by improved adaptive gamma correction","volume":"66","author":"Cao","year":"2018","journal-title":"Comput. Electrical Eng."},{"key":"B5","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1016\/j.compag.2023.108179","article-title":"Radial grid reflectance correction for hyperspectral images of fruits with rounded surfaces","volume":"213","author":"Castro","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"B6","doi-asserted-by":"publisher","first-page":"135","DOI":"10.1007\/s11760-014-0718-4","article-title":"Segmentation of video background regions based on a DTCNN-clustering approach","volume":"9","author":"Chacon-Murguia","year":"2015","journal-title":"Signal Image Video Process."},{"key":"B7","doi-asserted-by":"publisher","first-page":"5476","DOI":"10.1080\/10408398.2021.1885342","article-title":"Recent progress of nondestructive techniques for fruits damage inspection: A review","volume":"62","author":"He","year":"2022","journal-title":"Crit. Rev. Food Sci. Nutr."},{"key":"B8","first-page":"1","article-title":"Noise removal and enhancement of binary images using morphological operations","author":"Jamil","year":"2008"},{"key":"B9","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1364\/JOSA.61.000001","article-title":"Lightness and retinex theory","volume":"61","author":"Land","year":"1971","journal-title":"J. Optical Soc. America"},{"key":"B10","doi-asserted-by":"publisher","first-page":"1336","DOI":"10.3390\/agronomy12061336","article-title":"Advance of target visual information acquisition technology for fresh fruit robotic harvesting: A review","volume":"12","author":"Li","year":"2022","journal-title":"Agronomy"},{"key":"B11","doi-asserted-by":"publisher","first-page":"11651","DOI":"10.1109\/JSEN.2024.3356356","article-title":"A novel hybrid YOLO approach for precise paper defect detection with a dual-layer template and an attention mechanism","volume":"24","author":"Li","year":"2024","journal-title":"IEEE Sensors J."},{"key":"B12","doi-asserted-by":"publisher","first-page":"11651","DOI":"10.1109\/TIM.2025.3600697","article-title":"ASFM-AFD: multimodal fusion of AFD-optimized liDAR and camera data for paper defect detection","volume":"24","author":"Li","year":"2025","journal-title":"IEEE Trans. Instrumentation Measurement"},{"key":"B13","doi-asserted-by":"publisher","first-page":"241","DOI":"10.1179\/1743131X14Y.0000000088","article-title":"Machine vision technology for detecting the external defects of fruits \u2014 A review","volume":"63","author":"Li","year":"2015","journal-title":"Imaging Sci. J."},{"key":"B14","doi-asserted-by":"publisher","first-page":"33","DOI":"10.1016\/j.inpa.2016.10.003","article-title":"Computer vision-based apple grading for golden delicious apples based on surface features","volume":"4","author":"Moallem","year":"2017","journal-title":"Inf. Process. Agric."},{"key":"B15","doi-asserted-by":"publisher","first-page":"285","DOI":"10.1016\/0005-1098(75)90069-X","article-title":"A threshold selection method from gray-level histograms","volume":"11","author":"Otsu","year":"1975","journal-title":"Automatica"},{"key":"B16","first-page":"1667","article-title":"An adaptive clustering algorithm for image segmentation","author":"Pappas","year":"1989"},{"key":"B17","first-page":"167","article-title":"Comparative analysis of histogram equalization techniques","author":"Patel","year":"2014"},{"key":"B18","doi-asserted-by":"publisher","first-page":"2813","DOI":"10.3390\/electronics10222813","article-title":"Segmentation of overlapping grape clusters based on the depth region growing method","volume":"10","author":"Peng","year":"2021","journal-title":"Electronics"},{"key":"B19","doi-asserted-by":"publisher","first-page":"25","DOI":"10.1007\/s40595-014-0028-3","article-title":"An image segmentation approach for fruit defect detection using K-means clustering and graph-based algorithm","volume":"2","author":"Pham","year":"2015","journal-title":"Vietnam J. Comput. Sci."},{"key":"B20","doi-asserted-by":"publisher","first-page":"355","DOI":"10.1016\/S0734-189X(87)80186-X","article-title":"Adaptive histogram equalization and its variations","volume":"39","author":"Pizer","year":"1987","journal-title":"Comput. Vision Graphics Image Process."},{"key":"B21","doi-asserted-by":"publisher","first-page":"59","DOI":"10.1016\/j.compag.2017.02.027","article-title":"Computer vision detection of surface defect on oranges by means of a sliding comparison window local segmentation algorithm","volume":"137","author":"Rong","year":"2017","journal-title":"Comput. Electron. Agric."},{"key":"B22","doi-asserted-by":"publisher","first-page":"48","DOI":"10.1016\/j.compag.2017.03.021","article-title":"Embedded vision detection of defective orange by fast adaptive lightness correction algorithm","volume":"138","author":"Rong","year":"2017","journal-title":"Comput. Electron. Agric."},{"key":"B23","doi-asserted-by":"publisher","first-page":"225","DOI":"10.1016\/S0031-3203(99)00055-2","article-title":"Adaptive document image binarization","volume":"33","author":"Sauvola","year":"2000","journal-title":"Pattern Recognition"},{"key":"B24","first-page":"130","article-title":"A new method for fruits recognition system","author":"Seng","year":"2009"},{"key":"B25","doi-asserted-by":"publisher","first-page":"2488","DOI":"10.1111\/1750-3841.16569","article-title":"Full-surface defect detection of navel orange based on hyperspectral online sorting technology","volume":"88","author":"Shang","year":"2023","journal-title":"J. Food Sci."},{"key":"B26","doi-asserted-by":"publisher","first-page":"353","DOI":"10.1007\/s12393-022-09307-1","article-title":"Defect detection in fruit and vegetables by using machine vision systems and image processing","volume":"14","author":"Soltani Firouz","year":"2022","journal-title":"Food Eng. Rev."},{"key":"B27","first-page":"1","article-title":"Segmentation and histogram generation using the HSV color space for image retrieval","author":"Sural","year":"2002"},{"key":"B28","doi-asserted-by":"publisher","first-page":"77","DOI":"10.1016\/S0375-9601(96)00770-0","article-title":"A simple transformation for nonlinear waves","volume":"224","author":"Yan","year":"1996","journal-title":"Phys. Lett. A"},{"key":"B29","doi-asserted-by":"publisher","first-page":"1","DOI":"10.3390\/agriculture13020290","article-title":"Multi-index grading method for pear appearance quality based on machine vision","volume":"13","author":"Yang","year":"2023","journal-title":"Agriculture"},{"key":"B30","doi-asserted-by":"publisher","first-page":"77","DOI":"10.1016\/0168-1699(95)00038-0","article-title":"Accurate blemish detection with active contour models","volume":"14","author":"Yang","year":"1996","journal-title":"Comput. Electron. Agric."},{"key":"B31","doi-asserted-by":"publisher","first-page":"1","DOI":"10.3390\/app132212481","article-title":"Apple surface defect detection based on gray level co-occurrence matrix and retinex image enhancement","volume":"13","author":"Yang","year":"2023","journal-title":"Appl. Sci."},{"key":"B32","doi-asserted-by":"publisher","first-page":"1817","DOI":"10.1007\/s10586-019-03029-6","article-title":"Computer vision based analysis and detection of defects in fruits causes due to nutrients deficiency","volume":"23","author":"Yogesh","year":"2020","journal-title":"Cluster Computing"},{"key":"B33","doi-asserted-by":"publisher","DOI":"10.1016\/j.infrared.2020.103341","article-title":"Detection of common defects on mandarins by using visible and near infrared hyperspectral imaging","volume":"107","author":"Zhang","year":"2020","journal-title":"Infrared Phys. Technol."}],"container-title":["Frontiers in Plant Science"],"original-title":[],"link":[{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fpls.2025.1654143\/full","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,12]],"date-time":"2025-09-12T05:45:29Z","timestamp":1757655929000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.frontiersin.org\/articles\/10.3389\/fpls.2025.1654143\/full"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,9,12]]},"references-count":33,"alternative-id":["10.3389\/fpls.2025.1654143"],"URL":"https:\/\/doi.org\/10.3389\/fpls.2025.1654143","relation":{},"ISSN":["1664-462X"],"issn-type":[{"value":"1664-462X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,9,12]]},"article-number":"1654143"}}