Академический Документы
Профессиональный Документы
Культура Документы
Neural Network
Winston M. Tabada † Jerik G. Beltran
Dept. of Computer Science and Technology Dept. of Computer Science and Technology
Visayas State University Visayas State University
Baybay City, Leyte, Philippines Baybay City, Leyte, Philippines
winston.tabada@vsu.edu.ph jgbeltran.0626@gmail.com
ABSTRACT
Mango (Mangifera indica L.) is considered in the Philippines as 1 INTRODUCTION
one of its most important fruit crops in terms of values and Mango (Mangifera indica L.) originated in India and and were
exports. Selecting the right variety of mango to plant is critical in declared as the national fruit of India, Pakistan and the
mango production industry. Variety recognition is considered an Philippines. It is also considered as one of the most highly prized
essential tool for ensuring quality product. Human experts can do fruit of South Asia [1]. In the Philippines, there is one variety that
recognition but in their absence, technology cannot be put into stands among the rest and that is the "Carabao Mango”. Mango is
good use. This paper developed a multilayer perceptron (MLP) the third most important fruit crop of the Philippines based on
type of neural network application that can identify a mango export volume and value next to banana and pineapple (2).
variety from a leaf image of any of the four predominant mango Determining the variety of mango requires some knowledge,
varieties of the Philippines: Carabao, Pico, Pahutan and skills and experience. Mango variety identification is manually
Katchamita. Nine color features, nine textural features and seven done by mango experts. Mango experts may be efficient in
Hu moments morphological features were extracted from each recognizing variety; however, they have some associated
leaf image samples using different image processing techniques disadvantages that may harm the effort in many cases. Experts
such as the automatic thresholding method of segmentation, may lose concentration, which will diminish their accuracy to
median filter, dilation and erosion. The MLP has 25 neurons in the identify. Accuracy to identify can be affected by inter-and-intra
input layer, 50 neurons in the hidden layer and 4 neurons in the expert variability or subjectivity. An alternative solution in
output layer. The recognizer was tested with 40 leaf images (10 identifying a mango variety is to automate the process of
samples for each variety) from the samples used in the training identification to minimize subjectivity or human error.
and 40 leaf images that were not used in the training. The test Automation of the process of identification is done through image
obtained an accuracy of 96%. processing in extracting the different features of the mango leaf
image and loaded to the artificial neural network (ANN) for
CCS CONCEPTS recognition. An ANN is a computational structure inspired by the
study of biological neural processing, specifically to an important
I.4.1 [Digitization and Image Capture]: Imaging class of neural network that perform useful computations through
geometry,Quantization;I.4.3 [Enhancement]: Filtering, Grayscale
a process of learning [3]. The automation of identifying a mango
manipulation; I.4.6 [Segmentation]: Edge and feature detection;
I.4.7 [Feature Measurement]: Feature representation, Invariants, variety through its leaf digital image is the main goal of this study.
Moments, Projections, Size and shape, Texture; I.5.2 [Design
Methodology]: Classifier design and evaluation, Feature
evaluation and selection, Pattern analysis 2 RELATED WORKS
Research on plant recognition is complex and difficult because
KEYWORDS there are so many different plant species. Plant leaf is widely used
Backpropagation, moment invariants, texture analysis, for plant recognition because it is the easiest to collect and the
thresholding most abundant type of data available [4]. In this study, they
introduced plant identification application on Android devices.
They proved the robustness of kernel descriptor (KDES) for many
† Author Note object recognition applications.
Permission to make digital or hard copies of part or all of this work for personal or
classroom use is granted without fee provided that copies are not made or
distributed for profit or commercial advantage and that copies bear this notice and
The work of [5] proposed a strategy in recognizing plants from
the full citation on the first page. Copyrights for third-party components of this their leaf images utilizing the different visual features to manage
work must be honored. For all other uses, contact the owner/author(s). non-homogeneous types of plants. Considering that plant leaves
PCSC2019, March 2019, City of Manila, Philippines
© 2019 Copyright held by the owner/author(s). can have different identifiable features like color, shape and
https://doi.org/10.1145/1234567890
PCSC2019, March 2019, City of Manila, Philippines W. Tabada and J. Beltran
texture, a single set of features may not be sufficiently enough for to the grayscale image to completely filter out noise interference
complete classification of non-homogeneous types of plants. In a caused by sharp wave, while protecting the edge of the target
layered approach, each layer manipulates a specific set of features image. The filtered grayscale image is then segmented into two:
to produce its data model. Features from the different layers are the leaf image in black and the background in white. Dilation and
then fed to the classifier layer for a more vigorous classification. erosion were then applied to the binary image. Dilation is applied
for enlarging the boundaries of regions of foreground pixels while
The work of [6] suggested to use shape, vein, color and texture
holes within those regions become smaller. Erosion is applied for
features combined with Zernike movements to classify plants
shrinking the binary image. Median filter, erosion and dilation are
using the Radial Basis probabilistic neural network (RBPNN). The
methods available in imageJ[7].
RBPNN is trained using the dual stage training procedure, which
significantly improved the performance of the classifier.
3.4 Image segmentation
Image segmentation is the partition of an image into regions or
3 PROPOSED MECHANISM categories, which correspond to different objects or parts of
objects [8]. The region of interest (ROI) in this study is the leaf
3.1 System Architecture image, which is segmented from its background using the Otsu
Figure 1 shows the system architecture of the mango variety thresholding method [9]. The optimum threshold value in Otsu's
recognizer using image processing and neural network. thresholding method is established by maximizing the weighted
sum of between-class variances of foreground and the background
pixels.
𝑁𝑔 −1
𝑁𝑔 −1
𝑐𝑜𝑣 = ∑𝑖=0 ∑𝑗=0 (𝑖 − 𝑚𝑒𝑎𝑛)(𝑗 − 𝑚𝑒𝑎𝑛)𝑃(𝑖, 𝑗) (11)
Inverse Difference Moment measures the contrast of an image.
𝑁𝑔 −1
𝑁𝑔 −1 𝑃(𝑖,𝑗)
𝑖𝑑𝑚 = ∑𝑖=0 ∑𝑗=0 (12)
1+(𝑖−𝑗)2
2
𝑀2 = (𝑁20 − 𝑁02 )2 + 4𝑁11 (17) varieties. These 25 features were mapped into the 25 nodes of the
input layer, 50 nodes in the hidden layer and 4 nodes in the output
𝑀3 = (𝑁30 − 3𝑁12 )2 + (3𝑁21 − 𝑁03 )2 (18)
layer. The four nodes in the output layer correspond to the four
𝑀4 = (𝑁30 − 𝑁12 )2 + (𝑁21 − 𝑁03 )2 (19) varieties of mango. Input layer nodes are connected to the hidden
𝑀5 = (𝑁30 − 3𝑁12 )2 𝑥 (𝑁30 − 𝑁12 )2 𝑥 layer nodes with weights. The initial values of weights were
chosen randomly between -1.0 and 1.0, and the backpropagation
((𝑁30 + 𝑁12 )2 − 3(𝑁21 − 𝑁03 )2 ) algorithm was used to adjust the weights until it reached the
+ (3𝑁21 − 𝑁03 )2 𝑥 (𝑁21 − 𝑁03 )2 𝑥 predetermined minimum error or reached the maximum epochs.
Learning rate is the parameter that controls the adjustment of leaves of mangoes, the recognizer mistook the two Pahutan
weights of the neural network to minimize the loss gradient variety leaves as Pico variety leaves while a Pico variety leaf was
function [14]). Momentum updates removes some of the noises also mistaken as a Pahutan leaf. The leaves of two mango varieties
and oscillations that gradient descent has, in particular in the almost look the same as shown in Figure 7. Overall, the accuracy
directions of high curvature of the loss function [15]. of the mango variety recognizer is 96%.
Figure 6 shows the mean square error convergence curve of the
mango variety recognizer.
REFERENCES
[1] Mehta, Indu. History of Mango – ‘King of Fruits’. 7, Nainital, Uttarakhand
(India) : s.n., July 2017, International Journal of Engineering Science Invention,
Vol. 6, pp. 20-24. ISSN (Online): 2319 – 6734, ISSN (Print): 2319 – 6726.
[2] Fresh Tropical Fruits. [Online] May 14, 2017. http://investphilippines.gov.ph.
[3] Rao, Valluru B. and Rao, Hayagriva. C++ Neural Networks and Fuzzy Logic.
s.l. : MTBooks, IDG Books Worldwide, Inc., 1995. ISBN: 1558515526.
[4] Le, Thi-Lan and Tran, Duc-Tuan and Hoang, Van-Nam. 2014. Fully automatic
leaf-based plant identification, application for Vietnamese medicinal plant
search. Hanoi, Vietnam : Proceedings of the Fifth Symposium on Information
and Communication Technology. pp. 146-154. ISBN: 978-1-4503-2930-9.
[5] Chaki, Jyotismita, Parekh, Ranjan and Bhattacharya, Samar. Kolkata. 2016.
Plant Leaf Recognition Using a Layered Approach. India : 2016 International
Conference on Microelectronics, Computing and Communications
(MicroCom). ISBN: 978-1-4673-6621-2.
[6] A.H. Kulkarni, Dr. H.M.Rai, Dr. K.A.Jahagirdar, P.S.Upparamani. 2013. Leaf
Recognition Technique for Plant Classification Using RBPNN and Zernike
Moments. Belgaum, India : s.n., 2013. International Journal of Advanced
Research in Computer and Communication Engineering. ISSN (Print) : 2319-
5940.
[7] Schneider, C. A.; Rasband, W. S. & Eliceiri, K. W. (2012), "NIH Image to ImageJ:
25 years of image analysis", Nature methods 9(7): 671-675, PMID 22930834 (on
Google Scholar).
[8] Horgan, C. A. Glasbey & G. W. IMAGE ANALYSIS FOR THE BIOLOGICAL
SCIENCES. s.l. : Wiley, 1 Edition, 1995. ISBN-13: 978-0471937265.