Measurement of jujube volume based on definite integral of edge contours
In order to obtain the volume parameters of jujube quickly and improve the precision of jujube volume classification,a method of measuring jujube volume by definite integral of edge contour was proposed.In this method,the collected jujube image was pre-processed by gray-scale,segmentation and filling,and the processed image were rotated and aligned along the main axis and divid-ed into left and right parts.The effective pixel points of the edge contour of the two parts were detected and extracted by eight-neighbor-hood tracking method,and converted into actual contour coordinate points by specific conversion coefficient.The actual contour coordi-nate points were fixed integral by polynomial.The volume of two parts is obtained,and the full volume is obtained by alignment and merging.In this study,the volume of 350 red dates was measured one by one.Then,linear fitting and error analysis were conducted using the measured values and the true values.The analysis result showed R=0.945 85,RMSE=3.134 mL,and the average error was 11.57%.By using this method,the accuracy of jujube volume classification was over 75.71%and the average accuracy was 80.57%.It is proved that it is feasible to measure the volume of jujube based on the definite integral of edge contour,and provides a theoretical basis for the volume classification of jujube.