Mojtaba Naeimi , Maja Krzic , Stacey Scott , Prasad Daggupati , Asim Biswas
{"title":"Optimizing image-based soil organic matter prediction: Effects of illumination type and intensity","authors":"Mojtaba Naeimi , Maja Krzic , Stacey Scott , Prasad Daggupati , Asim Biswas","doi":"10.1016/j.atech.2025.100922","DOIUrl":null,"url":null,"abstract":"<div><div>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 (<em>n</em> = 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.</div></div>","PeriodicalId":74813,"journal":{"name":"Smart agricultural technology","volume":"11 ","pages":"Article 100922"},"PeriodicalIF":6.3000,"publicationDate":"2025-03-30","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Smart agricultural technology","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2772375525001558","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURAL ENGINEERING","Score":null,"Total":0}
Optimizing image-based soil organic matter prediction: Effects of illumination type and intensity
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.