Views 
   PDF Download PDF Downloads: 1439

 Open Access -   Download full article: 

Leaf Recognition for Plant Classification Using GLCM and PCA Methods

Abdolvahab Ehsanirad and Sharath Kumar Y. H.

Department of Computer Science, University of Mysore, Mysore - 570 006, India.

Article Publishing History
Article Received on :
Article Accepted on :
Article Published :
Article Metrics
ABSTRACT:

In this paper, the image processing techniques has been used in order to classify the plants by applying on the leaves images. To extract the leaves texture features, the Gray-Level Co-occurrence matrix (GLCM) and Principal Component Analysis (PCA) algorithms have been considered. The Algorithms are trained by 390 leaves to classify 13 kinds of plants with 65 new or deformed leaves images. The result indicates that the accuracy for the GLCM method is 78% while the accuracy for the PCA method is 98%.

KEYWORDS: Classification; GLCM; PCA; Feature Extraction

Copy the following to cite this article:

Ehsanirad A, Kumar Y. H. S. Leaf Recognition for Plant Classification Using GLCM and PCA Methods. Orient. J. Comp. Sci. and Technol;3(1)


Copy the following to cite this URL:

Ehsanirad A, Kumar Y. H. S. Leaf Recognition for Plant Classification Using GLCM and PCA Methods. Orient. J. Comp. Sci. and Technol;3(1). Available from: http://www.computerscijournal.org/?p=2180


Introduction

Leaf recognition is a pattern recognition task performed specifically on leaves. It can be described as classifying a leaf either “known” or “unknown”, after comparing it with stored known leaves. It is also desirable to have a system that has the ability of learning to recognize unknown leaves.

Computational models of leaf recognition must address several difficult problems. This difficulty arises from the fact that leaves must be represented in a way that best utilizes the available leaf information to distinguish a particular leaf from all other leaves.

Compared with other methods, such as cell and molecule biology methods, classification based on leaf image is the first choice for plant classification. Sampling leaves and photogeny them are low-cost and convenient. One can easily transfer the leaf image to a computer and a computer can extract features automatically in image processing techniques. Some systems employ descriptions used by botanists. But it is not easy to extract and transfer those features to a computer automatically.

It is difficult job to tell the just one algorithm alone is the best and successful at recognizing any and all variation of the same object. And it is more difficult to tell the same algorithm to be able to differentiate between different objects. Many research has done for the leaf classification with some texture feature extraction methods.3,9,10,7

Leaf classification process method

The conventional method of leaf classification involves two main steps. The first step is obtaining a priori knowledge of each class to be recognized. Normally this knowledge encompasses some sets of texture feature of one or all of the classes. Once the knowledge is available and texture feature of the observed image are extracted, then classification techniques, for example nearest neighbors and decision trees, can be used to make the decision,5 that is the second step. Such a procedure is illustrated in Fig. 1, the tasks that texture classification has been applied to include the classification of plant leaves images.2

Currently there are a huge number of texture feature extraction methods available and most of the methods are associated with tunable parameters. It is difficult to find the most suitable feature extraction methods and their optimal parameters for a particular task. In addition, performance of classification methods also depends upon the problems, which makes selecting an optimal “feature extraction + classification” combination a difficult assignment

Figure 1

Figure 1: Conventional Plant Classification Process

Click here to View figure

 

The conventional method of plant classification involves two main steps. The first step is obtaining a priori knowledge of each class to be recognized. Normally this knowledge encompasses some sets of texture features of one or all the classes. Once the knowledge is available and texture feature of the observed image are extracted, then classification techniques, for example nearest neighbors can be used to make the decision. That is the second step. Such procedure is illustrated in Figure 1.

method is generating features based on gray level co-occurrence matrices (GLCM). The matrices are designed to measure the spatial relationships between pixels. The method is based on the belief that texture information is contained in such relationships.

Co-occurrence features are obtained from a  gray-level co-occurrence matrix. We used 22 features that extracted from GLCM matrix in this study. (Table 2) [8,4,1].

Feature Extraction

Different features are chosen to describe different properties of the leaves. Some leaves are with very distinctive shape, some have very distinctive texture patterns, and some are characterized by a combination of these properties.

Gray-Level Co-occurrence Matrix

This method was first proposed by Haralick in 1973 and still is one of the most popular means of texture analysis.8 The key concept of this

Textural Features Extracted from Gray-level Co-occurrence matrices

Our initial assumption in characterizing image texture is that all the texture information is contained in the gray-level Co-occurrence matrices. Hence all the textural features here are extracted from these gray-level Co-occurrence matrices. The equations which define a set of 22 measures of textural features are given in this paper. Some GLCM Extracted textural features are illustrated in Table 1 for two different leaf images.

Table 1

Table 1: GLCM Extracted textural features for two different leaf images.

Click here to View table

 

Leaves Classification Using Eigenspace

In this study, we have followed the method which was proposed by M. Turk and A. Pentland [6] inorder to develop a leaves classification system based on the eigenspace approach. If a multitude of leaf images can be reconstructed by weighted sum of a small collection of characteristic features or eigenpictures, perhaps an efficient way to learn and recognize leaves would be to build up the characteristic features by experience over time and recognize particular leaf by comparing the feature weights needed to approximately reconstruct them with the weights associated with known leaves. Therefore, each leaf is characterized by a small set of feature or eigenpicture weights needed to describe and reconstruct them. This is an extremely compact representation when compared with the images themselves.

Table 2

