计算机工程与应用 ›› 2017, Vol. 53 ›› Issue (24): 187-190.DOI: 10.3778/j.issn.1002-8331.1606-0328

• 图形图像处理 • 上一篇    下一篇

水稻叶片三维建模与叶色渲染

汪丽萍1,3,何火娇2,3,杨红云2,3   

  1. 1.江西农业大学 信息中心,南昌 330045
    2.江西农业大学 软件学院,南昌 330045
    3.江西农业大学 江西省高等学校农业信息技术重点实验室,南昌 330045
  • 出版日期:2017-12-15 发布日期:2018-01-09

Three-dimensional shape modeling and real-time color rendering of rice leaf

WANG Liping1,3, HE Huojiao2,3, YANG Hongyun2,3   

  1. 1.Information Center, Jiangxi Agricultural University, Nanchang 330045, China
    2.College of Software Engineering, Jiangxi Agricultural University, Nanchang 330045, China
    3.Key Laboratory of Agricultural Information Technology, Jiangxi Agricultural University, Nanchang 330045, China
  • Online:2017-12-15 Published:2018-01-09

摘要: 提出一种简单的水稻叶片三维建模与可视化方法。通过输入一张二维水稻叶片图像,提取叶片的基本轮廓,创建样条曲线并计算这些样条曲线的交点,然后将这些样条曲线相互连接构建水稻叶片分支脉络,从而建立叶片三维网格模型。利用纹理映射技术,将真实水稻叶片灰度纹理图像作为模型材质贴图,得到富含材质信息的叶片模型,结合前期建立的水稻叶色R、G、B三通道与SPAD的关系模型,实现了水稻叶色的实时渲染,得到的结果真实感强。

关键词: 水稻, 叶片, 植物建模, 渲染, 可视化

Abstract: In this paper, a method to model rice leaves is proposed. The silhouette of the leaf is defined by inputting a grayscale which is converted from a scanned rice leaf image. By creating many spline curves and calculate the intersections of them, and rice leaf veins are constructed by sweeping these generating curves along these intersections, then the rice leaf three-dimensional grid model is established. After that, the rice leaf grayscale image as the texture map which provides texture information and material information for the leaf model is used with texture-mapping technology to generate the three-dimensional leaf model with material information. Combined with the relationship model between the rice leaf color channel  R、G、B and SPAD, it realizes the real-time rendering of rice leaf color, and achieves promising realistic rendering results.

Key words: rice, leaf, plant modeling, rendering, visualization