Micromachines (Mar 2022)

Measuring Shape Parameters of Pearls in Batches Using Machine Vision: A Case Study

  • Xinying Liu,
  • Shoufeng Jin,
  • Zixuan Yang,
  • Grzegorz Królczyk,
  • Zhixiong Li

DOI
https://doi.org/10.3390/mi13040546
Journal volume & issue
Vol. 13, no. 4
p. 546

Abstract

Read online

To solve the problem of low precision of pearl shape parameters’ measurement caused by the mutual contact of batches of pearls and the error of shape sorting, a method of contacting pearls’ segmentation based on the pit detection was proposed. Multiple pearl images were obtained by backlit imaging, the quality of the pearl images was improved through appropriate preprocessing, and the contacted pearl area was extracted by calculating the area ratio of the connected domains. Then, the contour feature of the contact area was obtained by edge tracking to establish the mathematical model of the angles between the edge contour points. By judging the angle with a threshold of 60° as the candidate concave point, a concave point matching algorithm was introduced to get the true concave point, and the Euclidean distance was adopted as a metric function to achieve the segmentation of the tangent pearls. The pearl shape parameters’ model was established through the pearl contour image information, and the shape classification standard was constructed according to the national standard. Experimental results showed that the proposed method produced a better segmentation performance than the popular watershed algorithm and morphological algorithm. The segmentation accuracy was above 95%, the average loss rate was within 4%, and the sorting accuracy based on the shape information was 94%.

Keywords