Beruflich Dokumente
Kultur Dokumente
ScienceDirect
Research Paper
article info
The presence of contaminants in wheat reduces its quality and thereby its grade. The
Article history: identification of these contaminants in wheat is difficult when they are physically and
Received 16 November 2015 sometimes visually similar. Moreover, manual contaminant identification methods are
Received in revised form time-consuming and labour intensive. Near-infrared (NIR) hyperspectral imaging is an
28 February 2016 advanced image processing technique used effectively for quality evaluation of various
Accepted 4 April 2016 food and agricultural products. This technique can be an effective alternative to the
traditionally used manual contaminant identification methods. This study reports the
performance evaluation of the previously developed classification model to differentiate
Keywords: seven foreign material types (barley, canola, maize, flaxseed, oats, rye, and soybean); six
Wheat dockage types (broken wheat kernels, buckwheat, chaff, wheat spikelets, stones, and wild
Foreign material oats); and two animal excreta types (deer and rabbit droppings) from Canada Western Red
Dockage Spring (CWRS) wheat using NIR hyperspectral imaging. The classification model tested in
Animal excreta this study was developed using standard normal variate (SNV) spectral pre-processing
Near-infrared hyperspectral technique and k-nearest neighbours (k-NN) classifier. Two separate experiments were
imaging conducted to identify and quantify (by number) the amount of contaminant type present
along with wheat. The performance of the classification model was compared with the
model validation results. The results of the developed classification model were very close
to the model validation results and thus this model can be used for the classification of
various contaminants in wheat.
Crown Copyright © 2016 Published by Elsevier Ltd on behalf of IAgrE. All rights reserved.
Table 1 e Experimental design to identify the presence of contaminant type present with wheat.
First degree Second degree nth Degree
a b
F1 W F1 F2 W F2 F3 W F3 F4 W F4 F5 W F5 F6 W … F1 F2 F3 F4 F5..Fn W
F2 W F1 F3 W F2 F4 W F3 F5 W F4 F6 W
F3 W F1 F4 W F2 F5 W F3 F6 W
F4 W F1 F5 W F2 F6 W
F5 W F1 F6 W
Fn W
a
Different contaminant types.
b
Wheat.
b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8 251
Cypress, CA) which can emit light in the 400e2500 nm 3.3. Spectral pre-processing technique and statistical
wavelength range were used to illuminate the samples dur- classifier
ing image acquisition. The imaging system was controlled
through a personal computer (Model: Dell Optiplex GX280, From the previous study the best combination of spectral pre-
Dell Inc., Round Rock, TX) with Windows 7 operating system processing technique and the statistical classifier for
and Intel duel core processor. discriminating the contaminants from wheat were the SNV
The imaging system was calibrated before every imaging and k-NN classifier, respectively. A single MATLAB program
session to ensure the focal length of the camera was con- was developed to convert the intensity data of each particle of
stant, which in turn confirmed that the spatial size of each the hypercube into reflectance spectra, pre-process the
pixel remained consistent throughout the study period. The spectra using the SNV technique, and classify the particles of
spatial calibration of the imaging system was performed the hypercube by using k-NN classifier. The suitable k value
before every imaging session using a Canadian five cent coin was determined by the technique given by Duda, Peter, and
(diameter 21.2 mm). As the NIR hyperspectral camera used Stork (2001). During classification, the SNV pre-processed
in this study had a wavelength-dependent dark current, a spectral library of the previous study was used as a training
dark image was also acquired before every imaging session set and reflectance spectra of each particle of the hypercube
by closing the camera lens with a dark cardboard. The in- from this study were used as testing set for the k-NN classifier.
tensity data was converted into relative reflectance using a The SNV technique removed the offset and multiplicative ef-
99% reflectance white standard plate (Model: Labsphere, fects from each individual spectrum by mean centring and
North Sutton, NH). Equations given in Mahesh, Jayas, scaling the spectrum using its own standard deviation
Paliwal, and White (2010) were used to calculate the rela- (Barnes, Dhanoa, & Lister, 1989; Fearn, Riccioli, Garrido-Varo,
tive reflectance. & Guerrero-Ginel, 2009; Rinnan, Berg, & Engelsen, 2009). This
Image acquisition and hyperspectral data storage were technique is not only known to perform multiplicative
performed using the LabView (Version: 1, National In- correction, but also removes the baseline effect and surpasses
struments, Austin, TX, USA) data acquisition platform installed the effect of interfering compounds. This technique also has
on the personal computer. Hypercubes in this entire study were the capacity to induce the curved structures in the score plot,
constructed by acquiring images at every 10 nm interval in which are generally derived from the treated spectra.
1000e1600 nm range. The camera was set to the centre wave- Rodriguez-Cobo, Garcia-Allende, Cobo, Lopez-Higuera, and
length of 1300 nm to minimise geometric distortion. Conde (2012) suggested that the k-NN classifier would be an
The spectral library of foreign material, dockage, animal effective classifier for the classification of sample with high
excreta types and wheat for this paper were taken from the variations like foreign materials from grains.
previous experiments (Ravikanth et al., 2015). For the devel- For the identification experiment, the classification using
opment of spectral signature of each sample type, 300 k-NN classifier was performed as multi-way classification, but
randomly selected particles of each this sample type were for the quantification experiment, the classification was per-
used. A total of 4800 individual sample particles (300 formed as two-way classification based on the type of
kernels 16 contaminant types) were imaged to build a contaminant in wheat. Each classification was performed in
spectral library. The spectral signature of each contaminant ten replicates (using 10 hypercubes) and the mean classifica-
type and wheat were pre-processed using SNV technique and tion accuracy and confidence intervals (a ¼ 0.05) were
used as a spectral library for the identification and quantifi- reported.
cation experiments.
For both the identification and quantification experiments,
contaminant particles and wheat kernels were placed in a
non-touching manner on a black cardboard and hypercubes 4. Results and discussion
were built by acquiring 61 images in the 1000e1600 nm
wavelength range at 10 nm interval. For the identification 4.1. Identification of the presence of contaminant types
experiment, a total of 1930 hypercubes (193 combinations 10 along with wheat
replicates) and for the quantification experiment, a total of 960
hypercubes (16 contaminant types 6 contamination 4.1.1. Foreign material
levels 10 replicates) were built. The mean classification accuracies and confidence intervals
These three dimensional hypercubes (width, height, and for the identification of the presence of each foreign material
wavelength) were saved in .spc file format. An algorithm type individually and in combinations along with wheat are
written in MATLAB (Version: 8.1, Mathworks Inc., Natick, given in Table 2.
MA, USA) software was used to read these hypercubes, In the first degree of contamination, where wheat was
remove dead pixels in each image, perform operations like present along with one foreign material type, except wheat-
labelling, thresholding, and background separation on each maize (WF3, 95.0 ± 9.8%) and wheat-rye (WF6, 90.0 ± 13.1%),
image of hypercube. The algorithm converted the intensity all the foreign material types were perfectly classified
data to reflectance data and arranged them in a two (100.0 ± 0.0%). These results were similar to the model vali-
dimensional matrix (number of particles on the 2D dation results, where among all the foreign material types,
plane 61 wavelengths) which contains reflectance data maize and rye were least accurately classified from wheat.
(mean of all pixels covered by each particle) at all the 61 In the second degree of contamination, where wheat was
wavelengths. present with two foreign material types, misclassifications
252 b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8
Table 2 e Percentage accuracy (average ± confidence interval (a ¼ 0.05), %) for the identification of the presence of foreign
material types with wheat at different degrees of contamination.
First degree contamination
WF1 WF2 WF3 WF4 WF5 WF6 WF7
100.0 ± 0.0 100.0 ± 0.0 95.0 ± 9.8 100.0 ± 0.0 100.0 ± 0.0 90.0 ± 13.1 100.0 ± 0.0
Second degree contamination
WF1F2 WF1F3 WF1F4 WF1F5 WF1F6 WF1F7 WF2F3
100.0 ± 0.0 96.7 ± 6.5 100.0 ± 0.0 100.0 ± 0.0 93.3 ± 8.7 100.0 ± 0.0 100.0 ± 0.0
WF2F4 WF2F5 WF2F6 WF2F7 WF3F4 WF3F5 WF3F6
100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 93.3 ± 8.7 93.3 ± 8.7 86.7 ± 14.5
WF3F7 WF4F5 WF4F6 WF4F7 WF5F6 WF5F7 WF6F7
100.0 ± 0.0 93.3 ± 8.7 93.3 ± 8.7 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
Third degree contamination
WF1F2F3 WF1F2F4 WF1F2F5 WF1F2F6 WF1F2F7 WF1F3F4 WF1F3F5
100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 97.5 ± 4.9 97.5 ± 4.9
WF1F3F6 WF1F3F7 WF1F4F5 WF1F4F6 WF1F4F7 WF1F5F6 WF1F5F7
75.0 ± 0.0 97.5 ± 4.9 100.0 ± 0.0 95.0 ± 6.5 100.0 ± 0.0 95.0 ± 9.8 100.0 ± 0.0
WF1F6F7 WF2F3F4 WF2F3F5 WF2F3F6 WF2F3F7 WF2F4F5 WF2F4F6
95.0 ± 6.5 100.0 ± 0.0 95.0 ± 6.5 75.0 ± 0.0 97.5 ± 4.9 100.0 ± 0.0 95.0 ± 6.5
WF2F4F7 WF2F5F6 WF2F5F7 WF2F6F7 WF3F4F5 WF3F4F6 WF3F4F7
100.0 ± 0.0 97.5 ± 4.7 100.0 ± 0.0 95.0 ± 6.5 100.0 ± 0.0 97.5 ± 4.9 100.0 ± 0.0
WF3F5F6 WF3F5F7 WF3F6F7 WF4F5F6 WF4F5F7 WF4F6F7 WF5F6F7
92.5 ± 7.5 100.0 ± 0.0 82.5 ± 7.5 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
Fourth degree contamination
WF1F2F3F4 WF1F2F3F5 WF1F2F3F6 WF1F2F3F7 WF1F2F4F5 WF1F2F4F6 WF1F2F4F7
100.0 ± 0.0 100.0 ± 0.0 96.0 ± 7.8 98.0 ± 3.9 100.0 ± 0.0 98.0 ± 3.0 100.0 ± 0.0
WF1F2F5F6 WF1F2F5F7 WF1F2F6F7 WF1F3F4F5 WF1F3F4F6 WF1F3F4F7 WF1F3F5F6
88.0 ± 10.5 98.03.9 92.0 ± 6.4 96.0 ± 7.8 96.0 ± 5.2 100.0 ± 0.0 80.0 ± 0.0
WF1F3F5F7 WF1F3F6F7 WF1F4F5F6 WF1F4F5F7 WF1F4F6F7 WF1F5F6F7 WF2F3F4F5
98.0 ± 3.9 96.0 ± 7.8 96.0 ± 7.8 100.0 ± 0.0 100.0 ± 0.0 96.0 ± 5.2 84.0 ± 12.8
WF2F3F4F6 WF2F3F4F7 WF2F3F5F6 WF2F3F5F7 WF2F3F6F7 WF2F4F5F6 WF2F4F5F7
94.0 ± 8.4 96.0 ± 5.2 96.0 ± 5.2 100.0 ± 0.0 88.0 ± 12.0 80.0 ± 13.1 100.0 ± 0.0
WF2F4F6F7 WF2F5F6F7 WF3F4F5F6 WF3F4F5F7 WF3F4F6F7 WF3F5F6F7 WF4F5F6F7
80.0 ± 0.0 96.0 ± 5.2 80.0 ± 0.0 96.0 ± 5.2 86.0 ± 6.0 92.0 ± 6.4 96.0 ± 7.8
Fifth degree contamination
WF1F2F3F4F5 WF1F2F3F4F6 WF1F2F3F4F7 WF1F2F3F5F6 WF1F2F3F5F7 WF1F2F3F6F7 WF1F2F4F5F6
98.3 ± 3.3 98.3 ± 3.3 98.3 ± 3.3 85.0 ± 7.6 95.0 ± 5.0 98.3 ± 3.3 95.0 ± 5.0
WF1F2F4F5F7 WF1F2F4F6F7 WF1F2F5F6F7 WF1F3F4F5F6 WF1F3F4F5F7 WF1F3F4F6F7 WF1F3F5F6F7
96.7 ± 4.4 95.0 ± 5.0 96.7 ± 4.4 93.3 ± 7.2 96.7 ± 6.5 85.0 ± 9.0 85.0 ± 5.9
WF1F4F5F6F7 WF2F3F4F5F6 WF2F3F4F5F7 WF2F3F4F6F7 WF2F3F5F6F7 WF2F4F5F6F7 WF3F4F5F6F7
95.0 ± 7.0 93.3 ± 7.2 95.0 ± 7.0 93.3 ± 7.2 95.0 ± 7.0 96.7 ± 6.5 85.0 ± 3.3
Sixth degree contamination
WF1F2F3F4F5F6 WF1F2F3F4F5F7 WF1F2F3F4F6F7 WF1F2F3F5F6F7 WF1F2F4F5F6F7 WF1F3F4F5F6F7 WF2F3F4F5F6F7
87.1 ± 6.5 97.1 ± 3.7 97.3 ± 3.5 91.8 ± 7.8 95.7 ± 4.3 87.1 ± 6.5 95.7 ± 4.3
Seventh degree contamination
WF1F2F3F4F5F6F7
92.5 ± 6.5
were identified between maize-oats (F3F5), maizeerye (F3F6), close to the two-way model validation result (99.9 ± 0.1%). But
flaxeoats (F4F5), and flaxerye (F4F6). The overall accuracy of the seventh degree contamination identification experiment
the second degree of contamination was 97.6 ± 1.6%. The result (92.5 ± 6.5%) of the foreign material was lower than the
overall classification accuracies further reduced as the com- multi-way model validation result (98.3 ± 0.2%).
bination of wheat with foreign material types (degree of
contamination) increased. The seventh degree of contami- 4.1.2. Dockage
nation where wheat was present with all the seven foreign The mean classification accuracies and confidence intervals for
material types the classification accuracy was 92.5 ± 6.5%. the identification of the presence of each dockage type individ-
The classification accuracies of the first and seventh degree ually and in combinations with wheat are given in Table 3.
contamination of the foreign material identification experi- In the first degree of contamination, where wheat was
ment were compared with the two-way and multi-way model present with one dockage type, except wheat-chaff (WF3,
validation classification results (Ravikanth et al., 2015) and are 95.0 ± 9.8%) and wheatewheat spikelet (WF5, 95.0 ± 9.8%), all
shown in Fig. 2. The first degree contamination identification the dockage types were perfectly (100.0 ± 0.0%) classified.
experiment result (97.9 ± 2.9%) of the foreign material was These results were similar to the model validation results,
b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8 253
Table 3 e Percentage accuracy (average ± confidence interval (a ¼ 0.05), %) for the identification of the presence of dockage
types with wheat at different degrees of contamination.
First degree contamination
WF1 WF2 WF3 WF4 WF5 WF6
100.0 ± 0.0 100.0 ± 0.0 95.0 ± 9.8 100.0 ± 0.0 95.0 ± 9.8 100.0 ± 0.0
Second degree contamination
WF1F2 WF1F3 WF1F4 WF1F5 WF1F6
100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 96.7 ± 6.5 100.0 ± 0.0
WF2F3 WF2F4 WF2F5 WF2F6 WF3F4
100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
WF3F5 WF3F6 WF4F5 WF4F6 WF5F6
90.0 ± 10.0 90.0 ± 10.0 100.0 ± 0.0 100.0 ± 0.0 93.3 ± 8.7
Third degree contamination
WF1F2F3 WF1F2F4 WF1F2F5 WF1F2F6 WF1F3F4
100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
WF1F3F5 WF1F3F6 WF1F4F5 WF1F4F6 WF1F5F6
95.0 ± 6.5 97.5 ± 4.9 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
WF2F3F4 WF2F3F5 WF2F3F6 WF2F4F5 WF2F4F6
100.0 ± 0.0 90.0 ± 8.0 90.0 ± 8.0 100.0 ± 0.0 100.0 ± 0.0
WF2F5F6 WF3F4F5 WF3F4F6 WF3F5F6 WF4F5F6
90.0 ± 13.1 95.0 ± 9.8 95.0 ± 6.5 77.5 ± 8.8 95.0 ± 6.5
Fourth degree contamination
WF1F2F3F4 WF1F2F3F5 WF1F2F3F6 WF1F2F4F5 WF1F2F4F6
100.0 ± 0.0 98.0 ± 3.9 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
WF1F2F5F6 WF1F3F4F5 WF1F3F4F6 WF1F3F5F6 WF1F4F5F6
90.0 ± 6.5 94.0 ± 8.4 90.0 ± 6.5 96.0 ± 7.8 100.0 ± 0.0
WF2F3F4F5 WF2F3F4F6 WF2F3F5F6 WF2F4F5F6 WF3F4F5F6
96.0 ± 5.2 100.0 ± 0.0 78.0 ± 12.3 90.0 ± 6.5 100.0 ± 0.0
Fifth degree contamination
WF1F2F3F4F5 WF1F2F3F4F6 WF1F2F3F5F6 WF1F2F4F5F6 WF1F3F4F5F6 WF2F3F4F5F6
96.7 ± 4.4 98.3 ± 3.3 85.0 ± 7.6 98.3 ± 3.3 95.0 ± 5.0 96.7 ± 4.4
Sixth degree contamination
WF1F2F3F4F5F6
94.3 ± 6.2
W e Wheat, F1 e Broken kernels, F2 e Buckwheat, F3 e Chaff, F4 e Stones, F5 e Wheat spikelets, and F6 e Wild oats.
254 b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8
4.2.2. Dockage
The mean classification accuracies and confidence intervals
for the quantification (by number) of the amount of each
dockage type present with wheat in a non-touching manner
are given in Table 6. Among all the dockage types, stones were
perfectly classified (100.0 ± 0.0%) at all levels of contamination
of wheat. Story and Raghavan (1973) developed online sorting
equipment for the separation of stones and soil clods from
potatoes. Gruna, Vieth, Michelsburg, and Leo n (2010) used Vis-
NIR hyperspectral imaging system for classification of foreign
materials (wood splitter, paper scraps, cork, cord, stones, and
Fig. 4 e Comparison of the identification experiment plastic pieces) from dried onions. The Linear discriminant
results from the model validation results for the animal analysis (LDA) and Quadratic discriminant analysis (QDA)
excreta types. statistical classifiers were used for the classification of
b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8 255
Table 5 e Percentage accuracy (average ± confidence interval (a ¼ 0.05), %) for the quantification (by number) of the
presence of each foreign material type with wheat at different degrees of contamination.
No. of wheat kernels replaced with contaminant particles 0 (0%) 1 (4%) 2 (8%) 3 (12%) 4 (16%) 5 (20%)
(percentage of contamination)
Barley 100.0 ± 0.0 100.0 ± 0.0 96.8 ± 1.1 95.6 ± 1.9 95.2 ± 2.5 95.6 ± 1.9
Canola 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
Maize 97.6 ± 1.3 97.6 ± 1.3 96.0 ± 1.7 94.4 ± 1.3 95.2 ± 3.8 95.2 ± 3.3
Flax 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 99.2 ± 0.3 100.0 ± 0.0
Oats 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 99.6 ± 0.2 99.2 ± 0.3 97.2 ± 0.4
Rye 99.6 ± 0.8 97.6 ± 2.4 94.4 ± 2.1 93.6 ± 2.1 93.2 ± 2.9 94.0 ± 3.5
Soybean 100.0 ± 0.0 100.0 ± 0.0 97.6 ± 0.3 97.2 ± 0.3 97.6 ± 0.4 96.8 ± 0.4
Table 6 e Percentage accuracy (average ± confidence interval (a ¼ 0.05), %) for the quantification (by number) of the
presence of each dockage type with wheat at different degrees of contamination.
No. of wheat kernels replaced with contaminant particles 0 (0%) 1 (4%) 2 (8%) 3 (12%) 4 (16%) 5 (20%)
(percentage of contamination)
Broken kernels 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 98.0 ± 1.3 98.4 ± 1.3 98.4 ± 1.3
Buckwheat 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 99.6 ± 0.8 98.4 ± 1.7 99.2 ± 1.6
Chaff 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 97.2 ± 1.2 96.8 ± 1.6 96.0 ± 2.4
Stones 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0
Wheat spikelets 100.0 ± 0.0 99.2 ± 1.1 98.0 ± 1.3 97.2 ± 1.2 96.4 ± 1.9 98.4 ± 1.3
Wild oats 100.0 ± 0.0 100.0 ± 0.0 100.0 ± 0.0 98.8 ± 1.2 97.6 ± 1.3 96.8 ± 1.1
256 b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8
5. Conclusion
wheat spikelets, stones, and wild oats); and two animal references
excreta types (deer and rabbit droppings) from CWRS wheat.
The overall classification accuracies to identify foreign ma-
terial types present with wheat during first and seventh de- Alferes, V. R. (2012). Methods of randomization in experimental design.
gree of contamination were 97.6 ± 1.6% and 92.5 ± 6.5%, Thousand Oaks, CA, USA: SAGE Publications, Inc.
respectively. The overall classification accuracies to identify Anonymous. (2003). Diet, nutrition and the prevention of chronic
dockage types present with wheat during first and sixth de- diseases. In WHO technical report series, 916 (pp. 1e150). Geneva.
ASABE. (2012). ASAE S352.2: Moisture measurement-unground grain
gree of contamination were 98.0 ± 1.8% and 94.3 ± 6.2%,
and seeds. St. Joseph, Michigan: ASAE.
respectively. The overall classification accuracy to identify Awika, J. M. (2011). Major cereal grains production and use around
animal excreta type present with wheat during both first and the world. In J. M. Awika, V. Piironen, & S. Bean (Eds.), Advances
second degree of contamination was 100.0 ± 0.0%. For both in cereal science: Implications to food processing and health
foreign materials and dockage, the identification experiment promotion (pp. 1e13). Washington, DC: American Chemical
results were close to the model validation results at the lower Society Symposium Series.
Barnes, R. J., Dhanoa, M. S., & Lister, S. J. (1989). Standard normal
degree of contamination, but the identification experiment
variate transformation and de-trending of near-infrared
results were slightly lower than the model validation results
diffuse reflectance spectra. Applied Spectroscopy, 43(5),
at the higher degree of contaminations. The identification 772e777.
experiment results were similar to model validation results at Bhattacharyya, A. (1946). On a measure of divergence between
all the levels of contamination for animal excreta types. two multinomial populations. Sankhya : The Indian Journal of
Spectral properties of the hyperspectral images were good Statistics, 7(4), 401e406.
enough to identify the foreign materials and dockage at lower Cavazzuti, M. (2012). Optimization methods: From theory to design
scientific and technological aspects in mechanics. New York, NY,
degree contamination levels and animal excreta at all the
USA: Springer Science & Business Media.
degree of contaminations. Use of image properties of hyper- CGC. (2013). Official grain grading guide-wheat: August 1, 2013.
spectral images should be considered for the identification of Canadian Grain Commission Industry Services. Canadian
higher degree of contamination of foreign materials and Grain Commission. Available from https://www.grainscanada.
dockage from wheat. gc.ca/oggg-gocg/2013/04-wheat-2013-eng.pdf Accessed
Among all the foreign material types, canola was perfectly 11.11.13.
quantified (by number) (100.0 ± 0.0%) from wheat at all the Choudhary, R., Mahesh, S., Paliwal, J., & Jayas, D. S. (2009).
Identification of wheat classes using wavelet features from
percentages of contamination. The least classification accu-
near infrared hyperspectral images of bulk samples.
racy was for quantifying rye at 16% contamination Biosystems Engineering, 102(2), 115e127.
(93.2 ± 2.9%) and 12% contamination (93.6 ± 2.1%). Among all Duda, R. O., Peter, E. H., & Stork, D. G. (2001). Nonmetric methods.
the dockage types, the stones were perfectly quantified (by In Pattern classification (2nd ed.). New York City, NY: Wiley-
number) (100.0 ± 0.0%) from wheat at all the percentages of Interscience.
contamination. The least classification accuracy was for Elmasry, G., & Sun, D. W. (2010). Principles of hyperspectral
imaging technology. In D. W. Sun (Ed.), Hyperspectral imaging
quantifying chaff at 20% contamination (96.0 ± 2.4%) and
for food quality analysis and control (pp. 3e43). London:
wheat spikelets at 16% contamination (96.4 ± 1.9%). Both the
Academic Press.
animal excreta types, deer and rabbit droppings were FAO. (2015). Major chemical components of cereal grains.
perfectly quantified (100.0 ± 0.0%) at all the levels of Available from http://www.fao.org/docrep/x2184e/x2184e04.
contamination in wheat. The quantification experiment re- htm Accessed 07.10.15.
sults were very close to the two-way model validation results FAOSTAT. (2014). Food and agricultural commodities production. Food
for dockage and animal excreta types. Variation of chemical and Agricultural Organization of the United Nations. Available
from http://faostat.fao.org/site/339/default.aspx Accessed
composition of different contaminant types from wheat was
07.04.14.
the primary reason for the classification of certain contami- Fearn, T., Riccioli, C., Garrido-Varo, A., & Guerrero-Ginel, J.-E.
nants classified better than the others from wheat. Therefore, (2009). On the geometry of SNV and MSC. Chemometrics and
the results from this study prove that the classification model Intelligent Laboratory Systems, 96(1), 22e26.
using SNV spectral pre-processing technique and k-NN clas- Gossett, E. (2009). Discrete mathematics with proof. Hoboken, NJ,
sifier can accurately identify and quantify various contami- USA: John Wiley and Sons.
nants from wheat. Gowen, A. A., & O'Donnell, C. P. (2013). Near infrared
hyperspectral imaging for foreign body detection and
identification in food processing. Spectroscopy Europe, 25(6),
6e11.
Gruna, R., Vieth, K.-U., Michelsburg, M., & Leo n, F. P. (2010).
Acknowledgement Hyperspectral imaging e from laboratory to in-line food
sorting. In CIGR workshop on image analysis in agriculture.
The authors thank the Canadian Grain Commission for Budapest, Hungary: CIGR. August 26e27, 2010.
Kaliramesh, S., Chelladurai, V., Jayas, D. S., Alagusundaram, K.,
providing the samples and the University of Manitoba Grad-
White, N. D. G., & Fields, P. G. (2013). Detection of infestation
uate Fellowship, the Graduate Enhancement of Tri-Council
by Callosobruchus maculatus in mungbean using near-infrared
Stipends program and the Natural Sciences and Engineering hyperspectral imaging. Journal of Stored Products Research, 52,
Research Council of Canada for funding this study. Authors 107e111.
also thank Canada Foundation for Innovation, Manitoba Mahesh, S., Jayas, D. S., Paliwal, J., & White, N. D. G. (2010). Near-
Research Innovation Fund, and several other partners for infrared (NIR) hyperspectral imaging e an emerging analytical
creating research infrastructure. tool for classification of western Canadian wheat classes from
258 b i o s y s t e m s e n g i n e e r i n g 1 4 7 ( 2 0 1 6 ) 2 4 8 e2 5 8
different locations and crop years. In 2010 and North Central Rinnan, A., Berg, F., & Engelsen, S. B. (2009). Review of the most
CSBE/ASABE inter-sectional conference ASABE conference paper. St. common pre-processing techniques for near-infrared spectra.
Joseph, Michigan, M.I.: ASABE (Paper No. MB-SK 10-302). Trends in Analytical Chemistry, 28(10), 1201e1222.
Saskatoon, Saskatchewan. October 7e9, 2010. Rodriguez-Cobo, L., Garcia-Allende, P. B., Cobo, A., Lopez-
Mahesh, S., Jayas, D. S., Paliwal, J., & White, N. D. G. (2011). Higuera, J. M., & Conde, O. M. (2012). Raw material classification
Identification of wheat classes at different moisture levels by means of hyperspectral imaging and hierarchical temporal
using near-infrared hyperspectral images of bulk samples. memories. IEEE Sensors Journal, 12(9), 2767e2775.
Sensing and Instrumentation for Food Quality and Safety, 5(1), Singh, C. B., Jayas, D. S., Paliwal, J., & White, N. D. G. (2007). Fungal
1e9. detection in wheat using near-infrared hyperspectral imaging.
Mahesh, S., Manickavasagan, A., Jayas, D. S., Paliwal, J., & Transactions of the ASABE, 50(6), 2171e2176.
White, N. D. G. (2008). Feasibility of near-infrared Singh, C. B., Jayas, D. S., Paliwal, J., & White, N. D. G. (2009).
hyperspectral imaging to differentiate Canadian wheat Detection of insect-damaged wheat kernels using near-
classes. Biosystems Engineering, 101(1), 50e57. infrared hyperspectral imaging. Journal of Stored Products
Majumdar, S., & Jayas, D. S. (2000a). Classification of cereal grains Research, 45(3), 151e158.
using machine vision: I. Morphology models. Transactions of Singh, C. B., Jayas, D. S., Paliwal, J., & White, N. D. G. (2010).
the ASAE, 43(6), 1669e1675. Detection of midge-damaged wheat kernels using short-wave
Majumdar, S., & Jayas, D. S. (2000b). Classification of cereal grains near-infrared hyperspectral and digital colour imaging.
using machine vision: II. Colour models. Transactions of the Biosystems Engineering, 105(3), 380e387.
ASAE, 43(6), 1677e1680. Story, A. G., & Raghavan, G. S. V. (1973). Sorting potatoes from
Majumdar, S., & Jayas, D. S. (2000c). Classification of cereal grains stones and soil clods by infrared reflectance. Transactions of the
using machine vision: III. Texture models. Transactions of the ASAE, 16(2), 0304e0309.
ASAE, 43(6), 1681e1687. Vigneau, N., Ecarnot, M., Rabatel, G., & Roumet, P. (2011). Potential
Majumdar, S., & Jayas, D. S. (2000d). Classification of cereal grains of field hyperspectral imaging as a non destructive method to
using machine vision: IV. Combined morphology, colour, and assess leaf nitrogen content in wheat. Field Crops Research,
texture models. Transactions of the ASAE, 43(6), 1689e1694. 122(1), 25e31.
Miralbes, C. (2004). Quality control in the milling industry using Wang, W., Paliwal, J., & Jayas, D. S. (2004). Determination of moisture
near infrared transmittance spectroscopy. Food Chemistry, content of ground wheat using near-infrared spectroscopy (Paper
88(4), 621e628. no. MB04-200). St. Joseph: ASABE.
Pierna, J. A. F., Vermeulen, P., Amand, O., Tossens, A., Wesley, I. J., Larroque, O., Osborne, B. G., Azudin, N., Allen, H., &
Dardenne, P., & Baeten, V. (2012). NIR hyperspectral imaging Skerritt, J. H. (2001). Measurement of gliadin and glutenin
spectroscopy and chemometrics for the detection of content of flour by NIR spectroscopy. Journal of Cereal Science,
undesirable substances in food and feed. Chemometrics and 34(2), 125e133.
Intelligent Laboratory Systems, 117, 233e239. Xing, J., Symons, S., Hatcher, D., & Shahin, M. (2011). Comparison of
Ramalingam, G., Neethirajan, S., Jayas, D. S., & White, N. D. G. short-wavelength infrared (SWIR) hyperspectral imaging
(2011). Characterization of the influence of moisture content system with an FT-NIR spectrophotometer for predicting alpha-
on single wheat kernels using machine vision. Applied amylase activities in individual Canadian Western Red Spring
Engineering in Agriculture, 27(3), 403e409. (CWRS) wheat kernels. Biosystems Engineering, 108(4), 303e310.
Ravikanth, L., Singh, C. B., Jayas, D. S., & White, N. D. G. (2015). Zhang, H., Paliwal, J., Jayas, D. S., & White, N. D. G. (2007).
Classification of contaminants from wheat using near- Classification of fungal infected wheat kernels using near-
infrared hyperspectral imaging. Biosystems Engineering, 135, infrared reflectance hyperspectral imaging and support vector
73e86. machine. Transactions of the ASABE, 50(5), 1779e1785.