Meng S 2020
Meng S 2020
Meng S 2020
Identification of Tea Red Leaf Spot and Tea Red Scab Based on Hybrid
Feature Optimization
To cite this article: Shulin Meng et al 2020 J. Phys.: Conf. Ser. 1486 052023
Identification of Tea Red Leaf Spot and Tea Red Scab Based
on Hybrid Feature Optimization
Abstract. Tea leaf diseases seriously affect the quality and the yield of tea. In order to
determine whether the tea leaves are infected by diseases or any types of infection, technical
support is essential for taking appropriate measures of disease control. Images of normal tea
leaves, tea leaves infected with Tea Red Leaf Spot, and leaves infected with Tea Red Scab
disease were studied. An identification algorithm for both of the tea leaf diseases based on
hybrid feature optimization was proposed. First, the image features were extracted using the
Histogram of Oriented Gradient and the Inception v3 model. Then, hybrid feature optimization
processing was performed on two types of extracted features. Finally, the Gradient Boosting
Decision Tree algorithm was used as the classifier for the identification of tea leaf diseases.
Experiments demonstrate that the hybrid feature optimization algorithm reduces the image
feature from 36,068 to less than 150 dimensions while maintaining a high identification
accuracy, which greatly reduces the complexity of the identification algorithm. At the same
time, the identification accuracy of tea leaf diseases based on hybrid feature optimization
algorithm were higher than 95%.
1. Introduction
Tea is frequently affected by different diseases, especially Tea Red Leaf Spot disease and Tea Red
Scab disease. They affect the quality and the yield of tea, resulting in direct economic losses to tea
farmers. The accurate identification of tea diseases can facilitate prevention and treatment measures.
This not only promotes the industrialization of agricultural industry, but also improves the level of the
agricultural industry, with a practical significance and social value.
In order to solve the problems of manual identification of tea leaves, Md. Selim Hossain[1]
extracted11 features of tea pests and disease images, and used SVM classifier to identification three
kinds of tea leaves images, which are tea brown leaf spot leaf, tea algal spot leaf and normal leaf
leaves. On the one hand, the [1] does not consider the problem of numerical matching and information
redundancy between different features; On the other hand, it uses a large number of features defined
by human, the identification algorithm migrates to other data set with uncertainty. Few scholars and
experts have paid attention to the identification of tea diseases. There are few methods or algorithms to
identify tea diseases. Imaging that identification of tea leaves[2-6]and other plant diseases or pests
identification[7-10], which is similar to tea leaf diseases identification task, that could be solved by the
methods and theories of machine learning. Generally speaking, there are three stages for this kind of
identification program. The first stage is data acquisition (open data sets are also available) and data
Content from this work may be used under the terms of the Creative Commons Attribution 3.0 licence. Any further distribution
of this work must maintain attribution to the author(s) and the title of the work, journal citation and DOI.
Published under licence by IOP Publishing Ltd 1
ISCME 2019 IOP Publishing
Journal of Physics: Conference Series 1486 (2020) 052023 doi:10.1088/1742-6596/1486/5/052023
preprocessing. Two commonly used data include spectral data[8] and image data. Usually, the amount
of data obtained is small, which is not suitable for direct training of large and deep neural networks.
The second stage is feature extraction[11] and optimization, extraction features such as Histogram of
Oriented Gradient (HOG)[11], Local Binary Pattern(LBP)[5], Kernel Principal Component
Analysis(KPCA)[12] and color. Good features and appropriate feature optimization algorithm has an
important impact on identification accuracy. Finally, Support Vector Machine (SVM) [4] orBack
Propagation (BP) [13] algorithm is used to complete the classification task.
In this paper, for the identification of tea leaf’s diseases, a hybrid feature optimization method is
proposed. Firstly, using hog algorithm to extract hog features and by Inception v3 model to extract
features. Then, the extracted features are optimized by principal component analysis (PCA),
standardization and tree-based feature selection (TBFS) method. Finally, the Gradient Boosting
Decision Tree (GBDT) algorithm is used to identification of the tea leaf’s diseases.
Figure 2. Tea leaf disease identification flow chart based on hybrid feature optimization
Before extracting the HOG feature, image preprocessing is necessary, including size normalization
and gray image transformation. Before the tea leaf image can be imported into the Inception v3 model,
the purpose of image preprocessing is to normalize the image size by converting the input image to
299*299. The feature extracted by the Inception v3 model is 2,048 dimensions, and the feature of the
2
ISCME 2019 IOP Publishing
Journal of Physics: Conference Series 1486 (2020) 052023 doi:10.1088/1742-6596/1486/5/052023
tea disease image extracted by the HOG is 34,020 dimensions. After PCA dimensionality reduction,
100-dimensional features are obtained.
Figure 3. Framework for extracting image features using the Inception v3 model
The parameters and structures between the mixed layers are different. In general, the mixed layer
processes the input matrix using filters of different sizes. The mixed layer has two characteristics: one
is that the network learns the filter’s parameter by itself to avoid the problem of manually selecting the
size of the filter, and the other is that the convolution layer with small kernel size is used to replace the
layer of the large size.
The Inception v3 model uses the cross entropy loss function, which is shown in formula (1).
K
H (q, p) = − log( p(k )) q(k )
k =1
Here, and is a pair of loss functions used to replace the single loss function, is a distribution
independent of the training sample, measures the similarity between the predicted distribution and the
real distribution, is the weight coefficient.
There aren’t enough tea leaf disease image training a Inception v3 network, thus using Parameter-
based Approaches of Transfer Learning to Extraction Image Features. Specifically, an Inception v3
model is trained with a data set similar to the tea leaf data set, and the trained model is used to extract
the image features of tea leaves. The Inception v3 model defaults to input 3 channels of 299 * 299
RGB images. Therefore, the size of the input image is normalized to 299 * 299 in the image
preprocessing section. After 11 mixed layers, the image features of tea leaves of 2,048 dimensions are
obtained from the maximum pooling layer of the size 8 * 8.
3
ISCME 2019 IOP Publishing
Journal of Physics: Conference Series 1486 (2020) 052023 doi:10.1088/1742-6596/1486/5/052023
effectively reduce data dimension, compress the data, and improve the speed of the algorithm. On the
other hand, it can also remove the noise to a certain extent and enhance the noise immunity of the data.
In this paper, the PCA algorithm was used, and the highest feature dimension was 100. Therefore, the
HOG feature was reduced by the PCA algorithm from 34,020 to 100 dimensions, and the features
extracted using the Inception v3 model were reduced from 2,048 dimensions to 100 dimensions.
3. Results
Data set 1(D1) contained two categories of tagging data. Normal tea leaves are labeled "1", and
diseased leaves are labeled "0". As training samples, 80 images were randomly selected, and the
remaining 20 images were used as test samples. The D1 was used to determine whether tea leaves
were infected. Data set 2 (D2) contained three categories of tagging data: leaves with Tea Red Leaf
Spot were labeled "0", normal tea leaves were labeled "1", and leaves with Tea Red Scab disease were
labeled "2". Again, 80 leaf images were randomly selected as training samples, and the remaining 20
as test samples. The D2 can be used to distinguish the disease category.
Figure 4. Weight calculation for features extracted from D1 and D2 using TBFS algorithms
Figure 4 represents a line graph of the feature index and the feature coefficient drawn by the TBFS
after the input of the feature. If the weight coefficient is 0, it will be removed manually.
Table 1. Results of the experiment using different methods. a
D1 D2
Identification accuracy
GBDT SVM DT GBDT SVM DT
[HOG] 70% 70% 60% 45% 65% 40%
[Inception v3] 95% 85% 85% 80% 75% 70%
[DCM-A] 95% 70% 85% 85% 65% 70%
[DCM-B] 90% 95% 80% 90% 90% 70%
[ReliefF] 95% 85% 80% 90% 65% 70%
[TBFS] 100% 100% 85% 95% 90% 80%
a
The [DCM-A] represents processing the two types of features using the DCM,
which are image [HOG] features and [Inception v3] features, after extracting the
image [HOG] feature and the [Inception v3] feature.[DCM-B], [ReliefF], and
[TBFS] represent the feature sets of tea leaf images. The [DCM-B] uses PCA
dimension reduction and feature standardization; two types of features are
extracted, followed by DCM processing. ReliefF represents the ReliefF method
for feature selection and computation of [DCM-B]. The difference between
[TBFS] and [ReliefF] is that [TBFS] uses the TBFS method as feature set,
obtained by the weighted multi-feature fusion algorithm.
Compared with [DCM-A], [DCM-B] uses the PCA algorithm to reduce the dimensions and to
standardize the feature vectors. Moreover, [DCM-B] is 200-dimensional, far below the 36,068-
dimensional [DCM-A]. Based on the experimental results, the [TBFS], whether on D1 or D2, achieved
the best identification accuracy on any classifier, reaching 95%, which is higher than that of the DCM
and the ReliefF algorithm. The [DCM-B] has the same identification accuracy as the [TBFS] under
certain conditions, such as the GBDT classifier on D1, the DT classifier and the SVM classifier used
4
ISCME 2019 IOP Publishing
Journal of Physics: Conference Series 1486 (2020) 052023 doi:10.1088/1742-6596/1486/5/052023
on D2. The [ReliefF] accuracy in different data sets or different classifiers was lower than that of the
[DCM-B] and the [TBFS], except when the DT classifier was used on D1.
In conclusion, the use of the Inception v3 model to extract tea leaf image features has a high
identification accuracy. In addition, the hybrid feature optimization methods greatly reduce the input
feature vector dimension (about 0.4% of all feature dimensions), and the experiment shows that it is
highly discriminating. Moreover, the hybrid feature optimization algorithm greatly reduces the amount
of computation and computation time of the model and provides a strong support for the identification
model to be deployed in mobile devices. Finally, the use of GBDT with excellent performance further
improves the accuracy of the tea leaf disease image identification algorithm; the accuracy of the
proposed tea leaf disease identification algorithm based on hybrid feature optimization was higher
than 95%.
4. Conclusions
By comparing the identification accuracies of different features, different classifiers, and different
feature layer fusion methods, we could show that the proposed algorithm has an excellent performance.
In the future, this image dataset will be expanded, both in terms of image category and quantity. The
identification algorithm can distinguish more types of tea leaf diseaseimages and has a higher
robustness.
Acknowledgments
This work was supported in part by the National Natural Science Foundation of China under Grant Nr.
61672032 and by a 2016 Doctoral Research Initiation Fund (J01003220).
References
[1] Hossain, M. S.; Mou, R. M.; Hasan, M. M. (2018) Recognition and detection of tea leaf´s diseases
using support vector machine. In: 2018 IEEE 14th International Colloquium on Signal
Processing & Its Applications (CSPA). Malaysia. pp. 150-154.
[2] Laddi, A.; Sharma, S.; Kumar, A. (2013) Classification of tea grains based upon image
texturefeature analysis under different illumination conditions. Journal of Food Engineering,
115(2): 226-231.
[3] Li, X.; Nie, P.; Qiu, Z. J.(2011) Using wavelet transform and multi-class least square support
vector machine in multi-spectral imaging classification of Chinese famous tea. Expert
Systems with Applications, 38(9):11149-11159.
[4] Kundu, P. K.; Kundu, M. (2016) Classification of tea samples using SVM as machine learning
component of E-tongue. In: International Conference on Intelligent Control Power and
Instrumentation (ICICPI-2016). Kolkata. pp. 56-60.
[5] Tang, Z.; Su, Y.; Meng, J. E. (2015) A local binary pattern based texture descriptors
forclassification oftea leaves. Neurocomputing, 168(C):1011-1023.
[6] Palaciosmorillo, A.; Alczar, N.; De, Pablos. F.(2013) Differentiation of tea varieties using UV-Vis
spectra and pattern recognition techniques. Spectrochimica Acta Part A Molecular &
Biomolecular Spectroscopy, 103(4):79-83.
[7] Arivazhagan, S.; Shebiah, R. N.; Ananthi, S.(2013) Detection of unhealthy region of plant leaves
and classification of plant leaf diseases using texture features. Agricultural Engineering
International: The CIGR e-journal, 15(1): 211-217.
[8] Wu, X.; Zhang, W.; Qiu, Z. (2016) A novel method for detection of pieris rapae larvae on cabbage
leaves using nir hyperspectral imaging. Applied Engineering in Agriculture, 32(4):311-316.
[9] Anter, A. M.; Hassenian, A. E.; Oliva, D. (2019) An improved fast fuzzy c-means using crow
search optimization algorithm for crop identification in agricultural. Expert Systems with
Applications, 118:340-354.
[10] Muthukannan, K., & Latha, P. (2018). A ga_ffnn algorithm applied for classification in diseased
plant leaf system. Multimedia Tools and Applications, 77: 24387-24403
5
ISCME 2019 IOP Publishing
Journal of Physics: Conference Series 1486 (2020) 052023 doi:10.1088/1742-6596/1486/5/052023
[11] Chen, X.; Wang, S.; Zhang, B.(2018) Multi-feature fusion tree trunk detection and orchard
mobile robot localization using camera/ultrasonic sensors. Computers and Electronics in
Agriculture, 147:91-108.
[12] Datta, A.; Ghosh, S.; Ghosh, A. (2017) Unsupervised band extraction for hyperspectral images
using clustering and kernel principal component analysis. International journal of remote
sensing, 38(3):850-873.
[13]Dimililer, K; Zarrouk, S. (2017) ICSPI: intelligent classification system of pest insects based on
image processing and neural arbitration. Applied Engineering in Agriculture, 33(4): 453-460
[14] Szegedy. C.; Vanhoucke, V.; Ioffe, S. (2016). Rethinking the Inception Architecture for
Computer Vision. Computer Vision and Pattern identification. Las Vegas, Nevada. pp. 2818-
2826.