Welcome to Chinese Journal of Tropical Crops,

Chinese Journal of Tropical Crops ›› 2022, Vol. 43 ›› Issue (12): 2554-2563.DOI: 10.3969/j.issn.1000-2561.2022.12.018

• Post-harvest Treatment & Quality Safety • Previous Articles     Next Articles

Comparative Study of Multiple Image Edge Detection Operators Applied to Size Measurement of Passiflora edulia Sims

LIU Xian, LIN Yingzhi()   

  1. Digital Agriculture Research Institute, Fujian Academy of Agricultural Sciences, Fuzhou, Fujian 350003, China
  • Received:2022-03-09 Revised:2022-04-07 Online:2022-12-25 Published:2023-01-12
  • Contact: LIN Yingzhi

Abstract:

Size measurement was a very important and indispensable link in the postpartum sorting stage of passion fruit. This paper described a variety of edge detection operators and image recognition steps based on edge detection algorithm. A fruit image acquisition platform was constructed by simulating fruit sorting site. In order to increase the difficulty, forty passion fruits with certain wrinkle on the surface were obtained by using fruit image acquisition platform and forty images shoot from the top were selected as the test material. Based on the Visual Studio 2017 integrated development environment, called the OpenCV 3.2.0 machine vision library, C++ programming language was used to detect the edge of forty passion fruit images by Canny, Sobel, Laplacian and Scharr operators. The size of passion fruit was measured by photoshop 7.0.1 software based on images as the approximation of real fruit size and according to the value to measure the detection accuracy of algorithm. The detection parameters of the four operators were automatically optimized, and the detection parameters of each operator, the detection accuracy of the four operators and the single fruit detection time were statistically analyzed by SPSS software. The test results showed that the measurement accuracy of passion fruit size using Canny operator under (70, 105, 3) parameters was the highest, the average time consumed of the single fruit measurement was 1.98 ms, it was the fastest of four operators, which can satisfy the actual demand for the intelligent sorting of passion fruit.

Key words: passion fruit (Passiflora edulia Sims), edge detection, operator

CLC Number: