Next Article in Journal
A Laterally Vibrating Lithium Niobate MEMS Resonator Array Operating at 500 °C in Air
Previous Article in Journal
Design of an Ultrasound Transceiver ASIC with a Switching-Artifact Reduction Technique for 3D Carotid Artery Imaging
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Letter

The Use of Image Analysis to Detect Seed Contamination—A Case Study of Triticale

1
Institute of Machine Design, Faculty of Mechanical Engineering, Poznań University of Technology, Piotrowo 3, 60-965 Poznan, Poland
2
Department of Food Technology of Plant Origin, Faculty of Food Sciences and Nutrition, Poznań University of Life Sciences, Wojska Polskiego 31, 60-624 Poznan, Poland
3
Department of Biosystems Engineering, Poznan University of Life Sciences, Wojska Polskiego 50, 60-625 Poznan, Poland
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(1), 151; https://doi.org/10.3390/s21010151
Submission received: 11 November 2020 / Revised: 23 December 2020 / Accepted: 25 December 2020 / Published: 29 December 2020
(This article belongs to the Section Remote Sensors)

Abstract

:
Samples of triticale seeds of various qualities were assessed in the study. The seeds were obtained during experiments, reflecting the actual sowing conditions. The experiments were conducted on an original test facility designed by the authors of this study. The speed of the air (15, 20, 25 m/s) transporting seeds in the pneumatic conduit was adjusted to sowing. The resulting graphic database enabled the distinction of six classes of seeds according to their quality and sowing speed. The database was prepared to build training, validation and test sets. The neural model generation process was based on multi-layer perceptron networks (MLPN) and statistical (machine training). When the MLPN was used to identify contaminants in seeds sown at a speed of 15 m/s, the lowest RMS error of 0.052 was noted, whereas the classification correctness coefficient amounted to 0.99.

1. Introduction

Sowing is one of the most important operations in the cultivation of cereals and other crops, because it determines the success of all subsequent operations and the essence of agriculture, which is specific and the most important branch of economy for human survival. Currently, machines with a very large working width are increasingly used for sowing. They work independently or are used as components for cultivation and sowing units. They seem to indicate the dynamic development of simplified sowing methods [1,2,3]. These are usually machines with a mechanical central seed metering unit (sowing unit) and pneumatic transport and distribution of seeds into individual rows [4]. Seeds are separated in special distribution heads invented by Weist in the 1950s [5]. The advantage of this system is its lightness and simplicity. The seed drill can be easily folded for road transport. While pneumatic seed drills have a lot of advantages, such as high efficiency, the possibility to be mounted on a combined cultivator, quick and easy loading of seeds, they also have some disadvantages. One of the most important disadvantages is low lateral sowing evenness, especially in hilly terrains [6,7].
There are a lot of scientific studies on the causes of uneven sowing of seeds with pneumatic seed drills [8,9,10,11,12,13] and methods of assessment of sowing evenness [14,15]. Researchers conducted experiments on the numerical simulation of seed dosing [16] and the separation of the mixture of airstream and seeds in the distributor head of the seed drill [17,18,19]. Unfortunately, these authors did not conduct any research to find out how seed contamination influenced the evenness of the distribution of the dosed stream.
It is usually impossible to control sowing in individual seed ducts [20] and to detect impurities or damaged seeds in commonly used universal and pneumatic seed drills. There have been scientific reports with examples of attempts to solve this problem with optical sensors [21]. There have also been experiments on piezoelectric sensors placed inside the distributor head of the seed drill [22] and tests of the sensitivity of various sensors [21,23]. Patent literature provides an example with an attempt to use capacitive sensors—US Patent 4782282 A. However, the experiment showed that this method was not promising due to slight changes in the capacitance of the sensors. Researchers from the University of Paderborn invented a honeycomb-shaped piezoelectric sensor, mounted on top of the distribution head and in the ducts, which can count seeds and monitor their flow [24]. For many years scientists have been working on various sowing control systems, mainly based on photoelectric sensors detecting individual seeds. One of the latest and heavily advertised achievements in this field is the ‘seed eye’ system developed by Väderstad [25].
A similar system was developed at the Poznań University of Technology between 2009 and 2012 [5]. It was also based on photoelectric sensors built from a single photoelement. This single photoelement was placed at the point of seed flow concentration on the outer arc of the measuring elbow. As a result, it was not necessary to X-ray the entire cross-section of the channel and thus the construction of the sensor could be simplified.
However, no seed quality control system has thus far been developed, i.e., a system detecting seed contamination as well as small and damaged seeds, which do not guarantee a good yield.
At present, there are attempts to find optimization solutions to effectively identify various decision-making processes in real time. This study is based on a method of artificial intelligence, i.e., artificial neural networks.
Recently, artificial neural networks (ANN) have been used to classify [26], analyze data [27], predict [28,29,30], control [31] and assess the quality of biomaterials [32,33]. What is an important practical feature of ANN is the fact that trained neural models work online. This enables continuous control (monitoring) of the identification of contamination of triticale seeds in real time.
Classification means finding a classifier that will enable the division of a set of elements into groups called classes. Elements belonging to one group are called objects [26,34]. They may differ from each other, but not in the properties due to which they are assigned to a particular class. The seeds in our research were divided into three classes of triticale: select, screenings and chaff.
Multilayer Perceptron (MLP) is an example of a neural network that is most often used in classification problems [35,36]. It is a unidirectional network, trained with the trainer method. It has multilayer architecture with at least one hidden layer. Only communication between neurons in neighbouring layers is possible. The activation function for hidden neurons is non-linear (sigmoidal). It is a unidirectional network, trained by a teacher, which has a multi-layer architecture with at least one hidden layer. The principle of operation of the unidirectional network is based on training, which uses a backpropagation algorithm. This means that the method enables the selection of modulating variables (weights) so that the data error (i.e., Root Mean Square Error) is as low as possible [30]. The set of modulating variables enables the acquisition of information from other neurons. The weights determine the values of the matched data by connecting nodes between individual neurons. The activation function for hidden neurons is non-linear (sigmoidal) [30,37,38].
The way of preparing the dataset is important in classification. Recently, image analysis has also played a major role in various research areas. Image analysis includes: segmentation [39], location of objects and the identification of geometric parameters [40], models of colors [41,42], detection of edges and texture from the image. The computer imaging process is not easy. It is complex and takes time to get a promising result [43]. Consequently, the existing methods of image analysis are continuously modernized.
The aim of this study was to apply one of the methods of artificial intelligence, i.e., neural networks, to identify contaminants in seeds by means of image analysis and a camera for displaying quick photos. The behavior of three main variants of triticale seeds sown by pneumatic seed drills was investigated: select triticale, triticale screenings, and triticale chaff.

