uses OpenCV, TensorFlow, NumPy, and Pandas for image processing and ML-based analysis. After training, the U-Net model (unet_masking3.keras) is used for generating segmentation masks via MaskThread class. The code is provided in supplementary information (SI), and the software is made available for download following this link: https://drive.google.com/drive/folders/1DJm3OZHfK-P-XSRXGMtpxgSx51WnVNsF?usp=sharing In both the manual and the automated procedure, the analysis focuses on the thickness of these apparent gaps between the second and third upper layers of the mesophyll. Results
Open resource ↗lines:42-51Paper record
Optical coherence tomography for early detection of crop infection.
Plant Methods · 6 Jul 2025 · 10.1186/s13007-025-01411-7
Abstract
Abstract Background Fungal diseases are among the most significant threats to global crop production, often leading to substantial yield losses. Early detection of crop infection by fungus is the very first step to deploying a timely and effective treatment. Early and reliable detection is thus key to improving yields, sustainability, and achieving food security. Conventional diagnostic methods are however often destructive, slow, or requiring visible symptoms which appear late in the infection process. To overcome these challenges, we propose using optical coherence tomography (OCT) as an innovative imaging tool to provide cross-sectional and three-dimensional images of the plant internal microstructure non-invasively, in vivo, and in real-time. Results We demonstrate the use of low-cost OCT to monitoring wheat (cultivar AxC 169) when infected by Septoria tritici . We show that OCT analysis can effectively detect signs of infection before any external symptoms appear. Although OCT cannot directly visualize fungal hyphae, OCT reveals apparent morphological changes of the mesophyll where the fungal filaments are expected to develop. This study thus focuses on monitoring and correlating changes within the mesophyll structural organisation with the state of infection. It results in distinct statistical difference between intact and infected wheat plants two days only after infection. We then demonstrate the use of machine learning (ML) for high throughput segmentation of OCT scans, providing a foundation for future automated fungus-detection analysis. Conclusions This work highlights the potential of OCT, combined with ML tools, to enable rapid, non-invasive, and early diagnosis of crop fungal infections, opening new avenues for precision agriculture and sustainable disease management.
Code and data availability