Color image based sorter for separating red and white wheat

Original Paper


A simple imaging system was developed to inspect and sort wheat samples and other grains at moderate feed-rates (30 kernels/s or 3.5 kg wheat/h). A single camera captured color images of three sides of each kernel by using mirrors, and the images were processed using a personal computer (PC). Real time image acquisition and processing was enabled on an ordinary PC under Windows XP operating system using the IEEE 1394 data transfer protocol, DirectX application software, and dual-core computer processor. Image acquisition and transfer to the PC required approximately 17 ms per kernel, and an additional 1.5 ms was required for image processing. After classification, the computer could output a signal from the parallel port to activate an air valve to divert (sort) kernels into a secondary container. Hard red and hard white wheat kernels were used in this study to test and demonstrate sorter capability. Simple image statistics and histograms were used as features. Discriminant analysis was performed with one, two, or three features to demonstrate classification improvements with increased numbers of features. The sorter was able to separate hard red kernels from hard white kernels with 95 to 99% accuracy, depending on the wheat varieties, feed-rate, and number of classification features. The system is an economical and useful instrument for sorting wheat and other grains with high accuracy.


Image histogram White wheat Red wheat Fusarium Scab 


  1. 1.
    T.C. Pearson, R. Young, Automated sorting of almonds with embedded shell by laser transmittance imaging. Appl. Eng. Agric. 18(5), 637–641 (2001)Google Scholar
  2. 2.
    S.R. Delwiche, T.C. Pearson, D.L. Brabec, High-speed optical sorting of soft wheat for reduction of deoxynivalenol. Plant Dis. 89(11), 1214–1219 (2005). doi:10.1094/PD-89-1214 CrossRefGoogle Scholar
  3. 3.
    T.C. Pearson, in Low-cost bi-chromatic Image Sorting Device for Grains (ASABE, St. Joseph, Mich, 2006), ASABE Paper No. 063085Google Scholar
  4. 4.
    T. Yamada, CCD Image Sensors. in Image Sensors and Signal Processing for Digital Still Cameras (Taylor and Francis Group, Boca Raton, Florida, 2006), pp. 95–142Google Scholar
  5. 5.
    I. Takayanagi, CMOS Image Sensors. in Image Sensors and Signal Processing For Digital Still Cameras (Taylor and Francis Group, Boca Raton, Florida, 2006), pp. 143–178Google Scholar
  6. 6.
    A. Baker, J.J. Lozano, The Windows 2000 device driver book: a guide for programmers, 2nd edn. (Prentice Hall PTR, Upper Saddle river, NJ, 2001)Google Scholar
  7. 7.
    M. Linetsky, Programming Microsoft Direct Show (Wodware publishing, Inc., Plano, TX, 2002)Google Scholar
  8. 8.
    B.S. Bennedsen, D.L. Peterson, Identification of apple stem and calyx using unsupervised feature extraction. Trans. ASAE 47(3), 889–894 (2004)Google Scholar
  9. 9.
    P.A. Kumar, S. Bal, Automatic unhulled rice grain crack detection by x-ray imaging. Trans. ASABE 50(5), 1907–1911 (2007)Google Scholar
  10. 10.
    N. Wang, N. Zhang, F.E. Dowell, T.C. Pearson, Determination of durum wheat vitreousness using transmissive and reflective images. Trans. ASAE 48(1), 219–222 (2004)Google Scholar
  11. 11.
    T.C. Pearson, Machine vision system for automated detection of stained pistachio nuts. Lebensmittel-Wissenschaft Technologie 29(3), 203–209 (1996). doi:10.1006/fstl.1996.0030 CrossRefGoogle Scholar
  12. 12.
    J. Stewart, in Computer Vision to Detect Foreign Objects (ASABE, St. Joseph, Mich, 2005), ASABE Paper No. 056015Google Scholar
  13. 13.
    Y.-N. Wan, Kernel handling performance of an automatic grain quality inspection system. Trans. ASAE 45(2), 369–377 (2002)Google Scholar
  14. 14.
    F. Xie, T.C. Pearson, F.E. Dowell, N. Zhang, Detecting vitreous wheat kernels using reflectance and transmittance image analysis. Cereal. Chem. 81(4), 490–498 (2004). doi:10.1094/CCHEM.2004.81.4.490 CrossRefGoogle Scholar
  15. 15.
    Y.R. Chen, K. Chao, W.R. Hruschka, On-line automated Inspection of Poultry Carcasses by Machine Vision. in Proceedings of the World Congress of Computers in Agriculture and Natural Resources. ASAE Publication Number 701P0301 (ASABE, St. Joseph, Mich, 2002), pp. 78–85Google Scholar
  16. 16.
    M.C. Pasikatan, F.E. Dowell, Evaluation of a high-speed color sorter for segregation of red and white wheat. Appl. Eng. Agric. 19(1), 71–76 (2003)Google Scholar

Copyright information

© Agricultural Research Service 2008

Authors and Affiliations

  1. 1.USDA-ARS-Grain Marketing and Production Research CenterManhattanUSA
  2. 2.Soil and Crop Sciences DepartmentColorado State UniversityFort CollinsUSA

Personalised recommendations