Abstract:
Abstract: The rice chalky portion is defined as the opaque white portion in rice endosperm. Chalky rice not only affects its appearance quality, but also affects its cooking and taste quality, and then reduces the rice commodity price. Therefore, picking chalky grain in the processing of rice sorting has important practical value and economic value. In this paper, different rice combination images appearing in the sorting process was researched, and the rice kernels' chalky portions were segmented automatically using image processing technology. According to the national standard requirements, chalky degree and chalky rice rate as rice chalky indexes were determined.First, the background image of the multi-grain rice image was segmented automatically in I color channel using an Otsu algorithm. Then, the segmented binary image and the original image were phased to get the rice image while removing the background. Viewing the rice transparent part as background and the rice chalky part as the foreground, the image was automatically segmented again using a Chebyshev approximation algorithm. The fake chalky areas in the image were removed using the area threshold method in a twice segmentation process. In this paper, a rice chalky portion automatic recognition algorithm and a chalky rice index detection algorithm were given and experimentally analyzed from their robustness, accuracy, and time-consuming aspects. The results showed that the algorithm could implement adaptive threshold selection, and realize the chalkiness complete segmentation of a combination image especially an image including yellow rice and rice with impurities, so the algorithm robustness was strong. According to the national standard requirements, one hundred rice kernels with 40% chalky rice rate were selected and different rice kernel images with a random combination were segmented to verify the accuracy and time-consuming of the algorithm. The results were that the chalky rice rate accuracy was 95% and the calculation error of the chalky degree was 2.39%. The chalkiness detection average time of each rice kernel was 3.8 ms, and the algorithm counting time was short and suitable for online operations.