Optimizing image-based soil organic matter prediction: Effects of illumination type and intensity
• Device-specific illumination thresholds revolutionize digital soil color measurement accuracy. • CIE La*b* and CIE Lu*v* color spaces outperform RGB features in soil organic matter prediction. • Smartphones achieve optimal performance at 300–500 lux, digital cameras at 400–600 lux. • Warm lighting provides superior stability compared to natural light at moderate intensities. • Random Forest models excel in calibration while SVM models show stronger validation performance. Image-based soil organic matter (SOM) prediction has emerged as a promising approach for rapid soil assessment, but illumination variations significantly impact measurement reliability. This study provides a comprehensive analysis of illumination effects on soil color measurements and develops an optimized framework for image acquisition across different devices and lighting conditions. Soil samples ( n = 500) collected from southern Ontario, Canada were imaged under six illumination levels (100–900 lux) using both natural daylight (> 5000 k), representing cool lighting condition, and warm lighting (2700–3000 K) to simulate typical indoor condition. Images were captured using a smartphone (iPhone 14 Pro) and digital camera (Sony α7 III), with systematic evaluation of color feature stability and prediction accuracy. Mixed-model analysis revealed device-specific optimal illumination ranges for effective image feature extraction, with smartphones performing best between 300–500 lux (RMSE=0.232, CCC=0.892) and digital cameras maintaining stability up to 600 lux (RMSE=0.173, CCC=0.931). Color features from opponent-based color spaces (CIE La*b* and CIE Lu*v*) demonstrated superior stability and consistency compared to those from additive color spaces (RGB and HSV), which encode color through separate channels rather that perceptual opponent relationship. Warm lighting provided more consistent results at lower illumination levels, while natural lighting showed greater stability at higher intensities. Random Forest machine learning models achieved optimal performance under moderate illumination levels (400–500 lux) for both devices. The findings establish quantitative relationships between illumination parameters and prediction accuracy, advancing the development of reliable image-based soil analysis methods by addressing critical gaps in illumination control and feature stability.
Authors
- Prasad Daggupati (ORCID: https://orcid.org/0000-0002-7044-3435)
- Stacey D. Scott (ORCID: https://orcid.org/0000-0003-4721-7293)
- Maja Kržić (ORCID: https://orcid.org/0000-0003-3919-3252)
- Asim Biswas (ORCID: https://orcid.org/0000-0003-0801-3546)
- M. Naeimi
Institutions
- University of British Columbia (CA)
- University of Guelph (CA)
Publication Details
- Journal
- Smart Agricultural Technology
- Published
- 2025-04-01
- DOI
- https://doi.org/10.1016/j.atech.2025.100922
- Citations
- 1
- Primary Topic
- Soil Geostatistics and Mapping
- Type
- article
- Field-Weighted Citation Impact
- 0.80
Funders
- Canada First Research Excellence Fund
- Natural Sciences and Engineering Research Council of Canada