Current Issue Cover
基于层次约束的2维动画关键帧插值算法

高岩1, 陈敏刚2,3, 王长波1, 陈志华4, 马利庄2(1.华东师范大学软件学院,上海 200063;2.上海交通大学计算机系,上海 221000;3.上海市科技信息中心上海市多媒体公共服务平台,上海 200235;4.华东理工大学计算机科学与工程系,上海 200237)

摘 要
2D动画制作是一个劳动密集型的过程,如何自动进行关键帧插值是研究的难点。关键帧插值的核心环节是2D形体渐变,现有2D形体渐变算法大多针对闭合的单一多边形,在应用到包含多个区域的复杂形体时,可能出现区域之间的重叠。本文算法获取输入关键帧的封闭区域,并迭代计算区域间的匹配关系;对每个子区域建立相对于父区域的局部坐标系,施加层次间的约束关系进行插值,以消除父子区域插值过程中“运动”的不匹配现象。实验结果表明,该算法合成结果自然光滑,具有一定的实用价值。
关键词
Two-dimensional animation keyframes interpolation based on hierarchical constraints

()

Abstract
Two-dimensional animation is a labor-intensive process, where automatic keyframe in terpolation (inbetweening) is a research focus.Two-dimensional shape-blending plays a key role in keyframe inbetweening. Most of the existing 2D shape-blending algorithms are designed for a single closed polygon. When they are applied to complex shapes containing multiple regions, overlaps between different regions may occur. Our algorithm first obtains closed regions of input keyframes and calculates the matching relations between these regions. Then we iteratively construct a local coordinate system relative to its parent region for each child region. Then the hierarchical constraint relation can be used to get rid of “motion” mismatches between parent-child areas. Experimental results show that our algorithm can synthesize naturally smooth inbetweens and is efficient enough for practical demands.
Keywords

订阅号|日报