Enhancing Spatial Keyframe Animations with Motion Capture

Enhancing Spatial Keyframe Animations with Motion Capture

Enhancing Spatial Keyframe Animations with Motion Capture Bernardo F. Costa and Claudio Esperanc¸a LCG/PESC, UFRJ, Av. Horacio´ Macedo 2030, CT, H-319 21941-590, Rio de Janeiro/RJ, Brazil Keywords: Motion Capture, Keyframing, Spatial Keyframe, Dimension Reduction, Multidimensional Projection. Abstract: While motion capture (mocap) achieves realistic character animation at great cost, keyframing is capable of producing less realistic but more controllable animations. In this paper we show how to combine the Spatial Keyframing Framework (SKF) of Igarashi et al.(Igarashi et al., 2005) and multidimensional projection tech- niques to reuse mocap data in several ways. For instance, by extracting meaningful poses and projecting them on a plane, it is possible to sketch new animations using the SKF. Additionally, we show that multidimen- sional projection also can be used for visualization and motion analysis. We also propose a method for mocap compaction with the help of SK’s pose reconstruction (backprojection) algorithm. This compaction scheme was implemented for several known projection schemes and empirically tested alongside traditional temporal decimation schemes. Finally, we present a novel multidimensional projection optimization technique that sig- nificantly enhances SK-based compaction and can also be applied to other contexts where a back-projection algorithm is available. 1 INTRODUCTION spatial keyframing (SK) was proposed by Igarashi et al. (Igarashi et al., 2005). The main idea is to asso- ciate keyframes (poses) to carefully placed points on Character animation focuses on bringing life to a par- a plane rather than to points in time. Although simple ticular character model. There are several ways of in thesis, spatial keyframing still requires keyframe animating a character in a scene. One popular way is poses to be authored manually, which is a time- rigging a skeleton to a character model (a skin) such consuming task when many such poses are required that when the skeleton pose is changed, so does the or when the skeleton contains many joints. One way model. This binds the character movements to the de- to help the process, therefore, is to harvest interest- grees of freedom (DOF) of this skeleton. ing poses from raw mocap files. The present work In standard keyframe-based animation, some key investigates algorithms and techniques to accomplish poses are created by artists and interpolated at each just that. Moreover, we propose using multidimen- frame, sometimes using manually adjusted Bezier´ sional projection techniques to automatically suggest curves. However, for complicated or extended anima- an optimal placement for the spatial keyframes on the tions, this process turns out to be difficult and time- plane. consuming. As an alternative, the approach known as motion capture or mocap was developed. In it, a hu- Another benefit of finding a good method to man actor wearing a special suit performs movements project points in pose space to a plane is that it also which are recorded by a set of cameras and sensors. serves as a tool for the analysis of mocap files. The After some processing, it is possible to build a com- idea is that the movement contained in a mocap can be plete description of the actor’s movement in the form visualized as a trajectory in 2D space. Since a good of a set of skeleton poses and positions sampled with projection method ensures that similar poses are pro- high precision, both in time and space. A typical mo- jected onto points close to each other, the plane itself cap file has a description of the skeleton’s shape and can be viewed as a pose similarity space. Thus, for articulations, together with a set of poses, each con- instance, a cyclic movement is commonly projected taining a timestamp, the rotation of each joint and a onto a closed curve. translation vector of the root joint with respect to a Finally, multidimensional projection of mocap standard rest pose. data can be used as a tool for motion compression. Another animation authoring framework called Since mocap files ordinarily contain in excess of 31 Costa, B. and Esperança, C. Enhancing Spatial Keyframe Animations with Motion Capture. DOI: 10.5220/0007296800310040 In Proceedings of the 14th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications (VISIGRAPP 2019), pages 31-40 ISBN: 978-989-758-354-4 Copyright c 2019 by SCITEPRESS – Science and Technology Publications, Lda. All rights reserved GRAPP 2019 - 14th International Conference on Computer Graphics Theory and Applications 60 frames per second, a common lossy compres- layered curve simplification (LCS). Both of these start sion scheme consists of selecting important frames with a minimal subset of the original mocap data and and reconstructing the complete motion by interpo- try to repeatedly select relevant keyframes by measur- lation. Although this interpolation is frequently con- ing the similarity between a local interpolation and ducted using time as parameter, we show how spatial the original frame. On the other hand, Togawa and keyframing can be adapted for this purpose. Okuda (Togawa and Okuda, 2005) start with the full In a nutshell, this paper presents the following set and iteratively discard frames which least con- contributions: tribute to the interpolation, naming their contribution 1. Repurposes multidimensional visualization tech- as position-based (PB) strategy. niques to the problem of selecting key poses from Other possible approaches include clustering mocap data and project them on a plane so that methods and matrix factorization. Clustering meth- they can be used in the Spatial Keyframe anima- ods divide frames into clusters and search for a rep- tion Framework (SKF). resentative frame in each group. The works of Bu- lut and Capin (Bulut and Capin, 2007) and Halit and 2. Shows how multidimensional projection can be Capin (Halit and Capin, 2011) fall in this category. used as a visual aid in the analysis of mocap data. Both also consider dynamic information in the clus- 3. Empirically evaluates several multidimensional tering metrics. Matrix factorization uses linear alge- projection schemes in their application to mocap bra methods to reconstruct mocap data represented in data. matrix format. Examples of such algorithms are the work of Huang et al. (Huang et al., 2005), called key 4. Describes the use of SKF in compressing mocap probe, and that of Jin et al. (Jin et al., 2012). data through decimation and reconstruction and, in particular, introduces a non-linear projection optimization algorithm that yields smaller recon- 2.2 Multidimensional Projection struction errors. This algorithm is not specific to mocap data, but can also be used with other data, The key motivation behind the use of dimensional- provided a backprojection algorithm and an error ity reduction approaches in this paper is that much metric are available. of the redundancy found in mocap data can be at- tributed to DOFs that are hierarchically or function- ally related. Note that in the context of this work, the 2 RELATED WORK terms “dimension reduction” and “multidimensional projection” are used interchangeably. Arikan (Arikan, 2006) proposes to use principal component analysis In this section, we review the literature from areas re- (PCA) on mocap data, together with clustering, to get lated to the present work. a good rate of compaction. Halit and Capin (Halit and Capin, 2011), Safonova et al. (Safonova et al., 2004) 2.1 Pose Selection and Information and Jin et al.(Jin et al., 2012) also use PCA as a way Extraction to lower the data dimensionality and save computing time. Decimating irrelevant poses from mocap data is a Zhang and Cao (Zhang and Cao, 2015) and Jin common way to produce a compact representation of et al. (Jin et al., 2012) use locally linear embedding a movement. The reconstruction of the original data (LLE) (Roweis and Saul, 2000), a dimension reduc- is done by interpolating the small subset of poses that tion tool, to ease their search for keyframes in the survive this decimation process. Since these play the frame set. LLE tries to find a projection where rel- same role of keyframes used in keyframe-based ani- ative distances between each point and their nearest mation, the process is also called keyframe extraction. neighbors in lower dimension space is preserved in A popular idea for extracting keyframes is curve the least squares sense. The number of nearest neigh- simplification. Lim and Thalmann (Lim and Thal- bors is a parameter of the algorithm. mann, 2001) view mocap data as a curve parameter- Assa et al.(Assa et al., 2005) also project the mo- ized by time and propose using a technique (Lowe, tion curve onto a 2D space to find keyframe candi- 1987) for approximating such curves with a polygo- dates. They use a variant of multidimensional scaling nal line. Later, this algorithm became known as sim- (MDS) (Cox and Cox, 2008) to project the motion ple curve simplification (SCS). This idea was later en- curve. MDS tries to find a projection such that rela- hanced by Xiao et al. (Xiao et al., 2006) by employ- tive distances in lower dimension space are as close as ing an optimized selection strategy, which they named possible to the corresponding distances in the original 32 Enhancing Spatial Keyframe Animations with Motion Capture space in the least squares sense. The distance defini- et al. (Amorim et al., 2015) use RBF interpolation to tion is a parameter to be chosen. If the euclidean dis- transport information from the reduced dimension to tance is chosen, MDS turns to produce the same result the original space. Their work aims at exploring fa- as PCA. Jenkins and Mataric´ (Jenkins and Mataric,´ cial expression generation interpolated from a set of 2004) use another MDS sibling method called Isomap control points selected with specialized heuristics.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    10 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us