ORIGINAL RESEARCH article
Front. Plant Sci.
Sec. Sustainable and Intelligent Phytoprotection
Volume 16 - 2025 | doi: 10.3389/fpls.2025.1624373
A Novel Transformer Using Dynamic Range-Enhanced Discrete Cosine Transform (DRE-DCT) for Detecting Bean Leaf Diseases
Provisionally accepted- 1Istinye University, Istanbul, Türkiye
- 2Victoria University of Wellington, Wellington, New Zealand
- 3Women in Tech, Washington, United States
- 4Istanbul Esenyurt University, Istanbul, Türkiye
- 5University of Essex, Colchester, United Kingdom
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Early detection of diseases on bean leaves is critical for preventing reduced agricultural productivity and mitigating broader agricultural challenges. Some bean leaf diseases are difficult to detect even with the human eye, presenting significant challenges for machine learning methods that rely on precise feature extraction. In this study, we propose a novel method for detecting bean leaf diseases by combining a preprocessing technique, the dynamic range enhanced discrete cosine transform (DRE-DCT), with Transformer models, referred to as DCT-Transformers. The DRE-DCT method enhances the dynamic range of input images by extracting high-frequency components and subtle details that are typically imperceptible, while preserving image quality. Transformer models were applied to classify bean leaf images both before and after preprocessing. Experimental results show that the DCT-Transformers method achieved a classification accuracy of 99.56% (precision-0.9916, recall-0.9912, and F1-score-0.9912) with preprocessed images, compared to 95.92% with non-pre-processed images. Furthermore, the DCT-Transformers method outperformed state-of-the-art methods (all below 94%) and similar studies (all below 98.5%). These findings highlight the importance of enhancing feature extraction to improve classification performance through preprocessing, offering an efficient solution for disease management in agriculture and ensuring food security.
Keywords: Bean leaf diseases classification, Transformer deep learning model, Image 31 preprocessing, image classification, Agricultural informatics, Frequency weighting. 32 33
Received: 07 May 2025; Accepted: 17 Jul 2025.
Copyright: © 2025 Ince, Shehu, Osmani and Bulut. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Harisu Abdullahi Shehu, Victoria University of Wellington, Wellington, New Zealand
Faruk Bulut, Istanbul Esenyurt University, Istanbul, Türkiye
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.