A YOLO11n-Based Visual Framework for Chopped Maize Stalk Length Measurement
Image-based measurement of chopped maize stalk length remains difficult because the fragments are often slender, curved, touching, or partly overlapped. Bounding-box dimensions are therefore not reliable for length estimation, and manual measurement is too slow for repeated quality assessment. In this study, we developed a YOLO11n-based visual framework for measuring chopped maize stalk length under fixed imaging conditions. The dataset contained 1127 images collected on a laboratory platform and covered stalk lengths of 10–150 mm, different moisture states, and isolated, touching, and overlapping arrangements. To obtain more stable regions of interest, the YOLO11n detector was modified with large separable kernel attention (LSKA), a lightweight cross-scale decoupled detection (LSCD) head, and Wise intersection over union version 3 (WIoU v3). The detected stalk regions were then processed by local segmentation, morphological refinement, skeleton extraction, longest-path calculation, and washer-based scale conversion. The modified detector reached 94.8% precision, 90.4% recall, 96.5% [email protected], and 71.1% [email protected]:0.95, with a detector inference speed of 174 FPS. In the length-measurement test, the mean relative errors were 5.8%, 8.3%, and 10.4% for the <40 mm, 40–80 mm, and >80 mm groups, respectively. Across all evaluated fragments, the complete pipeline produced an MAE of 6.0 mm, an RMSE of 9.4 mm, and a mean relative error of 8.2%. The framework therefore provides a practical way to measure chopped maize stalk length under controlled imaging conditions, although long, curved, and cluttered fragments still caused most of the remaining errors.
Authors
- Fengshuang Liu (ORCID: https://orcid.org/0000-0002-2399-228X)
- Zhao Xue (ORCID: https://orcid.org/0000-0002-2213-3707)
- Jun Fu (ORCID: https://orcid.org/0000-0002-6810-6595)
- Ben Che
Institutions
- Jilin University (CN)
- Ministry of Agriculture and Rural Affairs (CN)
- Jilin Agricultural University (CN)
Publication Details
- Journal
- Electronics
- Published
- 2026-06-24
- DOI
- https://doi.org/10.3390/electronics15132775
- Primary Topic
- Spectroscopy and Chemometric Analyses
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China