Plant diseases significantly affect crop productivity and quality, making early and accurate identification essential for effective agricultural management. While manual inspection of leaf symptoms is possible, it is time-consuming and heavily dependent on domain expertise. This study presents a comparative deep learning framework for the binary classification of healthy and diseased mango and apple leaves using Convolutional Neural Networks (CNNs) and frequency-domain analysis. The dataset comprises 5,394 leaf images—2,659 diseased and 2,735 healthy—evaluated across four distinct architectural configurations. Alongside standard spatial RGB representations, frequency-domain features are extracted using Haar Discrete Wavelet Transform (DWT) and Dynamic Mode Decomposition (DMD). Specifically, a baseline RGB CNN is compared against a channel-concatenated frequency-enhanced CNN, a dual-branch CNN utilizing multiplicative-addition feature fusion to process spatial and frequency streams separately, and a ResNet18 architecture. Model performance is assessed using test accuracy, precision, recall, F1-score, confusion matrices, and ROC-AUC scores. Experimental results show that the baseline RGB CNN achieved a test accuracy of 91.11% (ROC-AUC: 0.9509), whereas direct channel concatenation with DWT and DMD features yielded 85.93% (ROC-AUC: 0.9437) and the dual-branch fusion model achieved 90.19% (ROC-AUC: 0.9470). Among all evaluated approaches, ResNet18 achieved the highest performance with a test accuracy of 97.22% and an ROC-AUC score of 0.9934. These findings indicate that while naive integration of frequency-domain features does not surpass spatial RGB baselines in this experimental setting, deep residual learning provides superior feature representation for automated mango and apple leaf disease classification.
Introduction
This study presents a deep learning-based approach for the automatic classification of healthy and diseased mango and apple leaves using image processing and computer vision techniques. Plant diseases significantly affect agricultural productivity and crop quality, while conventional disease identification through visual inspection can be time-consuming and dependent on expert knowledge. To overcome these limitations, the study investigates automated plant disease classification using Convolutional Neural Networks (CNNs) and advanced feature-extraction techniques.
The dataset consists of 5,394 leaf images, including 2,659 diseased and 2,735 healthy images. The classification task is formulated as a binary classification problem, where healthy leaves are assigned label 0 and diseased leaves are assigned label 1.
Four deep learning approaches are implemented and evaluated:
Baseline CNN: Uses RGB leaf images to extract spatial features and achieved 91.11% test accuracy with an ROC-AUC of 0.9509.
Frequency-Enhanced CNN: Incorporates Haar Discrete Wavelet Transform (DWT) and Dynamic Mode Decomposition (DMD) features along with RGB information. It achieved 85.93% test accuracy and an ROC-AUC of 0.9437.
Dual-Branch CNN: Processes RGB and frequency-domain features through separate branches and combines them using a multiplicative-addition feature-fusion mechanism. It achieved 90.19% test accuracy and an ROC-AUC of 0.9470.
ResNet18: Uses residual learning and deeper feature extraction to improve classification performance. It achieved the highest test accuracy of 97.22%, with a disease-class F1-score of 0.9706 and recall of 0.9538.
The study also investigates the contribution of frequency-domain information to plant disease classification. Although Haar DWT and DMD provide additional information about leaf textures, edges, and structural patterns, their direct integration did not improve classification performance compared with the baseline CNN in the present experimental setting.
Overall, the experimental results demonstrate that ResNet18 outperforms the other evaluated approaches for classifying healthy and diseased mango and apple leaves. The study highlights the effectiveness of deep learning, particularly residual architectures, in automated plant disease identification and demonstrates that the usefulness of frequency-domain features depends on how they are incorporated into the learning architecture.
References
[1] Hughes, D. P., & Salathé, M. (2015). An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv:1511.08060.
[2] Mohanty, S. P., Hughes, D. P., & Salathé, M. (2016). Using deep learning for image-based plant disease detection. Frontiers in Plant Science, 7, 1419. https://doi.org/10.3389/fpls.2016.01419
[3] Sladojevic, S., Arsenovic, M., Anderla, A., Culibrk, D., & Stefanovic, D. (2016). Deep neural networks based recognition of plant diseases by leaf image classification. Computational Intelligence and Neuroscience, 2016, 3289801. https://doi.org/10.1155/2016/3289801
[4] Brahimi, M., Boukhalfa, K., & Moussaoui, A. (2017). Deep learning for tomato diseases: Classification and symptoms visualization. Applied Artificial Intelligence, 31(4), 299–315. https://doi.org/10.1080/08839514.2017.1315516
[5] Fuentes, A., Yoon, S., Kim, S. C., & Park, D. S. (2017). A robust deep-learning-based detector for real-time tomato plant diseases and pests recognition. Sensors, 17(9), 2022. https://doi.org/10.3390/s17092022
[6] Ramcharan, A., et al. (2017). Deep learning for image-based cassava disease detection. Frontiers in Plant Science, 8, 1852. https://doi.org/10.3389/fpls.2017.01852
[7] Ferentinos, K. P. (2018). Deep learning models for plant disease detection and diagnosis. Computers and Electronics in Agriculture, 145, 311–318. https://doi.org/10.1016/j.compag.2018.01.009
[8] Barbedo, J. G. A. (2018). Factors influencing the use of deep learning for plant disease recognition. Biosystems Engineering, 172, 84–91. https://doi.org/10.1016/j.biosystemseng.2018.05.013
[9] Too, E. C., Yujian, L., Njuki, S., & Yingchun, L. (2019). A comparative study of fine-tuning deep learning models for plant disease identification. Computers and Electronics in Agriculture, 161, 272–279. https://doi.org/10.1016/j.compag.2018.03.032
[10] Picon, A., et al. (2019). Deep convolutional neural networks for mobile capture device-based crop disease classification. Frontiers in Plant Science, 10, 939. https://doi.org/10.3389/fpls.2019.00939
[11] Abade, A., Ferreira, P. A., & Vidal, F. de B. (2021). Plant diseases recognition on images using convolutional neural networks: A systematic review. Computers and Electronics in Agriculture, 185, 106125. https://doi.org/10.1016/j.compag.2021.106125
[12] Dhaka, V. S., et al. (2021). A survey of deep convolutional neural networks applied for prediction of plant leaf diseases. Sensors, 21(14), 4749. https://doi.org/10.3390/s21144749
[13] Tugrul, B., Elfatimi, E., & Eryigit, R. (2022). Convolutional neural networks in detection of plant leaf diseases: A review. Agriculture, 12(8), 1192. https://doi.org/10.3390/agriculture12081192
[14] Das, P. K., Rupa, S. S., Pumrin, S., Das, U. C., & Hossen, M. K. (2024). Deep learning for plant disease detection and classification: A systematic analysis and review. Current Applied Science and Technology, 24(4), e0259016. https://doi.org/10.55003/cast.2024.259016
[15] Salka, T. D., Hanafi, M., Abdul Rahman, S. M. S. A., Mohamed Zulperi, D., & Omar, Z. (2025). Plant leaf disease detection and classification using convolution neural networks model: A review. Artificial Intelligence Review, 58, 322. https://doi.org/10.1007/s10462-025-11234-6
[16] https://www.kaggle.com/datasets/prasanshasatpathy/leaves-healthy-or-diseased
[17] Das, S., Banerjee, S., Banerjee, P., & Das, N. (2024, September). Securing Comparative Study of Leaf Disease Identification with Different Deep Learning Models Using Hyperledger Fabric. In 2024 4th International Conference on Computer, Communication, Control & Information Technology (C3IT) (pp. 1-6). IEEE.