CropWheatSwinT: Foreground-Aware Image Preprocessing for Fine-Grained Wheat Variety Classification Using Swin Transformer
Applied Sciences · 12.09.2026 · 16 (18) · 9057
DOI: 10.3390/app16189057 ↗Kurz gefasst
Fachartikel in der Zeitschrift Applied Sciences, online erschienen am 12.09.2026. Verfasst von Hasan Basri Öksüz. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 32 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).
Abstract (Originalsprache)
Fine-grained wheat variety classification involving a large number of cultivars remains challenging because different varieties often exhibit highly similar morphological and textural characteristics. In this study, a dataset comprising 124 wheat varieties was used to systematically evaluate convolutional and Transformer-based architectures and investigate the contribution of foreground-aware preprocessing to wheat variety classification. DenseNet201, MobileNetV2, InceptionV3, and Swin Transformer Tiny (SwinT) were first evaluated as baseline architectures. SwinT achieved the highest baseline performance, with a weighted precision of 92.81% and a weighted F1-score of 91.91%, and was therefore selected for subsequent experiments. A foreground-aware preprocessing pipeline, termed CropWheatSwinT, was developed using foreground localization, safety-margin cropping, aspect-ratio-preserving resizing, and background-color padding to increase the proportion of informative kernel pixels while reducing irrelevant background information. CropWheatSwinT achieved a weighted precision of 93.92%, a weighted recall of 93.07%, and a weighted F1-score of 93.15%. At the class level, the Macro F1-score increased from 0.9196 ± 0.0451 for SwinT to 0.9317 ± 0.0437 for CropWheatSwinT, corresponding to a mean improvement of 0.0121. This improvement was statistically significant according to the Wilcoxon signed-rank test (W = 2075.0, p < 0.001), with a moderate effect size (Cohen’s dz = 0.40). In contrast, the CA-, CBAM-, and RGB–Sobel-based variants achieved lower Macro F1-scores than SwinT, with significant negative differences relative to the baseline (p < 0.001). These findings suggest that foreground-focused preprocessing can provide a more effective improvement in fine-grained wheat variety classification than the investigated attention- and edge-enhancement modifications, highlighting the potential of data-centric strategies for improving Transformer-based agricultural image classification.
Zitieren
APA
Öksüz, H. B. (2026). CropWheatSwinT: Foreground-Aware Image Preprocessing for Fine-Grained Wheat Variety Classification Using Swin Transformer. Applied Sciences, 16(18), 9057. https://doi.org/10.3390/app16189057
Vancouver
Öksüz HB. CropWheatSwinT: Foreground-Aware Image Preprocessing for Fine-Grained Wheat Variety Classification Using Swin Transformer. Applied Sciences. 2026;16(18):9057. doi:10.3390/app16189057
BibTeX
@article{ksz2026,
author = {Öksüz, Hasan Basri},
title = {CropWheatSwinT: Foreground-Aware Image Preprocessing for Fine-Grained Wheat Variety Classification Using Swin Transformer},
journal = {Applied Sciences},
year = {2026},
volume = {16},
number = {18},
pages = {9057},
doi = {10.3390/app16189057}
}
EUVIMED