2. Materials and Methods

2.1. Preparation of Samples

The most common cereal seeds sown in Poland were used in the study. The research material consisted of triticale seeds of the Rotondo cultivar, whose initial moisture content in each class of triticale was as follows (Figure 1): select—9.8%, screenings—10.7%, and chaff—9.9%. Triticale seeds were harvested on one of the local farms in the town of Kórnik, Wielkopolskie Voivodeship, Poland.
At the next stage of the research the dose of seeds sown was determined—it was based on the most common dose in Poland, i.e., 168 kg/ha. Before the experiments had an adequate stream of the mass of seeds flowing through the pneumatic conduit was selected, so that it would correspond to the dose of 168 kg/ha, i.e., the sowing density was 400 pcs/m2. The sowing density was calculated according to the following formula [44]:
sowing   density   = ( number   of   seeds   sown   ·   germination   capacity ) TKW
where:
  • sowing density. the number of plants per area unit (pcs/m2),
  • number of seeds sown (kg/ha),
  • TKW—Thousand Kernel Weight (g), and
  • germination   capacity —for qualified seeds MINIMUM 80% for triticale.

2.2. Test Facility

An original test facility was built for the experiment in order to reflect the actual operating conditions of the sowing control system as much as possible. The facility consisted of the following elements (Figure 2):
  • a seed sowing unit, including: a seed dispenser and sowing rollers driven by an electric motor with adjustable rotational speed of the pneumatic channel (1),
  • a Chronos 1.4 camera (2),
  • a screen with a scale (10 mm) (3),
  • an armoured pneumatic hose (4),
  • a vacuum cleaner with the blower function and rotational speed control (5),
  • two LED lamps with a system (6), and
  • a seed container (7).
One of the variable factors checked in the tests was the influence of the speed of air transporting seeds in the pneumatic conduit, i.e., 15, 20, and 25 m/s based on the air speeds used in pneumatic seed drills. Pneumatic conduits in seed drills are arranged in different configurations and they differ in length. For this reason, an S-shaped arrangement of the conduit was chosen, because this configuration is the most common in seed drills with two-meter conduits.
The seed dispenser was made from a typical sowing roller with a diameter of 80 mm (the pin sowing unit), which was driven by a 500 W electric motor. Changes in the voltage resulted in changes to the rotational speed of the sowing roller. As how big the seed mass stream needed to be was known, it was possible to calibrate the dispenser at the appropriate value of rotational speed so as to obtain a sowing density of 400 pcs/m2.
The last stage of the experiments involved attempts to set the appropriate speed of air in the pneumatic conduit. The aim of the project was to generate an airstream, transporting seeds in the pneumatic conduit by means of a STANLEY SXVC20PTE vacuum cleaner of Annovi Reverberi S.p.A., Bangkok, Thailand with a nominal power of 1200 W, with the blower function. The power of the vacuum cleaner was adjusted with a potentiometer, which controlled the speed of air within a range of 5–50 m/s.
In order to verify at which speed of transporting air the largest number of small or damaged seeds could be seen, speeds of 15, 20 and 25 m/s were selected. The obtained values were checked with a VOLTCRAFT VPT—100 pressure anemometer with a measuring range of 1–80 m/s and accuracy of +/− 2.5%.
The following factors were assumed in laboratory tests:
(a)
constant factors:
  • triticale seed sowing rate 266.7 g/min, which corresponds to 168 kg/ha,
  • sowing speed of 8 km/h, and
  • cable configuration: K1 (see Figure 2),
(b)
variable factors:
  • airstream speed: 15 m/s, 20 m/s, 25 m/s, and
  • type of seeds: select, screenings, waste,
(c)
outcome factors:
  • speed of caryopses (m/s), and
  • acceleration of caryopses m/s2.

2.3. Preparation of Material for Tests with Camera

The graphical data of triticale seeds with different variability (according to the speed and type of seeds) were obtained with a Chronos 1.4 camera of Kron Technologies Inc. Eastlake Dr, Burnaby, Canada, characterized by a high range of image display frequency during the movement of triticale seeds. This is a high-speed camera with a built-in 1.3-megapixel image intensifier, which records transmission rates up to 1057 kbps at a resolution of 1280 × 1024 or even up to 38,500 kbps at lower resolutions.
As a result of the experiment, nine videos were recorded in the MP4 format at a data transmission rate of about 9400 kbps and image resolution of 640 × 360. Frame pacing is important when video devices are used. The more frames per second displayed, the smoother the image is. According to the European TV standard, the correct frame rate is 24 fps. In our tests, the same image display parameters were maintained, i.e., 58 fps, to ensure the repeatability of the results and comparison of speed.

2.4. Edge Detection with the Kirsch Mask

