Patent ID: 11878328
Assignee: JIANGSU UNIVERSITY
Field: Chemical engineering (Chemistry)
Classification: CPC B  G | IPC B  G

Claim 1:
2. The color sorting method for the small-grain agricultural products combining the area scanning photoelectric characteristic and the line scanning photoelectric characteristic according to claim 1, wherein in step I, a method for calculating the arrangement orders p_i of the unqualified agricultural products of the A_t_i along the x-axis direction in the area scan image I_t comprises: first, according to the established rectangular coordinate system, determining the center pixel coordinates P_t_i (x, y) of the unqualified agricultural products A_t_i; then, binarizing the area scan image I_t to obtain m line segments on a connecting line of a pixel point (0, P_t_i (y)) and a pixel point (M, P_t_i (y)), and extracting coordinates (Z_k′, P_t_i (y)) and (Z_k″, P_t_i (y)) of two end points of the m line segments respectively; and finally, determining a relationship between the center pixel coordinates P_t_i (x, y) of the unqualified agricultural products A_t_i and the coordinates (Z_k′, P_t_i (y)) and (Z_k″, P_t_i (y)) of the end points, wherein when Z_k′<P_t_i (x)<Z_k″, it is determined that the arrangement orders of the unqualified agricultural products of the A_t_i along the x-axis in the area scan image I_t are as follows: p_i=k, and m is an integer greater than 0, and k∈[1, m].