中国稻米 ›› 2022, Vol. 28 ›› Issue (2): 77-81.DOI: 10.3969/j.issn.1006-8082.2022.02.016

• 专论与研究 • 上一篇    下一篇

基于B样条曲线的水稻叶片可视化建模

唐子宗1(), 吴盼盼1, 杨乐1,2,*(), 王映龙1,2, 张欢欢1, 施俊林1   

  1. 1江西农业大学 计算机与信息工程学院 南昌 330045
    2江西省高等学校农业信息技术重点实验室 南昌 330045
  • 收稿日期:2021-10-23 出版日期:2022-03-20 发布日期:2022-03-17
  • 通讯作者: 杨乐
  • 作者简介:809894495@qq.com
  • 基金资助:
    国家自然科学基金(61862032);江西省自然科学基金(20202BABL202034)

Visual Modeling of Rice Leaf Based on B-Spline Curve

TANG Zizong1(), WU Panpan1, YANG Le1,2,*(), WANG Yinglong1,2, ZHANG Huanhuan1, SHI Junlin1   

  1. 1College of Computer Information and Engineering, Jiangxi Agricultural University, Nanchang 330045, China
    2Key Laboratory of Information Technology in Agriculture, College and Universities of Jiangxi Province, Nanchang 330045, China
  • Received:2021-10-23 Online:2022-03-20 Published:2022-03-17
  • Contact: YANG Le

摘要:

可视化建模是利用计算机图形学和图像处理技术,将数据转换成图形或图像在屏幕上显示出来,并进行交互处理的理论、方法和技术。水稻的生长发育是一个极其复杂的系统过程。水稻叶片是其进行光合作用及生产营养物质的主要器官,借助计算机技术建立叶片可视化模型,可为水稻科学栽培和提高产量提供辅助决策。基于VC++结合OpenGL的方法,根据真实水稻叶片的三维形态特征,运用数学知识,对水稻叶片建立数学模型。选择B样条曲线对此进行模拟,并运用B样条曲线的递推定义及其公式实现对水稻叶片边缘曲线和主叶脉曲线的建模,进一步实现水稻叶片在二维平面上的三角网格化模型。基于主叶脉积分的数学方法,对主叶脉顶点在不同位置上的弯曲效果进行实现。最后实现运用均匀B样条曲线建立水稻弯曲模型,并对其三角网格化。运用B样条曲线描述水稻叶片边缘叶脉和主叶脉信息的方法,能够较好反映叶片特征,使水稻叶片三维可视化建模仅与叶脉的边缘曲线、主叶脉、最大叶宽、最大叶长等信息相关。

关键词: 水稻, 叶片, 可视化建模, B样条曲线, 主叶脉, 数学建模

Abstract:

Visual modeling is the theory, method and technology of using computer graphics and image processing technology to convert data into graphics or images, display them on the screen, and process them interactively. The growth and development of rice is a very complex systematic process. Rice leaves are the main organs for photosynthesis, nutrient production and transportation. With the help of computer technology, a visual model of rice leaves is established, which can provide auxiliary decision-making for scientific cultivation and yield improvement of rice. Based on VC++ and OpenGL, according to the three-dimensional morphological characteristics of real rice leaves, the mathematical model of rice leaves was established by using mathematical knowledge. B-spline curve is selected to simulate this, and the recursive definition and formula of B-spline curve are used to realize the modeling of rice leaf edge curve and main vein curve, so as to further realize the triangular mesh model of rice leaf in two-dimensional plane. Based on the mathematical method of main vein integral, the different bending effects of main vein vertex in different positions are realized. Finally, the uniform B-spline curve was used to establish the rice bending model and triangulate it. the method of using B-spline curve to describe the information of edge vein and main vein of rice leaves can better reflect the characteristics of leaves, so that the three-dimensional visual modeling of rice leaves is only related to the edge curve of vein, main vein, maximum leaf width, maximum leaf length and other information.

Key words: rice, leaf, visual modeling, B-spline curve, main leaf vein, mathematical modeling

中图分类号: