EconPapers    
Economics at your fingertips  
 

The Rapid Detection of Foreign Fibers in Seed Cotton Based on Hyperspectral Band Selection and a Lightweight Neural Network

Yeqi Fei, Zhenye Li, Dongyi Wang and Chao Ni ()
Additional contact information
Yeqi Fei: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
Zhenye Li: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China
Dongyi Wang: Smart Food and Agricultural Engineering Lab, Biological and Agricultural Engineering Department, University of Arkansas, 221 Engineering Hall, Fayetteville, AR 72701, USA
Chao Ni: College of Mechanical and Electronic Engineering, Nanjing Forestry University, Nanjing 210037, China

Agriculture, 2025, vol. 15, issue 10, 1-22

Abstract: Contamination with foreign fibers—such as mulch films and polypropylene strands—during cotton harvesting and processing severely compromises fiber quality. The traditional detection methods often fail to identify fine impurities under visible light, while full-spectrum hyperspectral imaging (HSI) techniques—despite their effectiveness—tend to be prohibitively expensive and computationally intensive. Specifically, the vast amount of redundant spectral information in full-spectrum HSI escalates both the system’s costs and processing challenges. To address these challenges, this study presents an intelligent detection framework that integrates optimized spectral band selection with a lightweight neural network. A novel hybrid Harris Hawks–Whale Optimization Operator (HWOO) is employed to isolate 12 discriminative bands from the original 288 channels, effectively eliminating redundant spectral data. Additionally, a lightweight attention mechanism, combined with a depthwise convolution module, enables real-time inference for online production. The proposed attention-enhanced CNN architecture achieves a 99.75% classification accuracy with real-time processing at 12.201 μs per pixel, surpassing the full-spectrum models by 11.57% in its accuracy while drastically reducing the processing time from 370.1 μs per pixel. This approach not only enables the high-speed removal of impurities in harvested seed cotton production lines but also offers a cost-effective pathway to practical multispectral solutions. Moreover, this methodology demonstrates broad applicability for quality control in agricultural product processing.

Keywords: seed cotton; foreign fiber; hyperspectral image; band selection; convolutional neural network (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2025
References: View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2077-0472/15/10/1088/pdf (application/pdf)
https://www.mdpi.com/2077-0472/15/10/1088/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:15:y:2025:i:10:p:1088-:d:1658554

Access Statistics for this article

Agriculture is currently edited by Ms. Leda Xuan

More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-06-07
Handle: RePEc:gam:jagris:v:15:y:2025:i:10:p:1088-:d:1658554