FEATURE EXTRACTION OF DISEASED LEAF IMAGES

PATIL J.K.1*, RAJ KUMAR2
1Bharati Vidyapeeth (Deemed Univ.), Pune, MS, India.
2Defence Institute of Advanced Tech., Deemed University, Girinagar, Pune-25, MS, India.
* Corresponding Author : jayamala.kp@gmail.com

Received : 14-02-2012     Accepted : 09-03-2012     Published : 12-03-2012
Volume : 3     Issue : 1       Pages : 60 - 63
J Signal Image Process 3.1 (2012):60-63

Cite - MLA : PATIL J.K. and RAJ KUMAR "FEATURE EXTRACTION OF DISEASED LEAF IMAGES ." Journal of Signal and Image Processing 3.1 (2012):60-63.

Cite - APA : PATIL J.K., RAJ KUMAR (2012). FEATURE EXTRACTION OF DISEASED LEAF IMAGES . Journal of Signal and Image Processing, 3 (1), 60-63.

Cite - Chicago : PATIL J.K. and RAJ KUMAR "FEATURE EXTRACTION OF DISEASED LEAF IMAGES ." Journal of Signal and Image Processing 3, no. 1 (2012):60-63.

Copyright : © 2012, PATIL J.K. and RAJ KUMAR, Published by Bioinfo Publications. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution and reproduction in any medium, provided the original author and source are credited.

Abstract

Image feature extraction is an important key in success of Content Based Image Retrieval (CBIR) systems . The low level visual features of an image can be extracted from color, texture & shape of the image. These features can be used during retrieval to compare query image and other images in the database. This paper describes the method for extraction of color & texture features of diseased leaves of maize. Color features are extracted by computing first, second & third order moments of HSV histogram of an image. The textures features like correlation, energy, inertia & homogeneity are obtained by computing gray level co-occurrence matrix of an image.

Keywords

Color, Texture, Histogram, Co-occurrence matrix.

Introduction

The position of the any country in the world depends on its economy and the economy of most of the countries depends on agricultural production. In country like India the farmers have wide diversity to select their crop for cultivation to produce maximum yield depending on environment available. Then also the production get affected by diseases of the crop. The diseases of the crop are caused by pathogens, deficiency of nutrients, fungi etc. Detecting diseases at early stages enables to overcome it and treat it appropriately. This process requires an expert to identify the disease, describe the method of treatment and protection. Identifying the plant disease is not easy task. It requires experience and knowledge of plants and their diseases. It also requires accuracy in describing the symptoms of plant diseases. A person can depend on a system which has experience and knowledge, called an Expert System. An expert system can be:
• An excellent farmers
• Agricultural advisor
• Electronic or Computerized expert system
An excellent farmers precisely catch the change of the crops in the growing process and they manage the cultivation in proportion to the change in order to cultivate the agricultural products of high quality. Since sensing the delicate change of crops is acquired through the observation by the visual sense in their long cultivation experience, it is difficult for them to transmit the understood technique to future generations as a general cultivation one [1] .
If farmers decide to take advice from agricultural expert regarding the treatment of incidence of pest /disease/trait to their crop/plant in order to increase the crop productivity then he may face following situations [2] :
• Sometimes they have to go long distances for approaching the expert.
• Even though they go such distances expert may not be available at that time.
• Sometimes, the expert whom a farmer contacts, may not be in a position to advise the farmer with the available information and knowledge.
In these cases seeking the expert advice is very expensive and time consuming.
Electronic expert systems enables farmers in identifying type of diseases; making the right decision and selecting the proper treatment. The expert systems are intelligent computer programs that are capable of offering solutions or advices related to specific problems in given domain, both in a way and at a level comparable to that of human expert in a field. One of the advantages of using Electronic expert systems is its ability to reduce the information that human users need to process, reduce personnel costs and increase throughput. Another advantage of expert system is that it performs tasks more consistently than human experts [3] . The electronic expert systems can be thought of as Content Based Image Retrieval (CBIR) Systems. CBIR systems are computer vision applications where the desired images are retrieved from large collection of the images on the basis of the features that can be automatically extracted from the images themselves. CBIR involves two steps:
Feature Extraction: Extracting image features to a distinguishable level
Matching: Matching these feature to produce a result that is visually similar to the query image
This paper focuses on the feature extraction of the diseased leaf images.

Image Feature

The feature is a function of one or more measurement which specifies some quantifiable property of an object. It quantifies some significant characteristics of the object. The features are broadly classified in to two groups:
• Low level features: These can be extracted directly from the original image.
• High level features: These can be extracted from low level features [4] .
The image features are also classified as:
• General features: These are application independent features like color, texture and shape.
• Domain specific features: These are calculated over entire image or regular sub-area of an image.
The rest of the paper discusses on the extraction of the color & texture feature.
Color: Color is one of the most widely used feature in image retrieval because of its robustness, effectiveness, & computational simplicity. The color of the image is represented through some color model. The commonly used color models are RGB (red, green, blue), HSV (hue, saturation, value) and Y, Cb, Cr (luminance and chrominance) .hence for any color image the color contents are characterized by 3-channels from some color model. The color feature can be described by color histogram [4-6] , color correlogram [7] , Color moment [6,8-10] ,color structure descriptor scalable color descriptor [4] .
The color moment has the lowest computational complexity ; hence it is suitable for image retrieval.
Texture: Texture is a very interesting image feature that has been used for characterization of images, with application in content-based image retrieval. There is no single formal definition of texture. The major characteristic of texture is the repetition of a pattern or patterns over a region in an image. The elements of patterns are called textons. The size, shape, color, and orientation of the textons can vary over the region. The difference between two textures can be in the degree of variation of the textons. It can also be due to spatial statistical distribution of the textons in the image. The texture can not have the capability of finding similar images but it can be combined with another visual attribute like color to design effective retrieval methods. The structure can be statistically represented by Fourier power spectra, gray level co-occurrence metrics [11,12] , shift-invariant principal component analysis [4] , fractal model, multi-resolution filtering like Gabor [6] and wavelet transform.

Feature Extraction

In this paper we are proposing combination of color features derived from histogram moments & texture features derived from co-occurrence matrix.
Color Features Extraction : many methods are available to extract color information from an image. One of the method is color histogram.. color histogram provides the distribution of colors within image or within interested region of an image. The important property of histogram is that it is invariant to rotation, translation & scaling . The color histogram H for an image is defined as



Where,
represents a color in the color histogram,
is the number of pixels in color in the image, is the number of bins in the color histogram.
To compare images of different sizes, the color histogram needs to be normalized [4] ; it leads to better views of structure in the image [6] . The normalized color histogram H’ is defined as :



In order to reduce the feature vector dimension center moments are used to describe histogram. The center moment and mean is defined [6] as:





Where ,
n’ is moment order,
is normalized histogram ,
is gray level
‘m’ is mean
As per (3), zero order moment is 1 and first order moment is zero; hence mean, second order moment called variance & third order moment called skewness are used in this paper. These are sufficient to describe the histogram distribution .
Feature extraction can be achieved by using different color models . But due to its perceptual uniformity, we perform the feature extraction in HSV space [13] . The HSV color space is a non-linear transform of the RGB-cube. It is widely used in the field of color vision. The chromatic components hue, saturation and value correspond closely with the categories of human color perception. The HSV values of a pixel can be transformed from its RGB representation according to the following equations :







To get color moment feature set following steps are executed
• The RGB images is preprocessed .
• The image is converted into HSV Component.
• Histogram equalization is done for three component
• Calculate first , second & third order moment for the three components’ histogram respectively.
• Steps 1 & 4 are executed for all images.

Texture Feature Extraction

To extract texture features gray level co-occurrence matrix is used.
It considers the spatial relationship of pixels. It is also known as the gray-level spatial dependence matrix. The co-occurrence matrix C(i,j) counts the co-occurrence of pixels with gray values i and j at a given distance d. The o-occurrence matrix is defined as [4] :



Where, is a distance defined in polar coordinates with discrete length and orientation. Practically  takes values as 0º,45º, 90º,135º, 180º, 225º,270º and 315º.
Cord{.} is number of elements in the set.
The dimension of the co-occurrence matrix is N X N Hence the computational complexity of the co-occurrence e matrix depends on the number of gray scales used for quantization. Various features like energy, inertia, correlation, entropy can be extracted from the co-occurrence matrix to reduce the dimensionality of feature set. The formal definition of the above features is [14] :



Inertia is also known as variance and Contrast. It measures the local variations in the gray-level co-occurrence matrix.



