Professional Documents
Culture Documents
a r t i c l e i n f o a b s t r a c t
Article history: Grain in storage is exposed to a number of adverse factors, including extensive damage to grain kernels
Accepted 12 November 2013 caused by infestations of the granary weevil Sitophilus granarius. This pest causes a major decline in grain
quality leading to a substantial drop in the value of the stored material, thus contributing to large
Keywords: financial losses. It is therefore essential to ensure that this pest is identified promptly and accurately if
Granary weevil identification present in the stored grain.
Neural modeling
The purpose of this study was to define the visual representative features found in digital X-ray images
Analysis of digital X-ray images
of wheat kernels that bear traces of inner kernel damage caused by the granary weevil. Such features are
required to build training sets, which are crucial for the development of digital neural classifiers. Sub-
sequently, a set of identifying neural models was produced and verified, after which an optimal topology
was selected. The optimal artificial neural network (ANN) was a three-layer perceptron with the
following structure: 8:11-6-1:1. The proposed model identified 100% of the infested kernels correctly,
and 98.4% of the healthy ones. The analysis of the sensitivity of the generated neural model demon-
strated the significance of the following three graphical parameters determining the quality of damaged
kernel identification: cultivar, Feret coefficient (WF) and the area (P) of the kernel.
Ó 2013 Elsevier Ltd. All rights reserved.
1. Introduction grain surface and the whole developmental process takes place
inside the grain. The known methods for identification of hidden
Due to the growing scale of production and insufficient pro- infestations require the use of an expert, whose work is time-
cessing capacities, it is necessary to adopt advanced methods of consuming and costly. The commonly applied methods include:
grain storage in specially-designed facilities. These typically take physiological tests (used in large grain elevators in the USA),
the form of specialized silos (Singh et al., 2011; Alfatni et al., 2013). ninhydrin tests, ultrasound methods, flotation methods, magnetic
The grains in storage are exposed to a number of adverse factors resonance imaging (MRI), infrared radiation (IR), and X-rays. A
and impacts, including those caused by a range of storage pests well-known and used method is analysis of X-ray images of kernels
(Dah-Jye et al., 2008; Manickavasagan et al., 2008). One such pest, to identify weevil infestation (Karunakaran et al., 2003, 2004). To
believed to be a source of significant damage, is Sitophilus granarius achieve this, Karunakaran used a linear-function parametric clas-
(L.), the granary weevil (Niewiada et al., 2005.). The weevil is a sifier, and classical methods of digital image analysis.
beetle which feeds on and multiplies in stored grain (Atui et al., To minimize potential losses, the pest needs to be identified
2007; Piekarska-Boniecka et al., 2008), causing enormous damage promptly and accurately (Trematerra et al., 1999, 2013). A possible
to the quality of such grain and lowering its value. solution is to identify granary weevils indirectly by the destructive
Grain weevil infestation may be visible (optical information) or effects of their feeding within kernels. Choosing the right repre-
hidden (results of the pest’s activity inside the grain). Hidden in- sentative features to best describe the classification task is key to
festations are particularly difficult to identify due to the specific ensuring proper neural identification (Singh et al., 2009).
reproductive process of weevils. The female inserts eggs into the The purpose of the study was to define representative features
which describe the inner damage to kernels caused by granary
weevils (Nawrocka et al., 2012). An additional objective was to
* Corresponding author. Tel.: þ48 50 228 8097; fax: þ48 61 848 7156. develop and verify a set of identification neural models dedicated to
E-mail address: koszela@up.poznan.pl (K. Koszela). supporting the decision-making processes in the course of storing
0022-474X/$ e see front matter Ó 2013 Elsevier Ltd. All rights reserved.
http://dx.doi.org/10.1016/j.jspr.2013.11.001
P. Boniecki et al. / Journal of Stored Products Research 56 (2014) 38e42 39
Table 1
Main file of the input vectors obtained from X-ray images.
area (P): calculating field consists in summing up points 1. non-dimensional shape coefficient (WK),
belonging to the analyzed object, 2. Feret coefficient (WF),
circumference (L), 3. circularity coefficient (WC1),
4. circularity coefficient (WC2),
where: 5. Malinowska coefficient (WM),
6. area (P),
L e circumference, 7. circumference (L),
S e area, 8. cultivar (W4: four-state variable).
LN e maximum size vertically,
LV e maximum size horizontally. The structure of a learning file made up of eight input variables
and one output variable, is illustrated in Table 2.
Table 2
Fragment of a learning file made up of eight input variables and one output variable.
Input Output
No. 1 (WK) 2 (WF) 3 (WC1) 4 (WC2) 5 (WM) 6 (P) 7 (L) 8 (W4) ANN Replay
Table 3 Table 6
Quality of the neural model MLP: 8:11-6-1:1 for learning file g-80. Characteristics of ROC curves of models.
Model Learning Validation Test Algorithm No. of the model Model Surface under the ROC curve
quality [%] quality [%] quality [%]
g-3 MLP 8:11-6-1:1 0.996
MLP 8:11-6:1 91.6 91.4 98.8 BP 1200, CG 1500
Where: BP 1200 e means learning ANN (Artificial Neural Network) algorithm back.
Propagation for 1200 epochs.
CG 1500 e means learning ANN algorithm Conjugate Gradient for 1500 epochs.
representative features for identification of the granary weevil,
performed on the basis of information encoded in the form of
digital images, were the selected shape coefficients, determined for
binarized X-ray images of individual kernels.
The model which revealed the highest testing quality was a
three-layer perceptron with eleven neurons in the input layer, six
neurons in the hidden layer, and two in the output layer. This model
enabled correct classification, identifying 100% of infested grains.
The final conclusions are as follows:
References
A classification neural topology was generated to identify effi-
ciently the effects of grain weevil feeding in stored wheat grain on Alfatni, M., Shariff, A., Abdullah, M., Marhaban, M., Saaed, O., 2013. The application
the basis of information coded in the form of digital X-ray images. A of internal grading system technologies for agricultural products e review.
significant element in the identification process was the estimation J. Food Eng. 116, 703e725.
Atui, M.B., Flinn, P.W., Lazzari, S.M.N., Lazzari, F.A., 2007. Detection of Rhyzopertha
of the representative features enabling correct classification. Their dominica larvae in stored wheat using ELISA: the impact of myosin degradation
proper selection was the basis for the construction of learning data following fumigation. J. Stored Prod. Res. 43, 156e159.
sets, crucial to the process of neural model generation. The Boniecki, P., Dach, J., Pilarski, K., Piekarska-Boniecka, H., 2012. Artificial neural
networks for modeling ammonia emissions released from sewage sludge
composting. Atmos. Environ. 57, 49e54.
Boniecki, P., Nowakowski, K., Tomczak, R.J., 2011. Neural networks type MLP in the
Table 4 process of identification chosen varieties of maize. In: 3rd International Con-
Sensitivity analysis of optimal model MLP 8:11-6-1:1. ference on Digital Image Processing (ICDIP 2011), Proceedings of SPIE. http://
dx.doi.org/10.1117/12.896184.
Input variable Error Rank
Boniecki, P., Dach, J., Nowakowski, K., Jakubek, A., 2009. Neural image analysis of
(WC1) 1.029 8 maturity stage during composting of sewage sludge. In: International Confer-
(WC2) 1.171 5 ence on Digital Image Processing (ICDIP 2009), Proceedings, pp. 200e203.
(P) 1.244 3 http://dx.doi.org/10.1109/ICDIP.2009.85.
(WF) 1.482 2 Brabec, D., Pearson, T., Flinn, P., Katzke, D., 2010. Detection of internal insects in
wheat using a conductive roller mill and estimation of insect fragments in the
(W4) 4.302 1
resulting flour. J. Stored Prod. Res. 46, 180e185.
(WM) 1.112 7
Cheng-Jin, Du, Da-Wen, Sun, 2006. Learning techniques used in computer vision for
(L) 1.172 4
food quality evaluation: a review. J. Food Eng. 72, 39e55.
(WK) 1.148 6 Dah-Jye, L., Schoenberger, R., Archibald, J., McCollum, S., 2008. Development of a
machine vision system for automatic date grading using digital reflective near-
infrared imaging. J. Food Eng. 86, 388e398.
Table 5 Fornal, J., Jelinski, T., Sadowska, J., Grundas, S., Nawrot, J., Niewiada, A.,
Confusion matrix of the MLP 8:11-6-1:1 classification model. Warchalewsk, i J.R., Blaszczak, W., 2007. Detection of granary weevil Sitophilus
granarius (L.) eggs and internal stages in wheat grain using soft X-ray and image
Reply: “Damaged” Reply: “Healthy” Total analysis. J. Stored Prod. Res. 43, 142e148.
Karunakaran, C., Jayas, D.S., White, N., 2003. X-ray image analysis to detect in-
Total 17 64 81 festations caused by insects in grain. Cereal Chem. 80, 553e557.
Correct 17 63 80 Karunakaran, C., Jayas, D.S., White, N.D.G., 2004. Detection of internal wheat seed
Incorrect 0 1 1 infestation by Rhyzopertha dominica using X-ray imaging. J. Stored Prod. Res.
Correct [%] 100.0 98.4 98.8 40, 507e516.
Incorrect [%] 0.0 1.6 1.2 Koszela, K., Weres, J., Boniecki, P., Zaborowicz, M., Przybył, J., Dach, J., Pilarski, K., D.
Janczak, D., 2013. Computer image analysis in the quality procedure for selected
42 P. Boniecki et al. / Journal of Stored Products Research 56 (2014) 38e42
carrot varieties. Proc. SPIE 8878, Fifth International Conference on Digital Image Singh, C.B., Jayas, D.C., Paliwal, J., White, N.D.G., 2009. Detection of insect-damaged
Processing (ICDIP 2013), 887811. http://dx.doi.org/10.1117/12.2030701. wheat kernels using near-infrared hyperspectral imaging. J. Stored Prod. Res.
Manickavasagan, A., Jayas, D.S., White, N.D.G., 2008. Thermal imaging to detect 45, 151e158.
infestation by Cryptolestes ferrugineus inside wheat kernels. J. Stored Prod. Res. Singh, C.B., Jayas, D.S., Paliwal, J., White, N.D.G., 2011. Identification of insect-
44, 186e192. damaged wheat kernels using short-wave near-infrared hyperspectral and
Mery, D., Lillo, I., Loebel, H., Riffo, V., Soto, A., Cipriano, A., Aguilera, J.M., 2011. digital colour imaging. Comput. Electron. Agric. 73, 118e125.
Automated fish bone detection using X-ray imaging. J. Food Eng. 105, 485e492. Slosarz, P., Stanisz, M., Boniecki, P., Przybylak, A., Lisiak, D., Ludwiczak, A., 2011.
Mezreb, K., Goullieux, A., Ralainirina, R., Queneudec, M., 2003. Application of image Artificial neural network analysis of ultrasound image for the estimation of
analysis to measure screw speed influence on physical properties of corn and intramuscular fat content in lamb muscle. Afr. J. Biotechnol. 10, 11792e
wheat extrudates. J. Food Eng. 57, 145e152. 11796.
Nawrocka, A., Stepien, E., Grundas, S., Nawrot, J., 2012. Mass loss determination of Szczypinski, P.M., Zapotoczny, P., 2012. Computer vision algorithm for barley kernel
wheat kernels infested by granary weevil from X-ray images. J. Stored Prod. Res. identification, orientation estimation and surface structure assessment. Com-
48, 19e24. put. Electron. Agric. 87, 32e38.
Neethirajan, S., Jayas, D.S., White, N.D.G., 2007. Detection of sprouted wheat kernels Trematerra, P., Fontana, F., Mancini, M., Sciarretta, A., 1999. Influence of intact and
using soft X-ray image analysis. J. Food Eng. 81, 509e513. damaged cereal kernels on the behaviour of rice weevil, Sitophilus oryzae (L.)
, H., Wa˛ sowicz, E.,
Niewiada, A., Nawrot, J., Szafranek, B., Szafranek, J., Synak, E., Jelen (Coleoptera: Curculionidae). J. Stored Prod. Res. 35, 265e276.
2005. Some factors affecting egg-laying of granary weevil Sitophilus granarius Trematerra, P., Ianiro, R., Athanassiou, C.G., Kavallieratos, N.G., 2013. Behavioral
(L.). J. Stored Prod. Res. 41, 544e555. responses of Sitophilus zeamais Motschulsky adults to conditioned grain ker-
Piekarska-Boniecka, H., Kadiubowski, W., Siatkowski, I., 2008. Study of bionomy of nels. J. Stored Prod. Res. 53, 77e81.
the privet sawfly (Macrophya punctumalbum (L.)) (Hymenoptera, Ten- Utku, H., Kijksel, H., 1998. Use of statistical filters in the classification of wheats by
thredinidae) e a pest of park plants. Acta Sci. Pol. Hortorum Cultus 7 (1), 3e11. image analysis. J. Food Eng. 36, 385e394.