A Hybrid CNN-Transformer Model for Soil Texture Estimation from Microscopic Images
Soil texture is recognised as one of the key physical properties of soil. Although traditional laboratory testing methods can determine soil texture information with high accuracy, they are often considered time-consuming and costly. To achieve rapid and accurate acquisition of soil texture information, this study proposes RVFM, a hybrid deep learning model designed for soil texture detection using microscopic images. The model integrates a CNN branch for extracting multi-dimensional texture features with a Transformer branch for capturing global positional information, fused via a cross-attention module. This architecture effectively captures microscopic distribution characteristics to estimate soil composition proportions. Experimental results demonstrate high precision, with prediction coefficients (R2) for sand, silt, and clay reaching 0.971, 0.954, and 0.931, respectively. Corresponding Root Mean Square Errors (RMSE) were recorded at 3.789, 2.842, and 2.780. The test results outperform those of other classical network models, and the model shows better fitting performance in generalisation tests, demonstrating certain practical value
Authors
- Long Hao Qi (ORCID: https://orcid.org/0000-0002-1213-2946)
- Y. Y. Ji (ORCID: https://orcid.org/0000-0003-1169-5250)
- Shuanglong Wu
- Caixia Lin (ORCID: https://orcid.org/0000-0002-2289-0134)
- Wenhao Zhang (ORCID: https://orcid.org/0000-0003-2708-2221)
- Zeyang Zhong
- Yu Jiang
- Ming Pan
Institutions
- South China Agricultural University (CN)
- University of Manitoba (CA)
- South China University of Technology (CN)
Publication Details
- Journal
- Agronomy
- Published
- 2026-01-29
- DOI
- https://doi.org/10.3390/agronomy16030333
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00