Abstract:Aiming to address the inherent red stray-light stripe artifacts generated during field maize leaf imaging using contact image sensors and the domain shift between laboratory images and contact-scanned field images, a maize leaf disease recognition method integrating scanned image correction and transfer learning was proposed. A contact image sensor was employed to acquire RGB scanned images of maize leaves. Compared with conventional field photography, this close-range scanning approach reduced image quality variations caused by illumination changes and complex backgrounds. However, the scanning process introduced red stray-light stripe artifacts, resulting in local color distortions and degradation of disease-related texture information. Therefore, a vein-protected stripe removal (VPSR) correction algorithm was developed. The proposed method firstly employed U2-Net to extract leaf regions and then combined vein protection, progressive abnormal-row detection, selective interpolation in non-vein regions, and R/G channel constraints to suppress red stray-light stripes. This strategy effectively removed stripe artifacts while preserving important structural and pathological features, such as leaf veins and lesions, avoiding the loss of biological information caused by global color correction. Furthermore, to reduce the domain discrepancy between scanned images and laboratory images, a lightweight cross-domain classification model was developed by using MobileNetV3-Small as the backbone network with an embedded convolutional block attention module (CBAM). A transfer learning strategy based on source-domain pre-training followed by field small-sample fine-tuning was adopted. Experimental results demonstrated that the proposed model achieved an accuracy of 97.92% and a macro F1-score of 97.13% on the PlantVillage maize disease source-domain validation set. When directly applied to contact-scanned field images without adaptation, the source-domain model achieved only 30.57% accuracy. After fine-tuning with 150 contact-scanned target-domain samples, the model achieved an accuracy of 98.86% and a macro F1-score of 99.59% on 350 contact-scanned target-domain test images collected from the same experimental site. The proposed method can improve the accuracy of maize leaf disease recognition under contact scanning conditions, which can provide a lightweight solution for rapid intelligent diagnosis of field crop diseases.