A Method for Locating Growth Points of Cucurbitaceae Plug Seedlings Based on Structured Light Vision
Abstract
1. Introduction
2. Materials and Methods
2.1. Image Acquisition System
2.2. System Calibration
2.2.1. Camera Calibration
2.2.2. Light Plane Calibration Based on Multi-Depth Planes
3. 3D Point Cloud Reconstruction Using Grid-Structured Light
3.1. Laser Line Extraction from Reference Images
3.2. Laser Line Extraction from Cotyledon Regions
- (1)
- (2)
- Laser line extraction and false line removal: For the image with laser projection, the same pipeline as described in Section 2.1 was applied to extract the laser skeleton. The cotyledon mask was then morphologically eroded (using a 5 × 5 structuring element, twice, based on tests of 3 × 3, 5 × 5, and 7 × 7 kernels with 1 to 3 iterations on sample images; the 5 × 5 kernel with 2 iterations provided the best balance between removing boundary artifacts and preserving valid laser lines).
3.3. Laser Line Coding Method Based on 3D Constraints of Light Planes
- (1)
- Initialization: Locate the centroid coordinates of the central bright spot (laser center). Because the overexposed central region causes breaks in the horizontal and vertical lines of index 0, these lines cannot be directly extracted as complete segments via connected component analysis. Therefore, from the preprocessed horizontal and vertical lines, those that pass through the neighborhood of the central spot (a circular region of radius R centered at the spot) are selected. Within this neighborhood, the distance between each candidate line and the central spot is computed, and the horizontal and vertical lines with the smallest distances are chosen as the index-0 lines. The radius R was experimentally set to 25 pixels, based on tests of R = 20, 25, and 30 pixels on sample images; R = 25 pixels gave the most stable zero-line identification.
- (2)
- Iterative coding: Using an already coded line (e.g., a horizontal line) as a reference, find an intersecting vertical line that has not yet been coded.
- (3)
- Intersection localization and 3D computation: Locate the pixel of the intersection between the two lines and compute its 3D coordinates using the light plane of the known horizontal line.
- (4)
- Light plane matching: Traverse all calibrated vertical light planes. For each candidate vertical light plane, compute the 3D coordinates of the same intersection pixel and calculate the Euclidean distance between this computed point and the previously obtained 3D point. The vertical light plane that yields the smallest distance (below a threshold τ mm, determined experimentally by testing values of 1, 2, 3, and 4 mm on sample images; τ = 2 mm gave the highest correct matching rate and was adopted) is selected as the correct match, and the vertical line is successfully coded.
- (5)
- Extension: Add the newly coded line as a new reference and repeat steps (2)–(4) until all valid laser lines have been coded.
3.4. Cotyledon Point Cloud Reconstruction via Triangulation
3.5. Point Cloud Preprocessing
- (1)
- Voxel down-sampling with a leaf size of 1.15 mm, to reduce point cloud density and accelerate subsequent processing.
- (2)
- Statistical outlier removal based on 50 nearest neighbors and a standard deviation threshold of 1.0, to eliminate isolated noise points. These noise points mainly originate from weak reflections caused by the leaf veins under laser illumination.
- (3)
- MLS up-sampling, which combines MLS smoothing and up-sampling into a single step (MLS search radius = 4.2 mm, up-sampling radius = 2.0 mm, step size = 1.5 mm). This step converts the sparse grid-like point cloud into a denser and more continuous surface representation of the cotyledon, which is critical for subsequent growth point localization.
4. Growth Point and Growth Direction Recognition Based on Cotyledon Point Cloud
5. Experiments and Results
5.1. Light Plane Calibration Accuracy
5.2. Growth Point Detection for Single Non-Overlapping Seedlings
5.3. Comparative Experiment for Overlapping Seedlings
6. Conclusions
- (1)
- A grid-structured light image acquisition system was constructed, and a multi-depth-plane-based light plane calibration method was proposed. Experimental results show that the average inter-plane calibration error is 0.059 mm, which meets the accuracy requirements for 3D reconstruction.
- (2)
- To handle the fracture and distortion of grid laser lines on cotyledon surfaces, a laser line coding method based on three-dimensional constraints of the light planes was developed. By matching the 3D consistency of intersection points, this method achieves robust coding of incomplete grid lines.
- (3)
- Based on the fan-shaped structure of the cotyledon point cloud, a triangle-approximation method for growth point localization was proposed. Experiments on 50 non-overlapping single seedlings yielded an average localization error of 1.68 mm and a success rate of 100%.
- (4)
- Comparative experiments on 150 overlapping seedlings show that the proposed method achieves a success rate of 89%, outperforming the traditional ellipse fitting method (68%), thereby demonstrating its robustness under occluded conditions.
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Yan, Y.F.; Wang, H.; Li, X.; Guo, C.; Liu, A. Development status and prospect of plug seedling sowing machinery. South. Agric. Mach. 2025, 56, 63–66. [Google Scholar]
- Fu, Y.S.; Song, J.; Xie, F.X.; Gao, P. Research status and development trend of vegetable grafting machine. Agric. Dev. Equip. 2021, 25–29. [Google Scholar]
- Yu, J.L.; Xu, B.Y.; Zhao, Y.L.; Tan, S.Y.; Tong, J.H.; Zhang, C.H. Application of machine vision technology in grafting. Mod. Agric. Mach. 2025, 15–17. [Google Scholar]
- Xu, L.Q.; Cui, Y.J.; Tian, Y.F. Recognition method of grafted seedling characteristics based on machine vision. Agric. Eng. 2018, 8, 20–24. [Google Scholar]
- Zha, Y.; Chen, W.; Lai, Y.B.; Chen, J.Y. Detection of growth point on cucurbitaceous rootstock seedlings based on ordered contour chain. Trop. Agric. Eng. 2022, 46, 28–36. [Google Scholar]
- Zhou, L.; Gong, Z.J.; Fei, H.Q.; Chen, J.Y. Parameter extraction of cucurbit rootstock seedlings based on machine vision. Trop. Agric. Eng. 2021, 45, 1–6. [Google Scholar] [CrossRef]
- Xia, C.; Wang, L.; Chung, B.K.; Lee, J.-M. In situ 3D segmentation of individual plant leaves using an RGB-D camera for agricultural automation. Sensors 2015, 15, 20463–20479. [Google Scholar] [CrossRef] [PubMed]
- Yu, S.Q.; Hu, D.; Liu, W. Vision-based optical 3D reconstruction technology and its application in crop information perception. Laser Optoelectron. Prog. 2024, 61, 49–57. [Google Scholar]
- Peng, X.S.; Yang, Y.; Zhang, Y.L.; Guo, R.; Geng, N. Handheld structured light scanning system design and maize leaf area extraction. Trans. Chin. Soc. Agric. Mach. 2025, 56, 111–118. [Google Scholar]
- Wu, Y.; Huang, Z.; Zhou, J.; Yang, Y.H. 3D reconstruction and parameter extraction of plug tray based on line laser. Intell. Comput. Appl. 2024, 14, 115–125. [Google Scholar]
- Zhang, S. High-speed 3D shape measurement with structured light methods: A review. Opt. Lasers Eng. 2018, 106, 119–131. [Google Scholar] [CrossRef]
- Salvi, J.; Fernandez, S.; Pribanic, T.; Llado, X. A state of the art in structured light patterns for surface profilometry. Pattern Recognit. 2010, 43, 2666–2680. [Google Scholar] [CrossRef]
- Liu, B.; Yang, F.; Huang, Y.; Zhang, Y.; Wu, G. Single-shot three-dimensional reconstruction using grid pattern-based structured-light vision method. Appl. Sci. 2022, 12, 10602. [Google Scholar] [CrossRef]
- Yang, F.; Liu, B.; Chu, L.; Chi, Y.; Han, F.F.; Liu, N.; Zhang, B.F. Binocular measurement method using grid structured light. Chin. J. Lasers 2021, 48, 64–76. [Google Scholar]
- Yang, F.; Liu, B.; Wu, G.H. Three-dimensional shape measurement based on non-coded grid structured light. Acta Opt. Sin. 2022, 42, 1412002. [Google Scholar]
- Bradski, G. The OpenCV Library. Dr. Dobb’s J. Softw. Tools 2000, 25, 120–125. [Google Scholar]
- Rusu, R.B.; Cousins, S. 3D is here: Point Cloud Library (PCL). In Proceedings of the 2011 IEEE International Conference on Robotics and Automation (ICRA), Shanghai, China, 9–13 May 2011; pp. 1–4. [Google Scholar]
- Zhang, Z. A flexible new technique for camera calibration. IEEE Trans. Pattern Anal. Mach. Intell. 2000, 22, 1330–1334. [Google Scholar] [CrossRef]
- Zhang, T.Y.; Suen, C.Y. A fast parallel algorithm for thinning digital patterns. Commun. ACM 1984, 27, 236–239. [Google Scholar] [CrossRef]
- Xu, H.H.; Chen, X.Y.; Ma, W.P.; Huang, Y.B. Pine wilt disease identification based on UAV image color index. J. Xinyu Univ. 2021, 26, 11–16. [Google Scholar]
- Woebbecke, D.M.; Meyer, G.E.; Bargen, K.V.; Mortensen, D.A. Color indices for weed identification under various soil, residue, and lighting conditions. Trans. ASAE 1995, 38, 259–269. [Google Scholar] [CrossRef]
- Otsu, N. A threshold selection method from gray-level histograms. IEEE Trans. Syst. Man Cybern. 1979, 9, 62–66. [Google Scholar] [CrossRef]











