AgriSpot-Trans: Fine-Grained Micro-Lesion Segmentation in Complex Unstructured Agricultural Environments via Occlusion-Aware Hierarchical Transformer
International Journal of Engineering Intelligent Systems
Abstract
Accurate pixel-level segmentation of early-stage micro-lesions in unstructured agricultural environments is critical for precision agriculture, yet it remains fundamentally challenged by severe field occlusions, optical interferences, and fuzzy biological boundaries. To address these issues, we proposeAgriSpot-Trans, a novel end-to-end occlusion-aware hierarchicalTransformer. Unlike conventional hard-cropping pipelines that disrupt global canopy topology, our architecture introduces an Environment-AwareToken Routing (E-Decoupler) module. Driven by a Gumbel-Softmax mechanism, it softly suppresses background noise and specular reflections in the feature space. Furthermore, to overcome the morphological mismatch of standard
square-window attention, we design Morphological Radial Attention (MRA), which dynamically aligns its star-shaped receptive field with the radial diffusion gradients characteristic of biological tissue damage. Finally, a Level-Set Signed Distance Function (SDF) Decoder, optimized by a Boundary Aware Active Contour loss, is employed to achieve continuous, sub-pixel contour evolution. Extensive experiments on PlantVillage, RoCoLe, and our newly curated Complex-Field-Pest (CFP) benchmark demonstrate that AgriSpot-Trans achieves a state-of-the-art mIoU of 78.2% in complex field scenarios—a 9.5% absolute improvement over the strong SegFormer baseline (p < 0.01). Most notably, it boosts the recall for extreme micro-targets
(= 5 px) by an unprecedented 23.7%, delivering a highly robust and edge-efficient visual perception framework for real-time, variable-rate pesticide application.
Keywords: Precision agriculture, phytopathology, micro-lesion segmentation, vision transformer, level-set method, unstructured environments, active contour.
Cite As
X. Qu, H. Peng, X. Zhu, X. Shen, X. Chen, J. Luo, R. Zhou, "AgriSpot-Trans: Fine-Grained Micro-Lesion
Segmentation in Complex Unstructured Agricultural Environments via Occlusion-Aware Hierarchical
Transformer", Engineering Intelligent Systems, vol. 34 no. 3, pp. 289-303, 2026.