Machine vision inspection of rice seed based on Hough transform

A machine vision system was developed to inspect the quality of rice seeds. Five varieties ofJinyou402,Shanyou10,Zhongyou207,Jiayou and IIyou were evaluated. The images of both sides of rice seed with black background and white background were acquired with the image processing system for identifying external features of rice seeds. Five image sets consisting of 600 original images each were obtained. Then a digital image processing algorithm based on Hough transform was developed to inspect the rice seeds with incompletely closed glumes. The algorithm was implemented with all image sets using a Matlab 6.5 procedure. The results showed that the algorithm achieved an average accuracy of 96% for normal seeds, 92% for seeds with fine fissure and 87% for seeds with incompletely closed glumes. The algorithm was proved to be applicable to different seed varieties and insensitive to the color of the background.