Separation of partially occluded rice kernels and variety classification based on computer vision
Summary
The classification of rice kernels based on machine vision systems is often a challenging task in an online production system due to grain occlusion problems. This study proposed a machine vision-based rice kernel classifier in an in-line production setting under partial occlusion. Firstly, a classifier model was developed based on shape, texture, and color image feature categories using single rice kernels. Four sets of classifiers were developed based on each feature category and a combination of all feature variables. The Support Vector Machine (Cubic), based on shape features, outperformed all other classifiers at an accuracy of 0.980. Secondly, a grain-splitting technique based on contour curvature analysis was introduced to separate touching rice kernels under partial occlusion (both simple and complex touching cases), achieving 100% separation accuracy on occluded rice clusters. Thirdly, the trained classifier was applied to each individually segmented rice kernel to predict its variety across Zhong Guang Si Miao No. 5 (VAR1), Zao Xian 788 (VAR2), and Nanjing 9108 (VAR3).
Results
We applied distance-transform watershed segmentation to separate touching and partially occluded rice kernels captured in bulk postharvest inspection scenes. In addition, we extracted shape geometry and surface descriptors from separated kernel masks for multi-variety rice classification. We also removed manual single-kernel singulation bottlenecks prior to automated optical grain grading.
Grain Separation & Variety Grading Pipeline (IAEJ 2020)
| Processing Step | Technique | Role in Postharvest Grading |
|---|---|---|
| 1. Binary Masking | Adaptive thresholding | Isolates rice cluster foreground |
| 2. Kernel Separation | Distance transform + Watershed | Splits touching kernels to singles |
| 3. Classification | Shape & texture descriptors | Assigns rice cultivar in-line |
Citation
@article{korohou2020ricekernels,
title={Separation of partially occluded rice kernels and variety classification based on computer vision},
author={Korohou, Tchalla and Okinda, Cedric and Nyalala, Innocent and Torotwa, I. and Mwangi, E.},
journal={International Agricultural Engineering Journal},
year={2020}
}