| Parameter | Value | Parameter | Value |
|---|---|---|---|
| 731.3271 | 731.0710 | ||
| 475.5218 | 291.3238 | ||
| 0.0824 | −0.0671 | ||
| 0.0009 | −0.0002 |
| Test Plane No. | Theoretical Position of Lift (mm) | Mean Z of Point Cloud (mm) | Standard Deviation of Z (mm) | Inter-Plane Error (mm) |
|---|---|---|---|---|
| 1 | 5.00 | 117.291 | 0.401 | - |
| 2 | 4.50 | 116.745 | 0.414 | 0.046 |
| 3 | 4.00 | 116.150 | 0.417 | 0.095 |
| 4 | 3.50 | 115.578 | 0.408 | 0.072 |
| 5 | 3.00 | 115.101 | 0.405 | 0.023 |
| Configuration | Mean Localization Error (mm) | Mean Point Cloud Processing Time (ms) |
|---|---|---|
| Full three-step pipeline | 1.68 | 152 |
| w/o voxel down-sampling | 1.71 | 849 |
| w/o statistical outlier removal | 1.92 | 151 |
| w/o MLS up-sampling | 5.32 | 10 |
| Stage | Time (ms) |
|---|---|
| Laser line extraction | 131 |
| Laser line coding | 50 |
| Point cloud generation | 23 |
| Point cloud preprocessing | 152 |
| Growth point detection | 12 |
| Total | 368 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zheng, Y.; Chen, W.; Xu, Z.; Yu, Q. A Method for Locating Growth Points of Cucurbitaceae Plug Seedlings Based on Structured Light Vision. J. Imaging 2026, 12, 342. https://doi.org/10.3390/jimaging12080342
Zheng Y, Chen W, Xu Z, Yu Q. A Method for Locating Growth Points of Cucurbitaceae Plug Seedlings Based on Structured Light Vision. Journal of Imaging. 2026; 12(8):342. https://doi.org/10.3390/jimaging12080342
Chicago/Turabian StyleZheng, Yang, Wu Chen, Zihao Xu, and Qingcang Yu. 2026. "A Method for Locating Growth Points of Cucurbitaceae Plug Seedlings Based on Structured Light Vision" Journal of Imaging 12, no. 8: 342. https://doi.org/10.3390/jimaging12080342
APA StyleZheng, Y., Chen, W., Xu, Z., & Yu, Q. (2026). A Method for Locating Growth Points of Cucurbitaceae Plug Seedlings Based on Structured Light Vision. Journal of Imaging, 12(8), 342. https://doi.org/10.3390/jimaging12080342
