Abstract

In this paper, we propose a grain volume measurement method based on binocular structured light to address the need for fast and high-precision grain volume measurement in grain stocks. Firstly, we utilize speckle structured light imaging to tackle the image matching problem caused by non-uniform illumination in the grain depot environment and the similar texture of the grain pile surface. Secondly, we employ a semi-global stereo matching algorithm with census transformation to obtain disparity maps in grain bins, which are then converted into depth maps using the triangulation principle. Subsequently, each pixel in the depth map is transformed from camera coordinates to world coordinates using the internal and external parameter information of the camera. This allows us to construct 3D cloud data of the grain pile, including the grain warehouse scene. Thirdly, the improved European clustering method is used to achieve the segmentation of the three-dimensional point cloud data of the grain pile and the scene of the grain depot, and the pass-through filtering method is used to eliminate some outliers and poor segmentation points generated by segmentation to obtain more accurate three-dimensional point cloud data of the grain pile. Finally, the improved Delaunay triangulation method was used to construct the optimal topology of the grain surface continuous triangular mesh, and the nodes of the grain surface triangular mesh were projected vertically to the bottom of the grain warehouse to form several irregular triangular prisms; then, the cut and complement method was used to convert these non-plane triangular prisms into regular triangular prisms that could directly calculate the volume. The measured volume of the pile is then obtained by calculating the volume of the triangular prism. The experimental results indicate that the measured volume has a relative error of less than 1.5% and an average relative error of less than 0.5%. By selecting an appropriate threshold, the relative standard deviation can be maintained within 0.6%. The test results obtained from the laboratory test platform meet the requirements for field inspection of the granary.

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