Enhancing citrus surface defects detection: A priori feature guided semantic segmentation model

The accurate detection of citrus surface defects is of great importance for elevating the product quality and augmenting its market value. However, due to defect diversity and complexity, existing methods focused on parameter and data enhancement have limitations in detection and segmentation. Therefore, this study proposed a citrus surface defect segmentation model guided by prior features, named PrioriFormer. The model extracted texture features, boundary features, and superpixel features that were crucial for defect detection and segmentation, as priori features. A Priori Feature Fusion Module (PFFM) was designed to integrate the priori features, thereby establishing a priori feature branch. Then the priori feature branch was integrated into the baseline model SegFormer, with the objective of enhancing key feature learning capacity of the model. Finally, the effectiveness of the priori features in enhancing the performance of the model was demonstrated through the implementation of specific experiments. The result showed that PrioriFormer achieved an mPA (mean Pixel Accuracy), mIoU (mean Intersection over Union), and Dice Coefficient of 91.0 %, 85.8 %, and 91.0 %, respectively. Compared to other semantic segmentation models, the proposed model has achieved the best performance. The model parameters of PrioriFormer have only increase by 2.7 % in comparison to the baseline model, while the mIoU has improved by 3.3 %, indicating that the improvement of segmentation performance had less dependence on model parameters. Even when trained on few data, PrioriFormer maintained the high segmentation performance, with the reduction of mIoU not exceeding 4.2 %. This demonstrated the strong feature learning ability of the model in scenarios with limited data. Furthermore, validation on external datasets confirmed PrioriFormer's superior performance and adaptability to different tasks. The study found that the proposed PrioriFomer guided by priori features can effectively enhance the accuracy of the citrus surface defect segmentation model, providing technical reference for citrus sorting and quality assessment. • A priori feature guided semantic segmentation model PrioriFormer was proposed to enhance citrus surface defects detection. • Gabor texture features, Sobel boundary features, and superpixel region features were extracted as the priori features to improve the key feature learning ability of defect segmentation. • A Priori Feature Fusion Module (PFFM) was designed to fuse the priori features. • Comparative experiments with baseline models of different model parameters, investigation of the influence of few training data, and external validation on another dataset were conducted to verify the effectiveness of the PrioriFormer.

Authors

Institutions

Publication Details

Journal
Artificial Intelligence in Agriculture
Published
2025-01-09
DOI
https://doi.org/10.1016/j.aiia.2025.01.005
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing citrus surface defects detection: A priori feature guided semantic segmentation model

Xufeng Xu, Xiuqin Rao, Zetong Li, Tao Xu et al.
Artificial Intelligence in Agriculture
Smart Agriculture and AI
article

Enhancing citrus surface defects detection: A priori feature guided semantic segmentation model

Xufeng Xu, Xiuqin Rao, Zetong Li, Tao Xu, Zichao Wei, Yafei Wang
article en

Abstract

The accurate detection of citrus surface defects is of great importance for elevating the product quality and augmenting its market value. However, due to defect diversity and complexity, existing methods focused on parameter and data enhancement have limitations in detection and segmentation. Therefore, this study proposed a citrus surface defect segmentation model guided by prior features, named PrioriFormer. The model extracted texture features, boundary features, and superpixel features that were crucial for defect detection and segmentation, as priori features. A Priori Feature Fusion Module (PFFM) was designed to integrate the priori features, thereby establishing a priori feature branch. Then the priori feature branch was integrated into the baseline model SegFormer, with the objective of enhancing key feature learning capacity of the model. Finally, the effectiveness of the priori features in enhancing the performance of the model was demonstrated through the implementation of specific experiments. The result showed that PrioriFormer achieved an mPA (mean Pixel Accuracy), mIoU (mean Intersection over Union), and Dice Coefficient of 91.0 %, 85.8 %, and 91.0 %, respectively. Compared to other semantic segmentation models, the proposed model has achieved the best performance. The model parameters of PrioriFormer have only increase by 2.7 % in comparison to the baseline model, while the mIoU has improved by 3.3 %, indicating that the improvement of segmentation performance had less dependence on model parameters. Even when trained on few data, PrioriFormer maintained the high segmentation performance, with the reduction of mIoU not exceeding 4.2 %. This demonstrated the strong feature learning ability of the model in scenarios with limited data. Furthermore, validation on external datasets confirmed PrioriFormer's superior performance and adaptability to different tasks. The study found that the proposed PrioriFomer guided by priori features can effectively enhance the accuracy of the citrus surface defect segmentation model, providing technical reference for citrus sorting and quality assessment. • A priori feature guided semantic segmentation model PrioriFormer was proposed to enhance citrus surface defects detection. • Gabor texture features, Sobel boundary features, and superpixel region features were extracted as the priori features to improve the key feature learning ability of defect segmentation. • A Priori Feature Fusion Module (PFFM) was designed to fuse the priori features. • Comparative experiments with baseline models of different model parameters, investigation of the influence of few training data, and external validation on another dataset were conducted to verify the effectiveness of the PrioriFormer.

Artificial Intelligence in AgricultureVol. 15(1)
Zhejiang Lab (CN), Ministry of Agriculture and Rural Affairs (CN), Zhejiang University (CN)
Openalex Percentile: Top 100%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.