提出一种基于区域跨度搜索的大米粒型检测方法。该方法利用区域外切矩形的长度和宽度表示区域的跨度,通过米粒区域外切矩形旋转搜索米粒的粒长及粒宽,再由粒长及粒宽求出米粒粒型。由于是对米粒区域中互相垂直的2个方向上的米粒区域跨度的同时旋转搜索,因此只须对米粒区域外切矩形旋转90°即可搜索出米粒的粒长及粒宽。大米粒型检测的实验结果表明:该方法对大米粒型的检测结果与人工测量结果基本一致,相对误差为1.73%,且具有米粒旋转不变性的特点。
A method of detection of rice kernel shape based on region span searching is proposed,in which the length and width of region circumscrihing rectangle are used as the region spans,and the method of searching of the length and width of rice kernel by rotating of the circumscribing rectangel of rice kernel is firstly proposed in the paper,the rice kernel shape is derived from the searched length and width. Due to the simultaneous rotary searching of the spans in two orthogonal directions in rice kernel region,the length and width of rice kernel are completdy found out under rotating of the circumscrhing rectangle up to 90 degree. Our experimental results showed that the proposed method is characteristic of the invariance for rotation of rice kernel,and the result of detection of rice kernel shape using the proposed method is eoinddent with that of manual inspection with the relative error of 1.73%.