节点文献

基于图像处理的大米整精米率的检测方法研究和精度分析

Head Rice Rate Detection Method Based on Image Processing and Accuracy Analysis

【作者】 刘丹

【导师】 齐国清;

【作者基本信息】 大连海事大学 , 电子与通信工程, 2012, 硕士

【摘要】 大米是我国重要粮食作物之一,整精米率是大米的重要品质因数,也是收购大米的重要指标之一。但是我国目前仍然停留在人工检测阶段,这样费时费力,同时检测结果也不够客观,不够准确。大米整精米率自动检测方法不仅可以节省时间、减少人员工作量,同时也能提高客观性和准确度。首先,本文研究是基于数字图像处理的大米整精米率自动检测方法,利用扫描仪来获取样品米粒的图像,通过图像处理技术得到单个米粒的图像。本文通过二维Otsu阈值分割对图像进行二值化,然后根据选定区域的方法对图像进行去噪,这样可以尽量避免噪声的干扰,保持好米粒的原有信息。由于实际操作中米粒是随机摆放的,所以会有米粒粘连的情况,需要对其进行粘连分割来获得单个米粒图像。通过实验对比,采用特殊点分割算法可以得到满意的分割效果,既不会丢失米粒信息,也不会出现过分割情况。其次,根据国家标准,整精米和碎米是根据米粒的长度来区分。鉴于稻米形状近似椭圆,本文采用最小外接矩形对米粒长度进行检测,得到的结果不但精度高,而且还可以通过顶点链码编码提高运算速度。再次,对于整精米率的检测,国家标准中要求是整米与全部样品米的重量比值。由于基于图像处理的整精米率检测方法不能将整米和碎米分开称重,通常是采用米粒面积比来间接推算质量比。但是米粒的厚度不是完全相同,利用米粒面积比值获得质量比值会产生一定的误差。因此本文通过对米粒建立三维模型,根据米粒二维图像推测其体积,然后通过米粒的体积之比来计算整精米率,这样计算的整精米率更准确,更接近国标要求。最后,对精度进行分析。通过多组实验,对面积计算的精度分析,对整精米和碎米面积、体积以及形态分析,对测算米粒长度的精度分析,对通过面积和体积得到的整精米率的精度分析,以及对细长米粒的整精米率的分析等。通过图像处理的方法可以有效的测算整精米率,省时省力节省成本,可以准确检测整精米与碎米,本文算法检测的准确率可以达到98%以上。

【Abstract】 Rice is one of the important food crops. Head rice rate is an important factor of rice quality and an important indicator of the acquisition of rice. But China still re-mains in the manual head rice rate inspection stage, so the detection is time-consuming, the test results are not objective and not accurate enough. The head rice rate automatic detection method can save time and reduce staff workload, can also improve the objec-tivity and accuracy.Firstly, the head rice rate automatic detection method of this study is based on digital image processing. The rice image is obtained by the scanner. The single rice image is obtained using image processing technology. Image binarization is done by the two-dimensional Otsu threshold segmentation. Image denoising method based on the selected area of image is used. Therefore, it can avoid the interference of noise and keep the original rice information. Through the experimental comparison, the special point segmentation algorithm is chose to perform the separation. It can keep the rice information and avoid excessive over-segmentation situation.Secondly, according to the national standard, the distinction between head rice and broken rice is based on rice length. Because that the rice can be approximated as ellipse, the MER method is used to calculate the length of the rice which can achieve accurate results and the computing speed can be increased by MER vertex chain code algorithm.Thirdly, according to the national standard, the head rice rate is defined as the weight rate of the head rice and the whole sample rice. Because that the head rice rate detection method based on digital image processing can’t weight the rice, the common method is to use the rate of area. Because the thickness of the rice is not completely the same, estimating head rice rate by volume of rice will be better than the area method. This thesis sets the three-dimensional model of rice, and calculates the volume accord-ing to the two-dimensional image. Then it calculates the head rice rate by the rate of volume. The method is more accurate and closer to the national standard requirements.Finally, the precision analysis is important. It needs multiple sets of experiments. The area calculation accuracy analysis, the analysis of the whole rice and broken rice area, the rice volume and shape, the length analysis of rice, the comparison of the two method of head rice rate and the analysis of the head rice rate of the slender rice are completed.The calculation of the head rice rate is based on image processing methods. It can detect the head rice and broken rice accurately and can save time and labor cost. The accuracy of this detection method is higher than98%.

  • 【分类号】TP391.41;TP274
  • 【下载频次】110
节点文献中: 

本文链接的文献网络图示:

本文的引文网络