Binocular 3D reconstruction for wood ice cream sticks via speckle projection and SAM2 mask extraction
Abstract Natural wooden cream sticks exhibit diverse depth defects on their surfaces, presenting significant challenges for automatic detection. Current inspection technique mainly relies on manual means, which cannot provide quantitative evaluation and significantly limits production efficiency. Realizing in situ , online, and intelligent detection of surface depth defects in ice cream sticks is crucial for enhancing automation and ensuring consistent product quality. Through considering the surface and geometric features of ice cream sticks, the paper proposes a binocular three-dimensional (3D) reconstruction method for ice cream sticks, which incorporates speckle projection and Segment Anything Model v2(SAM2)-based target mask extraction. By performing automatic mask generation, candidate region selection, and refined mask extraction, the region of interest (ROI) of target is obtained from binocular speckle images. A colour-gradient weighted stereo matching algorithm combined with guided filtering generates high-quality disparity maps, and achieves a matching efficiency improvement exceeding 45 times. The 3D reconstruction experiment of a textureless step-shaped standard block verifies that the proposed method can achieve the measurement accuracy of about 0.05 mm. For various defective ice cream sticks, the reconstructed results compared with manual measurements show a maximum error not exceeding 3.4%. The proposed method provides an efficient and reliable 3D reconstruction solution for the in situ , non-destructive detection of depth defects in ice cream sticks, demonstrating practical value and promising engineering applicability.
Authors
- Xiaojuan Gao (ORCID: https://orcid.org/0000-0002-8622-3322)
- Fuzhong Bai (ORCID: https://orcid.org/0000-0002-2181-3663)
- Zhirong Li
- Yue Liu (ORCID: https://orcid.org/0000-0002-8088-252X)
- Zhaoxin Xu
Institutions
- Fujian Metrology Institute (CN)
- Jiangsu Institute of Metrology (CN)
- Inner Mongolia University of Technology (CN)
Publication Details
- Journal
- Engineering Research Express
- Published
- 2025-09-26
- DOI
- https://doi.org/10.1088/2631-8695/ae0c5a
- Primary Topic
- Industrial Vision Systems and Defect Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00