| Literature DB >> 32295097 |
Vi Nguyen Thanh Le1, Selam Ahderom1, Kamal Alameh1.
Abstract
Weed invasions pose a threat to agricultural productivity. Weed recognition and detection play an important role in controlling weeds. The challenging problem of weed detection is how to discriminate between crops and weeds with a similar morphology under natural field conditions such as occlusion, varying lighting conditions, and different growth stages. In this paper, we evaluate a novel algorithm, filtered Local Binary Patterns with contour masks and coefficient k (k-FLBPCM), for discriminating between morphologically similar crops and weeds, which shows significant advantages, in both model size and accuracy, over state-of-the-art deep convolutional neural network (CNN) models such as VGG-16, VGG-19, ResNet-50 and InceptionV3. The experimental results on the "bccr-segset" dataset in the laboratory testbed setting show that the accuracy of CNN models with fine-tuned hyper-parameters is slightly higher than the k-FLBPCM method, while the accuracy of the k-FLBPCM algorithm is higher than the CNN models (except for VGG-16) for the more realistic "fieldtrip_can_weeds" dataset collected from real-world agricultural fields. However, the CNN models require a large amount of labelled samples for the training process. We conducted another experiment based on training with crop images at mature stages and testing at early stages. The k-FLBPCM method outperformed the state-of-the-art CNN models in recognizing small leaf shapes at early growth stages, with error rates an order of magnitude lower than CNN models for canola-radish (crop-weed) discrimination using a subset extracted from the "bccr-segset" dataset, and for the "mixed-plants" dataset. Moreover, the real-time weed-plant discrimination time attained with the k-FLBPCM algorithm is approximately 0.223 ms per image for the laboratory dataset and 0.346 ms per image for the field dataset, and this is an order of magnitude faster than that of CNN models.Entities:
Keywords: crop/weed classification and detection; deep convolutional neural networks; k-FLBPCM; local binary pattern (LBP); precision agriculture
Year: 2020 PMID: 32295097 PMCID: PMC7218891 DOI: 10.3390/s20082193
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1The flowchart presents how the k-FLBPCM algorithm works [32].
Figure 2The “bccr-segset” dataset and its four-growth stages.
Figure 3Canola and radish plants at different growth stages in the “bccr-segset” dataset.
Figure 4Barley was mixed with canola and wild radish at different growth stages.
Figure 5An integrated weed sensing system to collect plant images in the field.
Figure 6Segmented canola and wild radish classes under complex field environments.
Input image sizes used for the CNN and k-FLBPCM models, for the laboratory and field datasets.
| Methods | Image Size |
|---|---|
| k-FLBPCM | 228 × 228 |
| VGG-16 | 224 × 224 |
| VGG-19 | 224 × 224 |
| ResNet-50 | 224 × 224 |
| Inception-V3 | 299 × 299 |
Classification accuracies of the test set, in the “bccr-segset” dataset, for different methods, for a batch size of 32 and dropout 0.5.
| Methods | Accuracy of the Testing Set | |||||
|---|---|---|---|---|---|---|
| Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Average Accuracy | |
| k-FLBPCM | 98.67% | 98.75% | 98.60% | 98.56% | 98.41% | 98.60% |
| VGG-16 | 99.83% | 99.73% | 99.75% | 99.90% | 99.85% | 99.81% |
| VGG-19 | 99.82% | 99.22% | 99.82% | 99.52% | 99.85% | 99.65% |
| ResNet-50 | 99.48% | 99.58% | 99.62% | 99.72% | 99.67% | 99.61% |
| Inception-V3 | 99.83% | 99.75% | 99.55% | 99.85% | 99.92% | 99.78% |
Confusion matrices of the test set, in the “bccr-segset” dataset, for different methods, for a batch size of 32 and dropout 0.5.
| Methods | Classes | Background | Canola | Corn | Radish |
|---|---|---|---|---|---|
|
| Background | 1497 | 1 | 0 | 0 |
| Canola | 0 | 1457 | 4 | 38 | |
| Corn | 0 | 3 | 1495 | 0 | |
| Radish | 0 | 37 | 0 | 1461 | |
|
| Background | 1484 | 0 | 0 | 0 |
| Canola | 0 | 1491 | 0 | 1 | |
| Corn | 0 | 0 | 1494 | 0 | |
| Radish | 0 | 5 | 0 | 1525 | |
|
| Background | 1483 | 0 | 0 | 0 |
| Canola | 2 | 1519 | 0 | 5 | |
| Corn | 2 | 0 | 1495 | 0 | |
| Radish | 0 | 0 | 0 | 1494 | |
|
| Background | 1483 | 1 | 0 | 0 |
| Canola | 0 | 1490 | 0 | 2 | |
| Corn | 1 | 2 | 1491 | 0 | |
| Radish | 0 | 11 | 0 | 1519 | |
|
| Background | 1483 | 0 | 0 | 0 |
| Canola | 0 | 1524 | 1 | 1 | |
| Corn | 2 | 0 | 1495 | 0 | |
| Radish | 0 | 1 | 0 | 1493 |
Classification accuracies of the test set, in the “bccr-segset” dataset, for different methods, for a batch size of 32 and dropout 0.2.
| Methods | Accuracy of the Testing Set | |||||
|---|---|---|---|---|---|---|
| Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Average Accuracy | |
| k-FLBPCM | 98.67% | 98.75% | 98.60% | 98.56% | 98.41% | 98.60% |
| VGG-16 | 99.80% | 99.85% | 99.87% | 99.93% | 99.92% | 99.87% |
| VGG-19 | 99.80% | 99.83% | 99.85% | 99.85% | 99.90% | 99.85% |
| ResNet-50 | 99.82% | 99.82% | 99.22% | 98.92% | 99.25% | 99.41% |
| Inception-V3 | 99.65% | 99.72% | 99.62% | 99.65% | 99.60% | 99.65% |
Classification accuracies of the test set among different methods in the “bccr-segset” dataset with the batch size of 64 and dropout 0.2.
| Methods | Accuracy of the Testing Set | |||||
|---|---|---|---|---|---|---|
| Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Average Accuracy | |
| k-LBPCM | 98.67% | 98.75% | 98.60% | 98.56% | 98.41% | 98.60% |
| VGG-16 | 99.82% | 99.78% | 99.90% | 99.63% | 99.85% | 99.80% |
| VGG-19 | 99.73% | 99.78% | 99.83% | 99.53% | 98.82% | 99.54% |
| ResNet-50 | 99.65% | 99.52% | 99.10% | 99.70% | 99.70% | 99.53% |
| Inception-V3 | 99.82% | 99.68% | 99.83% | 99.82% | 99.85% | 99.80% |
Comparison of the classification accuracies of methods in the use of canola and radish plants at different growth stages in the “bccr-segset” dataset.
| Methods | Canola and Radish in the “Bccr-Segset” Dataset | |
|---|---|---|
| Train-Stage3 and Test-Stage3 | Train-Stage3 and Test-Stage2 | |
| Test Accuracy | Test Accuracy | |
| k-FLBPCM | 97.25% |
|
| VGG-16 | 98.96% | 62.50% |
| Inception-V3 | 97.92% | 63.80% |
Comparison of the classification accuracies of the VGG-16, Inception-V3 and k-FLBPCM methods when mixed-barley–canola and mixed-barley–radish images collected at different growth stages are used for the dataset.
| Methods | “Mixed-Plants” Dataset | |
|---|---|---|
| Train-Stage4 and Test-Stage4 | Train-Stage4 and Test-Stage2 and Stage3 | |
| Test Accuracy | Test Accuracy | |
| k-FLBPCM | 99.73% | 99.33% |
| VGG-16 | 100% | 94.70% |
| Inception-V3 | 99.05% | 87.36% |
Classification accuracies of the test set, in the “fieldtrip_can_weeds” dataset, for different methods, for a batch size of 32 and dropout 0.5.
| Methods | Accuracy of the Testing Set | |||||
|---|---|---|---|---|---|---|
| Fold 1 | Fold 2 | Fold 3 | Fold 4 | Fold 5 | Average Accuracy | |
| k-FLBPCM | 92.33% | 91.33% | 90.18% | 90.54% | 90.34% | 90.94% |
| VGG16 | 91.34% | 91.55% | 91.55% | 91.75% | 91.55% | 91.55% |
| VGG19 | 90.12% | 91.04% | 89.41% | 89.71% | 87.47% | 89.55% |
| Resnet50 | 88.59% | 90.53% | 90.94% | 89.10% | 89.51% | 89.73% |
| Inceptionv3 | 91.75% | 90.73% | 91.04% | 89.10% | 91.75% | 90.87% |
Total training time of the k-FLBPCM and the VGG-16, VGG-19, ResNet-50 and Inception-V3 models for datasets in the laboratory and in the field.
| Bccr-Segset Dataset | Fieldtrip_Can_Weeds Dataset | |
|---|---|---|
| Methods | Total Training Time (Second) | Total Training Time (Second) |
| k-LBPCM | 901.2 | 165.9 |
| VGG-16 | 8692 | 1394 |
| VGG-19 | 10003 | 1563 |
| ResNet-50 | 7657 | 1483 |
| Inception-V3 | 11014 | 1907 |
Testing time of the k-FLBPCM method and CNNs for the laboratory dataset (6000 images used for the test set) and the field dataset (982 images used for the field test set).
|
| ||
|
|
|
|
| k-LBPCM | 1.34 | 0.223 |
| VGG-16 | 16 | 2.667 |
| VGG-19 | 18.2 | 3.033 |
| ResNet-50 | 14 | 2.333 |
| Inception-V3 | 21 | 3.500 |
|
| ||
| k-LBPCM | 0.34 | 0.346 |
| VGG-16 | 3 | 3.055 |
| VGG-19 | 3.2 | 3.259 |
| ResNet-50 | 3 | 3.055 |
| Inception-V3 | 4.6 | 4.684 |