It measures the joint probability occurrence of the specified pixel pairs.



It provides the sum of squared elements in the gray-level co-occurrence matrix. It is also known as uniformity or the angular second moment.



It measures the closeness of the distribution of elements in the gray-level co-occurrence matrix to the gray-level co-occurrence matrix diagonal.
For equation (9)-(12)









Following steps are executed to get the texture features:
• Convert RGB color image to gray image.
• Obtain co- occurrence matrix for different offset values specified by of ‘d’ (distance between the pixel of interest and its neighbor) and angle ‘α’.
• From the properties of co-occurrence matrix obtain the statics like correlation, inertia (contrast), energy & homogeneity.
• Repeat Steps 1 to 3 for all images.

Experimental Results

The experiment is carried with diseased leaf images of Maize in MATLAB image processing toolbox. For experimentation 10 different leaves of the MAIZE affected by gray spot & common rust disease are used. The diseased leaves are as shown in [Fig-1] .

Color Moments: For each of the diseased leaf color moments are calculated by executing steps (1) to (5) given in section 3. Only first order (M1-Mean) second order ( M2-Varience) & third order (M3- Skewness) moments of equalized histogram of HSV images are computed. Hence for single leaf total 9 moment features are obtained.
[Fig-2] gives the details of execution. For all images same steps are executed and color moment feature are obtained which are tabulated in [Table-1] .

Texture Feature: The texture feature are obtained from gray level co-occurrence matrix of each diseased leaf image by executing steps (1) to(4) of section 3.
These steps are executed for all 10 images for d=1 & various values of α (0º,45º,90º &135º).

Conclusion

This paper describes a possible approach for extraction of low level image features like color & texture. This approach can be used for the agricultural applications like detection & classification of diseases of plant parts like leaf with suitable classifier like ‘Nearest Neighbor Classifier’. Further these features can be used for image retrieval in CBIR systems.

References

[1] Hiroya Kondou, Hatuyoshi Kitamura, Yutaka Nishikawa, Yoshitaka Motonaga and Atsushi Hashimoto, Shape Evaluation by Digital Camera for Grape Leaf.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[2] Prasad Babu M.S. and Srinivasa Rao B. (2007) Leaves Recognition Using Back Propagation Neural Network-Advice For Pest and Disease Control On Crops.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[3] Maliappis M.T., Ferentinos K.P., Passam H.C. and Sideridis A.B. (2008) World Journal of Agricultural Sciences 4(5), 640-647.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[4] Ryszard S. Choras (2007) International Journal Of Biology And Biomedical Engineering,1(1), 6-16.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[5] Suhasini P.S., Sri Rama Krishna K., Murali Krishna I.V. (2009) Journal Of Theoretical And Applied Information Technology, 6(1), 116-122.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[6] Zhi-Chun Huang, Patrick P. Chan, Wing W.Y. N.G., Daniel S. Yeung (2010) ninth international conference on machine learning and cybernetics, 11-14, 719-724.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[7] Huang J., Kumar S.R., Mitra M., Zhu W.J. and Zabih R. (1997) IEEE Int. Conf. Computer Vision and Pattern Recognition, 762-768.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[8] Del Bimbo A., Mugnaini M., Pala P. and Turco F. Picasso, (1997) 2nd International Conference on Visual Information Systems, 125-131.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[9] Jau-Ling Shih & Ling-Hwei Chen, color image retrieval based on primitives of color moments.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[10] Priti Maheswary, Namita Srivastav (2008) international conference on computer and electrical engineering, 821-824.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[11] Mona Sharma, Sameer Singh (2001) Seventh Australian and New Zealand Intelligent Information Systems Conference, 117-121.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[12] Xinhong Zhang, Fan Zhang (2008) Congress on Image and Signal Processing, IEEE computer society, 773-776.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[13] Hui Yu, Mingjing Li, Hong-Jiang Zhang, Jufu Feng (2003) International Conference on Image Processing.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

[14] MATLAB release 14, image processing toolbox.  
» CrossRef   » Google Scholar   » PubMed   » DOAJ   » CAS   » Scopus  

Images
Fig. 1- Diseased Leaf Images of Maize
Fig. 2- Execution flow for Color Histogram Moment feature extraction.
Table 1- HSV Histogram Moments
Table 2- Texture Features