Color Transform Based Approach For Disease Spot Detection On Plant Leaf
Color Transform Based Approach For Disease Spot Detection On Plant Leaf
Abstract— In this research, an algorithm for disease spot Nunik Noviana Kurniawati et al [3] introduced a method
segmentation using image processing techniques in plant leaf is for detection and classification of paddy disease. In this
implemented. This is the first and important phase for automatic method Otsu threshold is used for disease spot detection and
detection and classification of plant diseases. Disease spots are unnecessary spots are removed using median filter. Geng
different in color but not in intensity, in comparison with plant
Ying et al [5] studied the method of image pre-processing for
leaf color. So we color transform of RGB image can be used for
better segmentation of disease spots. In this paper a comparison detecting the disease spot. In this paper median filter is used
of the effect of CIELAB, HSI and YCbCr color space in the for image smoothing. Threshold technique is used to convert
process of disease spot detection is done. Median filter is used for filtered image into binary image and finally using edge
image smoothing. Finally threshold can be calculated by detection technique, disease spot is detected. Using above
applying Otsu method on color component to detect the disease techniques disease spot can be detected in “Monocot family”
spot. An algorithm which is independent of background noise, plants, in which mostly veins are parallel and less visible [9]
plant type and disease spot color was developed and experiments [10]. Problem occurs when the same technique is applied on
were carried out on different “Monocot” and “Dicot” family “Dicot family” plants to detect the disease spot, in which
plant leaves with both, noise free (white) and noisy background.
veins form a netted pattern. In dicot plant leaves, larger veins
Index Terms— CIELAB, Color Transform, Plant Leaf Spot are thicker and straighter [9], [10]. In the process of disease
Disease, Segmentation and Image Processing spot detection disturbance mainly occurs because of these
thicker veins.
I. INTRODUCTION
In this paper the effect of YCbCr, HSI and CIELAB color effect of presence of vein, RGB image should be color
space in the process of disease spot detection are compared. transformed before segmentation. After then Otsu threshold
Experiments were carried upon different “Monocot” and can be applied on color component to detect disease spot
“Dicot” family plant leaves with both noise free (white) and accurately. In this paper 3 color models are compared.
noisy background to get the method which is independent of
YCBCR Color Model
background noise and plant type.
This paper is organized in four sections. Methodology used This color model is widely used in digital video. In
is described in section 2 that includes 3 steps as follows, YCbCr color model, ‘Y’ indicates luminance component and
Image color transform, image smoothing and disease spot Cb, Cr indicates color component. Cb is the difference
segmentation. Experimentation and results are presented in between the blue components and CR is the difference
section 3. Conclusion to the paper is given in last section. between the red components [4] [13].
Using following formulas RGB image is transformed into
YCBCR color model [11].
0.299 0.587
0.114
II. METHODOLOGY
(1)
Fig. 2 shows the flowchart of the steps involved in the 0.168 0.331
0.500 (2)
disease spot detection. All the images in collection are in 0.500 0.418
0.081 (3)
JPEG format. These images are color transformed from RGB HSI (Hue Saturation Intensity) COLOR MODEL
image to one of the color space named by YCbCr, HIS and
CIELAB color spaces. The color transformed images are HSI is device dependent color model and based upon
passed through median filter to remove unnecessary spots. In Human Color Perception. In this color model ‘H’ indicates
last step Otsu threshold is applied on RGB image, ‘A’ Hue, which describes a pure color and is generally related to
component of CIELAB color space, ‘H’ component of HSI the wavelength of light. ‘S’ indicates Saturation, which
color space and ‘Cr’ component of YCbCr color space is used measures the “colorfulness” in HSI color Model. ‘I’ indicates
to detect the disease spot. The disease spot segmented images, Intensity, which shows the amplitude of the light [7][11][12].
obtained by all the three methods are compared to get the best
360
(4)
method for disease spot detection.
With
$
&'(!)*+'(!,*-
cos !" # %
$ .
&'(!)*% +'(!,*')!,*-%
Image Collection 6789'(,),,*
/01230145'/* 1 '(+)+,*
(5)
"
;51<5=1>';* '
* (6)
6
Image Color Transform CIELAB Color Model
- YCbCr Color Model CIELAB system is device independent which is defined
- HIS Color Model by the CIE to classify color according to the human vision. In
- CIELAB Color Model the conversion process of an image from RGB color
component to CIELAB color component, first RGB image is
converted into CIEXYZ using following Equation [3].
? 0.4124 0.3576
0.1805 (7)
Image Smoothing
0.2126 0.7152
0.722 (8)
@ 0.0193 0.1192
0.9505 (9)
Disease Spot Segmentation Brightness and color information of LAB color model is
independent of each other. In CIELAB color model, ‘L’
describes color brightness; ‘A’ describes the color ranging
from green to red; ‘B’ describes the color ranging from blue
Comparison to yellow. Conversion Formula for LAB color model is [8].
A 0.2126 0.7152
0.0722 (10)
Fig. 2: Flow Chart for Disease Spot Detection using Image Processing
B 1.4749 '0.2213 0.3390
0.1177* 128 (11)
0.6245 '0.1949 0.6057
0.8006 * 128 (12)
A. Image Color Transform
B. Image Smoothing
In plants, leaf vein is different in intensity and disease spot
is different in color, in comparison to plant leaf. So if Otsu During image collection, some noise may be introduced
threshold is applied on grayscale image, vein will also be because of camera flash. This noise can affect the detection of
present in binary image with the disease spot. But the region disease. To remove unnecessary spot, Image smoothing
of interest is only disease spots, not vein. For minimize the
International Journal of Computer Science and Telecommunications [Volume 3, Issue 6, June 2012] 67
technique is needed. In this paper median filter is used for this • Method 1: disease spots are segmented by applying Otsu
purpose. threshold on RGB image.
Median Filter • Method 2: in second method RGB image is first
converted into YCbCr color space using color transform
Median filter is a kind of higher order statistics filter.
formula. Then median filter is used for image
Median filter is nonlinear in nature, which replaces the value
smoothing. Disease spots are detected by applying Otsu
of the center pixel, by the median of the gray levels in the
threshold on ‘Cr’ component of filtered YCbCr color
image area enclosed by the filter. The median of a numerical
space.
collection is such that half the values in collection are less
than or equal to median, and half are greater than or equal to • Method 3: this is similar to method 2. Only difference is
median. that in place of YCbCr color space RGB image is
transformed into HSI color space and disease spots are
detected by applying Otsu threshold on ‘H’ component
of filtered HSI color space.
• Method 4: again same process is repeated using
CIELAB color space. Disease spots are segmented by
applying Otsu threshold on ‘A’ component of filtered
LAB color space.
As discussed in previous noise is introduced because of
camera flash, noisy background and veins in plant leaf. In
order to find the best method among these four methods,
research is categorized into three parts.
OTSU Method
In OTSU method, the pixels are separated into two classes
C and " (background and object), using a threshold at level 3(a) 3(b) 3(c)
K. After then class means (DC , D" ) and class variances (EC , E" )
are calculated. Then a threshold K is searched, that maximizes
one of the object functions (l, k, n) [14].
GH% GL% GH%
F % ; K % ; 5 (13) 4(a) 4(b) 4(c)
GI GI GL%
III. EXPERIMENTATION
5(a) 5(b) 5(c)
In this research, images of rice, corn, wheat, iris, cotton,
soybean, mustard, magnolia, apple and cherry leaf are Fig. 4: RGB image of iris leaf affected by heterosporium leaf spot disease,
without background(1(a)), with noisy background(1(b)), with noise free
collected to find the best method for disease spot detection, background(1(c)) and their respective results of disease spot detection using
which is not affected by background and type of plant leaf. Method 1(2(a,b,c)), Method 2 (3(a,b,c)), Method 3 (4(a,b,c)) and Method 4
Four methods are discussed in this paper. (5(a,b,c)
Piyush Chaudhary et al. 68
Experimental results for disease spot detection of rice leaf Experimental results for disease spot detection of Blueberry
affected by brown spot disease using different color transform leaf affected by bacterial canker (1(a)), frogeye leaf spot
methods. lesions on soybean leaf (1(b)), Bacterial blight leaf lesion on
cotton leaf (1(c)) using different color transform methods.
Piyush Chaudhary was born in Alice Noble Cheeran was born in Kerala,
Rajasthan, INDIA on February 18, 1984. India on January 28, 1962. She received
He received his Bachelor degree in her B.E. in Electrical Engineering from the
Electronics and Communication Kerala University, India in 1984. She
Engineering from the Rajasthan joined the Electrical Engineering
university, in India in 2008 and he is department, Veermata Jijabai
currently pursuing M.Tech degree in the Technological Institute (VJTI), Mumbai,
department of Electrical Engineering, Veermata Jijabai India as lecturer in 1987. She completed
Technological Institute (VJTI), Mumbai, India. His research Masters in Electrical Engineering with specialization in control
interest is image processing (Email: systems in 1994 from Mumbai University, India. Subsequently
[email protected]). she completed Masters in Electronics Engineering in 1996
from the same university. Further did Ph. D. in the topic of
signal processing for hearing aids in 2005 from Indian Institute
of Technology, Bombay, India. Currently she is an Associate
Professor in the Electrical Engineering Department, Veermata
Anand Chaudhari was born in Jijabai Technological Institute (V J T I), Mumbai, India. Her
Maharashtra, INDIA on September 7, topics of interest include Signal and Image Processing
1987. He received his Bachelor degree Applications in various fields like biomedical, partial discharge
in Electronics and Telecommunication etc (Email: [email protected]).
Engineering from the Pune university, in
India in 2009 and he is currently pursuing
M.Tech degree in the department of
Electrical Engineering, Veermata Jijabai Technological Sharda Godara was born in Rajasthan,
Institute (VJTI), Mumbai, India. His research interest is image INDIA on August 5, 1990. She received
processing (Email: [email protected]). her Bachelor degree in Computer Science
from the MITS, Lakshmangarh in India in
2011 and she is currently working in
Accentur Services Pvt. Ltd., pune, India as
assistent software engineer. Her research
interest is image processing (Email:
[email protected]).