• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (08): 1544-1548.

• 论文 • 上一篇    下一篇

基于Kinect深度相机的实时三维人体动画

陈姝1,梁文章2,伍靓1   

  1. (1.湘潭大学信息工程学院,湖南 湘潭 411105;2.广西卡斯特动漫有限公司,广西 南宁 530003)
  • 收稿日期:2012-11-26 修回日期:2013-03-12 出版日期:2014-08-25 发布日期:2014-08-25
  • 基金资助:

    国家自然科学基金资助项目(61100139,61040009);科技部科技型中小企业技术创新基金资助项目(国科发计[2011]242号);广西千亿元产业重点攻关工程资助项目(桂科攻1110700613号)

Real-time 3D human motion animation based on Kinect          

CHEN Shu1,LIANG Wenzhang2,WU Liang1   

  1. (1.College of Information Engineering,Xiangtan University,Xiangtan 411105; 2.Guangxi Cast Animation Co.,Ltd.,Nanning 530003,China)
  • Received:2012-11-26 Revised:2013-03-12 Online:2014-08-25 Published:2014-08-25

摘要:

研究了一种基于HAnim标准的实时人体三维动画方法,首先对HAnim中人体肢体层次结构进行研究和分析,给出了进行人体动画的坐标变换方法;其次,基于OpenNI对Kinect获取的数据进行重新处理,采用逆运动学计算非根关节旋转矩阵;最后给出了系统流程及具体实验方法,采用OpenGL由实时获取的关节旋转矩阵驱动虚拟人实现了人体动画。实验结果表明,该算法可以较精确地提取人体三维姿态,实时重构人体运动。

关键词: 人体动画, Kinect, 逆运动学, H-Anim

Abstract:

An approach to animating 3D human motion based on HAnim standard is proposed. Firstly, the human body hierarchical structure in HAnim is studied and analyzed, and a coordinate transform strategy is given based on the analysis. Secondly, based on OpenNI, the data received from the Kinect is reprocessed, and the rotational matrix of nonroot joint is obtained by inverse kinematics. Finally, the entire data flow and the concrete implementation are described, and the human body animation is achieved by using OpenGL to retarget the realtime human pose to the virtual human model. The experimental results show that the proposed approach can accurately extract the human pose, and reconstructs realtime human body movement.

Key words: human motion animation;Kinect;inverse kinematics;H-Anim