欢迎访问《中国农学通报》,

中国农学通报 ›› 2024, Vol. 40 ›› Issue (25): 140-146.doi: 10.11924/j.issn.1000-6850.casb2023-0653

• 农业信息·科技教育 • 上一篇    下一篇

基于NURBS曲面的小麦叶片三维重建

徐苗(), 马娜   

  1. 山西农业大学信息科学与工程学院,山西太谷 030801
  • 收稿日期:2023-09-14 修回日期:2024-03-21 出版日期:2024-08-27 发布日期:2024-08-27
  • 作者简介:

    徐苗,女,1992年出生,山西忻州人,讲师,硕士,研究方向为农业信息化与图像处理研究。通信地址:030801 山西省晋中市太谷区山西农业大学,E-mail:

  • 基金资助:
    山西农业大学青年科技创新项目“基于生长模型的苗期小麦植株三维可视化研究”(2018024)

Three-dimensional Reconstruction of Wheat Leaf Based on NURBS Surface

XU Miao(), MA Na   

  1. College of Information Science and Engineering, Shanxi Agricultural University, Taigu, Shanxi 030801
  • Received:2023-09-14 Revised:2024-03-21 Published:2024-08-27 Online:2024-08-27

摘要:

针对小麦叶片三维可视化不易实现的问题,通过NURBS曲面算法对小麦叶片进行三维重建。实测小麦叶片长度、叶片宽度、茎叶夹角、叶鞘长度、叶鞘直径等具体数据,通过主脉控制点算法计算叶片和叶鞘的主脉控制点信息,根据叶片宽度、叶鞘直径等信息计算出全部控制点信息,在visual studio中使用OpenGL构建小麦叶片三维模型。本研究算法得出的小麦叶片模型与真实小麦叶片有较高的相似度,较好地体现了叶片的弯曲度,真实地反映了作物叶片的形态信息。基于NURBS曲面的三维重建控制灵活、使用方便、计算简单,在作物的三维建模方面有较好的应用和参考价值。

关键词: NURBS曲面算法, 小麦叶片, 实测数据, 控制点计算, 节点矢量, 三维重建, OpenGL, 形态特征

Abstract:

Aiming at the problem of three-dimensional visualization of wheat leaves which is difficult to realize, the three-dimensional reconstruction of wheat leaves was carried out by NURBS surface algorithm. Specific data such as wheat leaf length, leaf width, stem and leaf angle, leaf sheath length, and leaf sheath diameter were measured. The main vein control point information of the leaves and leaf sheaths was calculated using the main vein control point algorithm. All the control point information was calculated based on leaf width, leaf sheath diameter, and other information. The three-dimensional model of wheat leaves was constructed using OpenGL in visual studio. The wheat leaf model obtained by the research algorithm has a high similarity with real wheat leaves, which better reflects the curvature of the leaves and truly reflects the morphological information of crop leaves. The three-dimensional reconstruction based on NURBS surface has flexible control, convenient use, and simple calculation, which has good application and reference value in the three-dimensional modeling of crops.

Key words: NURBS surface algorithm, wheat leaf, measured data, control points, node vector, three-dimensional reconstruction, OpenGL, morphological characteristics