Abstract

Thousand-grain weight is a key indicator of crop yield and an important parameter for evaluating cultivation measures. Existing methods based on image analysis are convenient but lack a counting algorithm that is suitable for multiple types of grains. This research develops an application program based on an Android device to quickly calculate the number of grains. We explore the short axis measurement method of the grains with morphological thought, and determine the relationship between the general corrosion threshold and the short axis. To solve the problem of calculating the number of grains in the connected area, the study proposes a corrosion algorithm based on the short axis and an improved corner point method. After testing a variety of crop grains and equipment, it was found that the method has high universality, supports grain counting with white paper as the background, and has high accuracy and calculation efficiency. The average accuracy rate is 97.9%, and the average time is less than 0.7 seconds. In addition, the difference between the average accuracy for various mobile phones and multiple crops is small. This research proposes a grain counting algorithm with a wide range of applications to meet the requirements of nonglare use in the field. The algorithm provides a fast, accurate, low-cost tool for counting grains of wheat, corn, mung bean, soybean, peanut, rapeseed, etc., which is less constrained by space and power conditions. The algorithm is highly adaptable and can provide a reference for the study of grain counting.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call