Table 2: All of 22 feature extraction equations of the GLCM

Click here to View table

 

Experimental results and discussions

The experiment is designed to illustrate the performance of two feature extraction methods, Gray Level Co-occurrence Matrix (GLCM) and Principal Component Analysis (PCA) algorithms for plant leaves classification purpose.

The GLCM is a tabulation of how often different combinations of pixel brightness values (grey levels) occur in an image. The classification steps are illustrated in Fig. 2.

In the first experiment after changing the color image to gray-level image with using of the GLCM texture feature extraction we extracted the 22 features8,4,1 of each leaf images.

Figure 2

Figure 2: Classification Steps in GLCM method

Click here to View figure

 

We have tried the GLCM method with Distance 1 (d=1) and degree 0°, Distance 1 (d=1) and degree 45°, distance 1 (d=1) and degree 90° and distance 1(d=1) and degree 135°. The performance accuracy of each one is shown in Table 4.

Table 3

Table 3: Some features extracted from some chosen leaf image of each leaves classes in (d=1) and degree 0°

Click here to View table

 

GLCM method in leaf recognition for the degrees 0° and 90° gave the same accuracy and same result. Here the poor result is in the 45° degree. Because any changes in the neighboring distance or the neighboring degree it will change the value of extracted texture feature.

The GLCM method is very sensitive for the any changes in the images such rotation, scale and etc. in Tables 3 you can see the difference in extracted features in different neighborhood degrees. The computation time for GLCM method is less and recognition of this method is very fast.

Table 4

Table 4: The performance of GLCM method in different degrees with neighborhood distance 1 and performance of PCA method.

Click here to View table

 

Figure 3

Figure 3: GLCM and PCA accuracy chart in different degrees

Click here to View figure

 

PCA method mostly using for the face recognition purpose but we tried as leaf recognition. In PCA also image should be change to gray level that can reduce the image dimension. In our experience the PCA method gave the efficient performance and very good result. It was the just one wrong recognition out of 65 test image in our test. But the test speed is not much good and computation time is high for recognizing one test image. Compare with GLCM it’s very slow but the performance of PCA method is efficient (Figure 3).

Database

The database used in our experiment is collected by our self. We pluck the leaf from the plant in the fields near our campus and around University of Mysore, which consists of intact and fresh leaf images in different rotation for 13 plant species class and constructed by our self. We taken 390 images as training set and each plant class contains the 30 leaf images in different degree of rotation and different leaf images. The test set contains the 65 of deformed and new leaf images and for each class has 5 leaf images for test. The sample dataset of leaf images and related classes are illustrated in Figure 4.

Figure 4

Figure 4: The sample dataset of leaf images and related classes

Click here to View figure

 

Conclusion

In this study, the classification based on the recognizing the leaves images with extracted texture features was proposed and performed. The texture features have been extracted with using the Gray-Level Co-occurrence Matrix (GLCM) and the Principal Component Analysis (PCA) algorithms, on the 390 image in dataset and with 65 deformed or new leaf images for test. In addition, different degrees for the GLCM method were used and it was found out to be more efficient in the degree 0° by 78.46 % accuracy. Therefore, it was specified that the GLCM is very sensitive in any changes for images such as deforming or giving the new leaf image as a test. In addition, the PCA method comes out to be more efficient compare to the GLCM method by 98.46 % accuracy.

References

  1. D. A. Clausi, “An analysis of co-occurrence texture statistics as a function of grey level quantization”, Can. J. Remote Sensing, 28(1), 45-62, 2002.
  2. F. Dell’ Acqua and P. Gamba. Texture-based characterization of urban environments on satellite sar images. IEEE Transaction on Geoscience and Remote Sensing, 41(1):153-159, January 2003.
  3. j. Graham, “Application of the Fourier-Mellin transform to translation-, rotation and scale-invariant plant leaf identification” McGill University, Montreal, July 2000.
  4. L. K. Soh and C. Tsatsulis. Texture Analysis of SAR Sea Ice Imagery Using Gray Level Co-Occurrence Matrices. In IEEE Transaction on Geoscience and Remote Sensing, 37(2), (1999).
  5. M. Tuceryan and A.K. Jain. Texture analysis. In C. H Chen, L. F. Pau, and P. S. P. Wang, editors, Handbook of Pattern Recognition and Computer Vision, chapter 2, pages 235-276. World Scientific, Singapore, (1993).
  6. M. Turk, A. Pentland, “Eigenfaces for Recognition”, Journal of Cognitive Neuroscience,3(1), 71-86 (1991).
  7. P. Tzionas, S. E. Papadakis, D. Manolakis, “Plant leaves classification based on orphological features and a fuzzy surface selection technique “,in Fifth International Conference on Technology and Automation, Thessaloniki, Greece, 365-370 (2005).
  8. R. M. Haralick, K. Shanmugam, and I. Dinstein. Textural features for image classification. IEEE Transactions on Systems, Man, and Cybernetics, SMC-3(6): 610-621,(1973).
  9. S. G. Wu, F. S. Bao, E. Y. Xu, Y. Wang, Y. Chang and Q. Xiang, “A Leaf ecognition Algorithm for Plant Classification Using Probabilistic Neural Network” arxiv, 0707, 4289v1, [cs.AI], 29 Jul 2007.
  10. Z. Wang, Z. Chi, D. Feng and Q. Wang, “Leaf Image Retrieval with Shape Features”, R. Laurini (Ed.): VISUAL 2000, LNCS 1929, pp. 477-487, (2000).

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.