Affiliation:
1. School of Information Sciences and Engineering, Shaoguan University, Shaoguan, Guangdong Province, China
2. College of Mechanical and Electrical Engineering, Shihezi University, Shihezi, Xinjiang, China
Abstract
An automated flower thinning system, when combined with machine vision, has the potential to reduce the labor force, improve efficiency, and lower costs. This combination represents the future of agricultural machinery development. The primary objective of automatic flower thinning is to determine the flowering density of fruit trees under natural light conditions. In this study, we introduce a flower recognition algorithm that uses pixel values as an independent variable to recognize flower categories by constructing a nonlinear regression model. Initially, the RGB pixel values of elements in the training set are extracted. Similar pixel values are clustered together to reduce the amount of computation, and representative elements are selected to construct a nonlinear classification function, known as the regression function. The coefficients in the classifier are determined by transforming the problem into an unconstrained optimization problem using the least square method. The optimal solution is then found as the coefficient value in the classifier. The classification function calculates the function value of the RGB pixel value for each input entity to determine whether it belongs to the flower entity. Finally, the developed algorithm is used to classify the flower graphic elements of the measured pictures, and the efficiency of the algorithm is verified.