A RAPID CORN SORTING ALGORITHM BASED ON MACHINE VISION
According to the defects of traditional contact corn measurement methods. Size measurement systems based on CCD image are introduced. It can provide a real time, rapid, efficient and economic measurement approach. Firstly with CCD camera image automatic acquisition, then photographed image of threshold segmentation, namely binary processing. By Laplace operator again Gauss image edge detection and the calculation of regional labeling, mark area, using area feature parameters eliminate unwanted noise. Finally, according to the edge profile features, we can use the gravity method such as the establishment of corn length and diameter size calculation method, and compared with the size of the classification standard. Using actual collection to corn image experiment, the results show that the processing method is feasible, using a 1280 x 1024 pixel CCD camera, the cornfield sorting speed can reach 30ear/min.