Edge detection is a method of computer image analysis, which includes: image exposure, processing, analysis and classification. The analysis of the resulting image is interpreted by means of: segmentation, location of objects and extraction of the following traits from the image: geometric parameters, color models and image texture. The Kirsch mask consists of pattern recognition by means of segmentation to detect edge pixels in the image. Edge pixels are defined as a set of points (pixels) located on a curve that separates the neighboring points (pixels) or points (pixels) on the other side of the curve, which differ in brightness. The aim of the project was to detect local discontinuities in the brightness level and the outline of the research material [45,46,47]. The Kirsch mask consists of matching the perfect pattern to the edge pixels of the research material. The Kirsch mask in this study used a 5 × 5 matrix. It was based on the free AForge.NET framework (http://www.aforgenet.com/framework/). The authors of this study prepared original functions written in the C# language to import the library to their original ‘PID system’ program. The Kirsch mask edge detection process involved the use of greyscale functions in the ‘PID system’ program to convert 24-bit color images into monochrome (8-bit) greyscale images. In the next step, the Aforge.NET library and original auxiliary functions were used to convert the monochrome images into photos with the Kirsch mask.

2.5. Image Processing

At the next stage of the research the training sets of triticale seed classes were designed. In order to obtain digital images, image frames were extracted by means of the VLC Media Player. This free software for watching videos also saves images in .tiff files. As a result, a series of digital photos with a resolution of 640 × 360 was obtained. Table 1 shows the number of photos obtained for each video, allowing for a type of triticale seeds. The photos extracted from the video required preparation of an image pattern in order to determine the representative traits of the image. The original ‘PID system’ (Przybył Image Detector system) software [48] was used for image processing and analysis. It accelerated the generation of the image pattern. The software included a batch module for collective image processing. A series of graphic objects with a resolution of 640 × 360 was imported to the ‘PID system’. The images were collectively filtered with the Kirsch mask and were then exported to the catalogue. At the next stage, the size of the processed image was reduced/cropped with the Kirsch mask in order to obtain a lower resolution image. Like the Kirsch mask, the image processing module in the program allows for collective cropping, having specified the parameters, i.e., image coordinates. This procedure resulted in a set of bitmaps with a resolution of 320 × 280 and 24-bit image depth. Texture descriptors were extracted from the resulting images. The term texture refers to the three-dimensional graphics technique, which is used to present details of the surface of spatial objects by means of bitmap images (textures) or mathematical functions (procedural textures). However, texture cannot always be described in a deterministic way. Statistical methods describe texture as a nondeterministic distribution of dependencies between neighboring pixels. The authors of this study used the Grey-Level Co-occurrence Matrix (GLCM) [49,50] to extract texture descriptors. This statistical method examines texture on the basis of the spatial relationship between pixels. The measurements and statistics of selected texture descriptors were based on the GLCM, which used the individual formulas shown below [51,52,53,54]:
Angular Second Moment (ASM):
ASM = i j { p ( i , j ) } 2 ,
Entropy of texture descriptors based on the GLCM:
entropy   =   i j p ( i , j ) log ( p ( i , j ) ) ,
The correlation that measures the probability of joint occurrence of certain pairs of pixels is calculated in MATLAB with greycoprops:
correlation = i j ( ij ) p ( i , j ) µ x µ y σ x σ y ,
Contrast—local variations in the grey level co-occurrence matrix. This value is calculated in MATLAB by means of the greycoprops function (Park et al., 2001):
contrast = i j p ( i j ) 2 p ( i , j ) ,
Inverse Difference Moment—pairs of pixels of feature for texture based on the GLCM:
inverse   difference   moment   = i j 1 1 +   ( i j ) 2 p ( i , j ) ,
where:
  • μx and μy—average as a function of the probability of occurrence of pairs of pixels,
  • σx and σy—mean standard deviations as a function of the probability of occurrence of similarity between pixels,
  • p(i, j)—i and j are coordinates of Grey-Level Co-occurrence Matrix.

2.6. Construction of the Training Sets

When creating artificial neural networks, the first stage involves designing training sets. It is very important to select quality discriminants, i.e., textural descriptors, and the number of training cases (repetitions) to obtain adequate results (Table 1). The texture descriptors data were extracted from the database of the adapted resulting images (i.e., the creation of the image pattern shown in Figure 1), which refer to the identification of contaminants in seeds. The original ‘PID system’ software was used at this stage of image processing (Figure 3) [48]. The descriptors were extracted into MS Excel spreadsheets and four training sets created. The number of their repetitions is shown in Table 1 (Z1, Z2, Z3, and Z4). Each training case included the following texture descriptors [26,51]: angular second moment, entropy, contrast, correlation, and inverse difference. The numerical data (descriptors) were obtained by means of the Matlab and ‘PID system’ software. Next, the training sets were imported into Statistica. Each training set represented a set of the aforementioned descriptors and was divided into training, validation and test subsets at a 2:1:1 ratio [30]. The subsets were not used in the creation of artificial neural networks. Figure 3 shows the image processing, analysis and classification algorithm (based on the interpretation of texture descriptors extracted from the image) in the artificial neural networks creation process.

3. Results and Discussion

3.1. Results of Artificial Networks

As a result of neural networks training, the networks with the lowest Root Mean Square (RMS) error were obtained (Table 2) [37,55]. In view of the fact that the use of multiple architectures resulted in such high diversity of neural networks, it is very important to choose the ones that will be the most helpful to solve the problem. It might be a good idea to look at the problem area and then select several networks for training and testing. The networks with the smallest error will be the closest to reality and they can be used to solve the problem. Table 2 shows the networks characterized by the highest classification ability for each set. The lowest RMS error, i.e., 0.052 for the training, test and validation sets was noted for the MLP network with five input variables (five texture descriptors) belonging to the input layer, 23 neurons in the hidden layer and three neurons in the output layer. The output layer of the network defined a three-state variable, i.e., types/classes of triticale seeds. The MLP 5-23-3 network was selected from set Z1, for which the resulting image was obtained at a speed of 15 m/s. The MLP 5-6-3 network was selected from set Z2. It had a structure with the same parameters in the input and output layer and six neurons in the hidden layer. The RMS error of the MLP 5-6-3 network was 0.097 at 20 m/s. When the speed was 25 m/s, the MLP 5-3-3 network had a structure with five neurons in the input layer, three neurons in the hidden layer and three neurons in the output layer. The RMS error was 0.187. As the speed of the air transporting triticale seeds increased, so did the error, whereas the classification efficiency decreased. The process of recognition of individual sets was confirmed by the network simulation process with randomly selected outcome images obtained at all speeds of the airstream transporting seeds through the pneumatic channel. As a result, an MLP 5-35-3 network with five input neurons, 35 hidden neurons and three output neurons in the structure was obtained. The RMS error of this network was 0.232.
The correctness of the classification in the test set did not exceed the results in the training set. This means that the networks in Table 2 were not overtrained. In practice, the selected networks were characterized by an excellent classification factor, i.e., above 0.91 for the test set. The best result for the test set was 0.99, when networks with the triticale seed flow speeds of 15 and 20 m/s were simulated. There were also very good results in the network with a seed flow speed of 25 m/s.

3.2. Results of Statistical Analysis

A correlation analysis was applied to determine which variable in the set was characterized by high dependence [56,57]. As can be seen in Table 3, Table 4 and Table 5, the entropy variable exhibited the strongest correlation. The highest correlation for the entropy variable was obtained when seed transport at a speed of 15 m/s was simulated. The entropy variable was strongly positively correlated (at 0.92) with the contrast variable and strongly negatively correlated with all the other variables. An increase in the speed of seed transport through the pneumatic channel reduced the strong dependence of the entropy variable in relation to the other parameters. The entropy variable improved the identification of triticale seed classes. It was one of the GLCM texture variables that improved the reproduction of image details. Like other reference publications, our study also proved that entropy had the greatest influence on improvement of the image pattern and texture analysis [58,59].
Figure 4 shows that, due to the change in speed, the entropy variable exhibited linear dependence of data at 15 m/s. Thus, as the speed increased, the frame pacing deteriorated the image quality, which resulted in a non-linear dependence of the entropy variable. Consequently, the correlation value decreased (Table 4 and Table 5).
By comparison, principal component analysis was applied. Table 6, Table 7 and Table 8 show the eigenvalues of the correlation matrices as measures of variability of the original data presented in the coordinates of the principal components. The specific values of these variances are shown in the second row of the table. The eigenvectors define the individual principal components PC1–PC6. The set of the values of the texture traits at a seed sowing speed of 15 m/s shows the eigenvalue of 5.144 for the first component. The percentage of the variance explained by this component was 85.734%. The second component explained much less variance, i.e., 5.4%, and its eigenvalue was 0.324. According to the Kaiser criterion, the principal component for which the eigenvalue is greater than one is sufficient for interpretation. The first two components carried over 90% of the variance of the original data.
The interdependencies of the variables were compared at a seed sowing speed of 20 m/s. The eigenvalue for the first component was 3.410 and the percentage of the variance it explained was 6.195%. The second component explained much less variance, i.e., 29.739%, and its eigenvalue was 1.487. The first two components carried over 97% of the variance of the original data.
The variance of the values at a seed sowing speed of 25 m/s gave the eigenvalue of 3.274 for the first component. The percentage of the variance explained by this component was 65.485%. The second component explained the variance at 27.133% and its eigenvalue was 1.357. As a result, the first two components carried over 92% of the variance of the original data.
The eigenvalues of the correlation matrices showed that the statistical variance of the data in two dimensions was very good, i.e., approximately over 90%. A change in the seed transport speed decreased the variance of the original data. This was also manifested by weaker correlation of the entropy value with the other variables.
As a result of the progress made in the research area concentrating on classification issues [26,30,40] with Artificial Neural Networks (ANN, quality changes were observed in relation to farm and food products, which are dictated by consumer expectations [26,34]. This method is based on neural models supported by computer analysis of images, which is faster and more efficient in comparison to the traditional calculating methods. Artificial Neural Networks (ANN) allows us to make more effective simulations of complex processes, among other things, via the process of learning parallel with information processing [29,34]. On the basis of the research results, it was found that the image analysis is an effective technique of recognizing contamination of triticale seeds. Application of traditional methods of classification is slow and often results in improper classification or comes from harvests from previous years. Currently, there is no system that could indicate that a given seed material is contaminated with chaff, which would entail the use of bigger dosage of seed material to ensure the required density of sowing per hectare [60,61]. It sometimes happens that seeds are really small (tailings), especially during dry years. In such a situation, one should decrease seed material dosage in order to ensure a proper sowing. Sowing units used in standard seeders fail to dispense seeds precisely, but only dispense seeds in volume portions. That is why the first step was taken to devise the system of contamination recognition of tiny seeds (tailings). In precise farming, automated seeders are used more and more often and the above system could be applied in those devices [62,63]. It was also noted that high effectiveness in the process of classifying various varieties of grains can be achieved when one takes into consideration proper determination of physical features of grains such as: the mass of a thousand seeds, average geometrical diameter, globosity, grain volume, area, hopper density, real density, porosity and color parameters [64]. It turns out that one can quickly and non invasively evaluate sowing as well as inner structure of grains on the basis of bitmap. The parameters of color can have a tremendous influence on effective evaluation of product quality, because it is responsible for sensory changes in agricultural produce that are subject to research and examination. It can translate into high quality grains, which is the most important indicator in flour production and bread baking [65], cake baking, noodles making and in the brewery industry [27]. The ANN that was created can be a useful tool supporting the existing systems of seeding grains.

4. Conclusions

The research showed that the classification error of the generated networks in the recognition of the type of triticale seeds ranged from 6% to 22% in relation to the test set.
The experiment showed that, as the speed increased, the effectiveness of recognition of individual triticale seed classes decreased. The most effective recognition was noted at a speed of 15 m/s. It was the MLP 5-23-3 network, whose RMS error value was 0.052, whereas its classification correctness coefficient was 0.99.
The statistical analysis confirmed the influence of variables on the speed of seed transport. The entropy variable was the most strongly correlated with the other variables, which indicates particular importance of this variable in the dataset.
The entropy variable was the most potent texture factor because it affected image recognition (bitmap) to the greatest extent.
The topology of the MLP network proved to be the best at recognizing the triticale seed classes.

Author Contributions

Conceptualization, Ł.G. and K.P.; methodology, Ł.G., K.P. and A.D.; software, ŁG.,K.P. and K.K.; validation, ŁG., K.P., A.D. and W.O.; formal analysis, Ł.G., K.P. and K.K.; investigation, Ł.G.; resources, Ł.G., K.P. and W.O.; data curation, Ł.G. and K.P.; writing—original draft preparation, Ł.G., K.P. and K.K.; writing—review and editing, Ł.G. and K.P.; visualization, Ł.G and K.P.; supervision, Ł.G. and K.K.; project administration, Ł.G. and K.K.; acquisition of funds, Ł.G. All authors have read and agreed to the published version of the manuscript.

Funding

This study was financed by the National Centre for Research and Development under grant LIDER VIII project no. LIDER/24/0137/L-8/16/NCBIR/2017.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Jat, R.A.; Sahrawat, K.L.; Kassam, A.; Friedrich, T. Conservation agriculture for sustainable and resilient agriculture: Global status, prospects and challenges. In Conservation Agriculture: Global Prospects and Challenges; CABI Publishing: Wallingford, UK, 2013; pp. 1–25. [Google Scholar]
  2. Astahov, V.S. Mechanical and Technological Fundamentals of the Air-Seeding Having a Centralized Distribution System. (Aстахoв B.C. Механикo-технoлoгические oснoвы пoсева сельскoхoзяйственных культур сеялками с пневматическими системами группoвoгo дoзирoвания: Дис. дoкт. техн. наук. Гoрки). Ph.D. Thesis, Belarusian State Agricultural Academy, Gorki, Belarus, 2007; p. 377. [Google Scholar]
  3. Tow, P.; Cooper, I.; Partridge, I.; Birch, C. (Eds.) Rainfed Farming Systems; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011; p. 1336. [Google Scholar]
  4. Memory, R.; Atkins, R. Air seeding–the North American situation. In Holm, FA, Hobin, BA, and Reed, WB Air Seeding’90, Proceedings of the International Symposium on Pneumatic Seeding for Soil Conservation Systems in Dryland Areas; University of Saskatchewan: Saskatoon, SK, Canada, 1990; pp. 1–8. [Google Scholar]
  5. Bogota, A. Design and operation of a measuring system for the evaluation of dynamic reactions of seeds during their impact. Motrol Automot. Agric. Energy 2005, 7, 35–41. (In Polish) [Google Scholar]
  6. Weiste, H. The Accord Pneumatic-System: From Invention to Worldwide Application; Land-wirtschaftsverlag GmbH: Munster, Germany, 2013; p. 224. [Google Scholar]
  7. Yatskul, A.; Lemiere, J.-P.; Cointault, F. Influence of the divider head functioning conditions and geometry on the seed’s distribution accuracy of the air-seeder. Biosyst. Eng. 2017, 161, 120–134. [Google Scholar] [CrossRef]
  8. Gierz, Ł.; Markowski, P. The Effect of the Distribution Head Tilt and Diffuser Variants on the Evenness of Sowing Rye and Oat Seeds with a Pneumatic Seed Drill. Materials 2020, 13, 3000. [Google Scholar] [CrossRef] [PubMed]
  9. Bourgès, G.; Medina, M. Air-Seeds Flow Analysis In A Distributor Head Of An “Air Drill” Seeder. Acta Hortic. 2013, 1008, 259–264. [Google Scholar] [CrossRef]
  10. Allam, R.K.; Wiens, E.H. Air Seeder Testing (ASAE/CSAE); Prairie Agricultural Machinery Institute: Lethbridge, AB, Canada, 1981; Volume 81, p. 323. [Google Scholar]
  11. Allam, R.K.; Wiens, E.H. An Investigation of Air Seeder Component Characteristics; Prairie Agricultural Machinery Institute: Lethbridge, AB, Canada, 1983; Volume 82, p. 1505. [Google Scholar]
  12. McKay, M.E. Performance Characteristics of Pneumatic Drills: Transverse Distribution (Numèro 45 de Agriculturalengineer-ing Reports); Department of Civil Engineering, University of Melbourne: Melbourne, Australia, 1979; p. 22. [Google Scholar]
  13. Pippig, G. Prallteilung von Saatgut-Luft-Gemischen in vertikalen und geneigten Förderleitungen mit kreisrundem Querschnitt. Agrartechnik 1978, 28, 344–346. [Google Scholar]
  14. Önal, O.; Önal, I. Development of a computerized measurement system for in-row seed spacing accuracy. Turkish J. Agric. For. 2009, 33, 99–109. [Google Scholar]
  15. Markowski, P.; Rawa, T.; Lipiński, A. The impact of selected factors on evenness of wheat seed proportioning and sowing using a peg-type seeder. Agric. Eng. 2008, 103–109. (In Polish) [Google Scholar]
  16. Zhou, F.; Hu, S.; Liu, Y.; Liu, C.; Xia, T. CFD-DEM simulation of the pneumatic conveying of fine particles through a hori-zontal slit. Particuology 2014, 16, 196–205. [Google Scholar] [CrossRef]
  17. XiaoLong, L.; YiTao, L.; QingXi, L. Simulation of seed motion in seed feeding device with DEM-CFD coupling approach for rapeseed and wheat. Comput. Electron. Agric. 2016, 131, 29–39. [Google Scholar]
  18. Lei, X.; Liao, Y.; Zhang, Q.; Wang, L.; Liao, Q. Numerical simulation of seed motion characteristics of distribution head for rapeseed and wheat. Comput. Electron. Agric. 2018, 150, 98–109. [Google Scholar] [CrossRef]
  19. Bourges, G.; Eliach, J.J.; Medina, M.A. Numerical evaluation of a seed distributor head for air seeders. Chem. Eng. Trans. 2017, 58, 571–576. [Google Scholar]
  20. Gierz, Ł. Correction method of the uniform distribution of grain in the pneumatic drill head. J. Res. Appl. Agric. Eng. 2017, 62, 27–30. [Google Scholar]
  21. Gierz, Ł. Comparative studies of grain flow sensor in row drills and single seeders. J. Res. Appl. Agric. Eng. 2015, 60, 11–13. [Google Scholar]
  22. Gierz, Ł.; Sądej, M. Corrector for Grainy Material Distribution. Patent PL230492 (B1), November 2018. [Google Scholar]
  23. Singh, N.; Singh, A.N. Odysseys of agriculture sensors: Current challenges and forthcoming prospects. Comput. Electron. Agric. 2020, 171, 105328. [Google Scholar] [CrossRef]
  24. Zu Hoberge, S.M.; Hilleringmann, U.; Jochheim, C.; Liebich, M. Piezoelectric sensor array with evaluation electronic for counting grains in seed drills. In Proceedings of the IEEE Africon ’11, Livingstone, Zambia, 13–15 September 2011; Institute of Electrical and Electronics Engineers (IEEE): Piscataway, NJ, USA, 2011; pp. 1–6. [Google Scholar]
  25. New Possibilities with the SeedEye Sensor. Available online: https://www.vaderstad.com/pl/o-nas/aktualnoci-i-prasa/archiwum-wiadomoci/2015/international/nowe-moliwoci-z-sensorem-seedeye/ (accessed on 15 March 2017).
  26. Przybył, K.; Boniecki, P.; Koszela, K.; Gierz, Ł.; Łukomski, M. Computer vision and artificial neural network techniques for classification of damage in potatoes during the storage process. Czech J. Food Sci. 2019, 37, 135–140. [Google Scholar] [CrossRef]
  27. Raba, B.; Nowakowski, K.; Lewicki, A.; Przybyl, K.; Zaborowicz, M.; Koszela, K.; Boniecki, P.; Mueller, W. The non-touching method of the malting barley quality evaluation. In Proceedings of the Sixth International Conference on Digital Image Processing, SPIE-Intnational Socociety for Optical Engineering, Athens, Greece, 5–6 April 2014; Volume 9159, p. 91590H. [Google Scholar]
  28. Kiakojoori, S.; Khorasani, K. Dynamic neural networks for gas turbine engine degradation prediction, health monitoring and prognosis. Neural Comput. Appl. 2015, 27, 2157–2192. [Google Scholar] [CrossRef]
  29. Niedbała, G. Application of Artificial Neural Networks for Multi-Criteria Yield Prediction of Winter Rapeseed. Sustainability 2019, 11, 533. [Google Scholar] [CrossRef] [Green Version]
  30. Przybył, K.; Duda, A.; Koszela, K.; Stangierski, J.; Polarczyk, M.; Gierz, Ł. Classification of Dried Strawberry by the Analysis of the Acoustic Sound with Artificial Neural Networks. Sensors 2020, 20, 499. [Google Scholar] [CrossRef] [Green Version]
  31. Przybył, K.; Gawałek, J.; Koszela, K.; Przybył, J.; Rudzińska, M.; Gierz, Ł.; Domian, E. Neural Image Analysis and Electron Microscopy to Detect and Describe Selected Quality Factors of Fruit and Vegetable Spray-Dried Powders—Case Study: Chokeberry Powder. Sensors 2019, 19, 4413. [Google Scholar] [CrossRef] [Green Version]
  32. Koszela, K.; Otrzasek, J.; Zaborowicz, M.; Boniecki, P.; Mueller, W.; Raba, B.; Lewicki, A.; Przybyl, K. Quality assessment of microwave-vacuum dried material with the use of computer image analysis and neural model. In Proceedings of the Sixth International Conference on Digital Image Processing; SPIE-Intnational Society Optical Engineering, Athens, Greece, 5–6 April 2014; Volume 9159, p. 915913. [Google Scholar]
  33. Przybył, K.; Gawałek, J.; Koszela, K. Application of artificial neural network for the quality-based classification of spray-dried rhubarb juice powders. J. Food Sci. Technol. 2020, 1–11. [Google Scholar] [CrossRef]
  34. Boniecki, P.; Przybył, J.; Zaborowicz, M.; Górna, K.; Dach, J.; Okoń, P.; Mioduszewska, N.; Idziaszek, P. SOFM-type artificial neural network for the non-parametric quality-based classification of potatoes. In Proceedings of the Eighth International Conference on Digital Image Processing (ICDIP 2016), SPIE-Intnational Society Optical Engineering, Chengdu, China, 20–22 May 2016; Volume 10033, p. 100332F. [Google Scholar]
  35. Przybył, K.; Gawałek, J.; Koszela, K.; Wawrzyniak, J.; Gierz, L. Artificial neural networks and electron microscopy to evalu-ate the quality of fruit and vegetable spray-dried powders. Case study: Strawberry powder. Comput. Electron. Agric. 2018, 155, 314–323. [Google Scholar] [CrossRef]
  36. Marwala, T. Multi-layer Perceptron. In Handbook of Machine Learning; World Scientific: Singapore, 2018. [Google Scholar]
  37. Armstrong, J.; Collopy, F. Error measures for generalizing about forecasting methods: Empirical comparisons. Int. J. Forecast. 1992, 8, 69–80. [Google Scholar] [CrossRef] [Green Version]
  38. Tadeusiewicz, R. Neural networks: A comprehensive foundation. Control. Eng. Pr. 1995, 3, 746–747. [Google Scholar] [CrossRef]
  39. Van Dael, M.; Lebotsa, S.; Herremans, E.; Verboven, P.; Sijbers, J.; Opara, U.; Cronje, P.; Nicolaï, B. A segmentation and classification algorithm for online detection of internal disorders in citrus using X-ray radiographs. Postharvest. Biol. Technol. 2016, 112, 205–214. [Google Scholar] [CrossRef]
  40. Przybyl, K.; Zaborowicz, M.; Koszela, K.; Boniecki, P.; Mueller, W.; Raba, B.; Lewicki, A. Organoleptic damage classification of potatoes with the use of image analysis in production process. In Proceedings of the Sixth International Conference on Digital Image Processing, SPIE-Intnational Society Optical Engineering, Athens, Greece, 5–6 April 2014; Volume 9159, p. 91590W. [Google Scholar]
  41. Barnes, M.; Duckett, T.; Cielniak, G.; Stroud, G.; Harper, G. Visual detection of blemishes in potatoes using minimalist boosted classifiers. J. Food Eng. 2010, 98, 339–346. [Google Scholar] [CrossRef] [Green Version]
  42. Przybył, K.; Gawałek, J.; Gierz, Ł.; Łukomski, M.; Zaborowicz, M.; Boniecki, P. Recognition of color changes in strawberry juice powders using self-organizing feature map. In Proceedings of the Tenth International Conference on Digital Image Processing (ICDIP 2018), Shanghai, China, 11–14 May 2018; p. 224. [Google Scholar]
  43. Pratt, W.K. Introduction to Digital Image Processing; CRC Press: Boca Raton, FL, USA, 2013. [Google Scholar]
  44. Krawczyk, A. How to Calculate the Amount of Seed Sown? Available online: https://nawozy.eu/ (accessed on 5 December 2020). (In Polish).
  45. Sharifi, M.; Fathy, M.; Mahmoudi, M. A classified and comparative study of edge detection algorithms. In Proceedings of the International Conference on Information Technology: Coding and Computing, Las Vegas, NV, USA, 8–10 April 2002; Institute of Electrical and Electronics Engineers (IEEE): Piscataway, NJ, USA, 2005. [Google Scholar]
  46. Romero-Manchado, A.; Rojas-Sola, J.I. Application of gradient-based edge detectors to determine vanishing points in monoscopic images: Comparative study. Image Vis. Comput. 2015, 43, 1–15. [Google Scholar] [CrossRef]
  47. Touzi, R.; Lopes, A.; Bousquet, P. A statistical and geometrical edge detector for SAR images. IEEE Trans. Geosci. Remote Sens. 1988, 26, 764–773. [Google Scholar] [CrossRef]
  48. Przybył, K.; Ryniecki, A.; Niedbała, G.; Mueller, W.; Boniecki, P.; Zaborowicz, M.; Koszela, K.; Kujawa, S.; Kozłowski, R. Software supporting definition and extraction of the quality parameters of potatoes by using image analysis. In Proceedings of the Eighth International Conference on Digital Image Processing (ICDIP 2016), SPIE-Intnational Society Optical Engineering, Chengu, China, 20–22 May 2016; Volume 10033, p. 100332L. [Google Scholar]
  49. Pieniazek, F.; Messina, V. Scanning electron microscopy combined with image processing technique: Microstructure and texture analysis of legumes and vegetables for instant meal. Microsc. Res. Tech. 2016, 79, 267–275. [Google Scholar] [CrossRef]
  50. Soh, L.-K.; Tsatsoulis, C. Texture analysis of SAR sea ice imagery using gray level co-occurrence matrices. IEEE Trans. Geosci. Remote. Sens. 1999, 37, 780–795. [Google Scholar] [CrossRef] [Green Version]
  51. Haralick, R.M.; Shanmugam, K.; Dinstein, I. Textural Features for Image Classification. IEEE Trans. Syst. Man Cybern. 1973, 610–621. [Google Scholar] [CrossRef] [Green Version]
  52. Gao, J.; Li, X.; Zhu, F.; He, Y. Application of hyperspectral imaging technology to discriminate different geographical origins of Jatropha curcas L. seeds. Comput. Electron. Agric. 2013, 99, 186–193. [Google Scholar] [CrossRef]
  53. Unser, M. Sum and Difference Histograms for Texture Classification. IEEE Trans. Pattern Anal. Mach. Intell. 1986, 8, 118–125. [Google Scholar] [CrossRef] [PubMed]
  54. Park, B.; Chen, Y.R. AE—Automation and Emerging Technologies. J. Agric. Eng. Res. 2001, 78, 127–139. [Google Scholar] [CrossRef] [Green Version]
  55. Pattern Recognition and Machine Learning. J. Electron. Imag. 2007, 16, 049901. [CrossRef] [Green Version]
  56. Amemiya, Y.; Yalcin, I. Nonlinear Factor Analysis as a Statistical Method. Stat. Sci. 2001, 16, 275–294. [Google Scholar] [CrossRef]
  57. Ahmad, S.; Pasha, I.; Saeed, M.; Shahid, M. Principal component analysis and correlation studies of spring wheats in relation to cookie making quality. Int. J. Food Prop. 2017, 20, 2299–2313. [Google Scholar] [CrossRef] [Green Version]
  58. Li, Y.; Sun, Y.; Zheng, M.; Huang, X.; Qi, G.; Hu, H.; Zhu, Z. A Novel Multi-Exposure Image Fusion Method Based on Adap-tive Patch Structure. Entropy 2018, 20, 935. [Google Scholar] [CrossRef] [Green Version]
  59. Sparavigna, A.C. Entropy in Image Analysis. Entropy 2019, 21, 502. [Google Scholar] [CrossRef] [Green Version]
  60. Bagautdinov, I.; Gryazin, V.; Kozlov, K.; Belogusev, V. New seed sowing technique and equipment to raise level of crop yield. Eng. Rural Dev. 2018, 17, 350–355. [Google Scholar] [CrossRef]
  61. Doǧan, T.; Zeybek, A. Full length research paper improving the traditional sesame seed planting with seed pelleting. Afr. J. Biotechnol. 2009, 8, 6120–6126. [Google Scholar]
  62. Arteaga-Herrera, O.; Amores, K.; Terán, H.; Cangui, R.; Ramírez, A.; Hurtado, S.; Inlago, D.; Chuquimarca, B.R. Automation of a seed on tray seeder machine. IOP Conf. Ser. Mater. Sci. Eng. 2020, 872, 012003. [Google Scholar] [CrossRef]
  63. Oksanen, T.; Piirainen, P.; Seilonen, I. Remote access of ISO 11783 process data by using OPC Unified Architecture technol-ogy. Comput. Electron. Agric. 2015, 117, 141–148. [Google Scholar] [CrossRef]
  64. Taner, A.; Öztekin, Y.B.; Tekgüler, A.; Sauk, H.; Duran, H. Classification of Varieties of Grain Species by Artificial Neural Networks. Agronomy 2018, 8, 123. [Google Scholar] [CrossRef] [Green Version]
  65. Hasanova, G.M. Formation of Grain Quality in Bread Wheat Varieties under Mil-Garabakh Region of Azerbaijan: Az Wheat. Alban. J. Agric. Sci. 2014, 13, 50–54. [Google Scholar]
Figure 1. An example of creating a photo pattern for the select triticale class, with seed transport speeds of: (a) 15 m/s, (b) 20 m/s and (c) 25 m/s.
Figure 1. An example of creating a photo pattern for the select triticale class, with seed transport speeds of: (a) 15 m/s, (b) 20 m/s and (c) 25 m/s.
Sensors 21 00151 g001
Figure 2. A scheme of the test facility, 1—drilling unit (a feeder), 2—camera, 3—screen with a scale, 4—pneumatic hose, 5—vacuum cleaner with the blower function, 6—LED lighting with a stabiliser, and 7—seed container.
Figure 2. A scheme of the test facility, 1—drilling unit (a feeder), 2—camera, 3—screen with a scale, 4—pneumatic hose, 5—vacuum cleaner with the blower function, 6—LED lighting with a stabiliser, and 7—seed container.
Sensors 21 00151 g002
Figure 3. An image recognition algorithm.
Figure 3. An image recognition algorithm.
Sensors 21 00151 g003
Figure 4. The distribution values of the entropy variable in the dataset depending on the sowing speed.
Figure 4. The distribution values of the entropy variable in the dataset depending on the sowing speed.
Sensors 21 00151 g004
Table 1. The distribution of the frequency of training cases depending on the sowing speed and the type of triticale seeds.
Table 1. The distribution of the frequency of training cases depending on the sowing speed and the type of triticale seeds.
NameSpeed [m/s]SelectScreeningsChaffNumber of Training Cases
Z115200200200600
Z220505050150
Z325100100100300
Z415, 20, 25200, 200, 200200, 200, 200200, 200, 2001800
Table 2. Network training results.
Table 2. Network training results.
Name of Learning SetZ1Z2Z3Z4
Ann modelMLP 5-23-3MLP 5-6-3MLP 5-3-3MLP 5-35-3
Training error0.0600.0950.1600.226
Validation error0.0380.0910.1860.251
Testing error0.0580.1030.2140.220
Quality of learning0.9900.9730.9330.894
Quality of validation0.9990.9990.9470.844
Quality of testing0.9930.9900.9200.913
Training cases6001503001800
Training algorithmBP50, CG257bBP50, CG227bBP50, CG69bBP50, CG1094b
Table 3. The correlation matrix of set Z1.
Table 3. The correlation matrix of set Z1.
Angular Second Moment Contrast Correlation Inverse Difference Moment Entropy
Angular Second Moment 1
Contrast −0.8511
Correlation 0.779−0.8301
Inverse Difference Moment 0.900−0.7800.7881
Entropy −0.9350.925−0.859−0.9271
Table 4. The correlation matrix of set Z2.
Table 4. The correlation matrix of set Z2.
Angular Second Moment Contrast Correlation Inverse Difference Moment Entropy
Angular Second Moment 1
Contrast −0.5261
Correlation 0.046−0.7781
Inverse Difference Moment 0.989−0.438−0.0611
Entropy −0.9670.696−0.275−0.9321
Table 5. The correlation matrix of set Z3.
Table 5. The correlation matrix of set Z3.
Angular Second Moment Contrast Correlation Inverse Difference Moment Entropy
Angular Second Moment 1
Contrast −0.5041
Correlation 0.084−0.6041
Inverse Difference Moment 0.954−0.350−0.0411
Entropy −0.9070.772−0.361−0.7861
Table 6. The eigenvalues of the correlation matrix (15 m/s).
Table 6. The eigenvalues of the correlation matrix (15 m/s).
EigenvaluesPC1PC2PC3PC4PC5PC6
Variance5.1440.3240.2730.1800.0600.019
% of var.85.7345.4004.5462.9951.0080.316
Cumulative% of var.85.73491.13495.68098.67699.694100
Table 7. The eigenvalues of the correlation matrix (20 m/s).
Table 7. The eigenvalues of the correlation matrix (20 m/s).
EigenvaluesPC1PC2PC3PC4PC5
Variance3.4101.4870.0900.0100.004
% of var.68.19529.7391.7970.1900.078
Cumulative% of var.68.19597.93599.73299.922100.00
Table 8. The eigenvalues of the correlation matrix (25 m/s).
Table 8. The eigenvalues of the correlation matrix (25 m/s).
EigenvaluesPC1PC2PC3PC4PC5
Variance3.2741.3570.2960.0620.011
% of var.65.48427.1335.9161.2420.224
Cumulative% of var.65.48492.61898.53499.776100
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gierz, Ł.; Przybył, K.; Koszela, K.; Duda, A.; Ostrowicz, W. The Use of Image Analysis to Detect Seed Contamination—A Case Study of Triticale. Sensors 2021, 21, 151. https://doi.org/10.3390/s21010151

AMA Style

Gierz Ł, Przybył K, Koszela K, Duda A, Ostrowicz W. The Use of Image Analysis to Detect Seed Contamination—A Case Study of Triticale. Sensors. 2021; 21(1):151. https://doi.org/10.3390/s21010151

Chicago/Turabian Style

Gierz, Łukasz, Krzysztof Przybył, Krzysztof Koszela, Adamina Duda, and Witold Ostrowicz. 2021. "The Use of Image Analysis to Detect Seed Contamination—A Case Study of Triticale" Sensors 21, no. 1: 151. https://doi.org/10.3390/s21010151

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop