Optimal and Interactive Keyframe Selection for Motion Capture

Optimal and Interactive Keyframe Selection for Motion Capture

Computational Visual Media https://doi.org/10.1007/s41095-019-0138-z Vol. 5, No. 2, June 2019, 171–191 Research Article Optimal and interactive keyframe selection for motion capture Richard Roberts1 ( ), J. P. Lewis2, Ken Anjyo1,3, Jaewoo Seo4, and Yeongho Seol5 c The Author(s) 2019. Abstract Motion capture is increasingly used in games 1 Introduction and movies, but often requires editing before it can be Motion capture (“mocap”) is widely used in games used, for many reasons. The motion may need to be and movies. However, the raw motion capture data is adjusted to correctly interact with virtual objects or to rarely usable for final production. It is often necessary fix problems that result from mapping the motion to a to edit the mocap, for several reasons: character of a different size or, beyond such technical • Complex interactions between characters, such as requirements, directors can request stylistic changes. hugging or wrestling, can introduce tracking and Unfortunately, editing is laborious because of the low- solving errors due to extensive occlusion and close level representation of the data. While existing motion proximity of the characters. editing methods accomplish modest changes, larger edits • can require the artist to “re-animate” the motion by Motion is frequently “retargeted” to virtual fantasy manually selecting a subset of the frames as keyframes. characters with different proportions. Such In this paper, we automatically find sets of frames to retargeted motion may require editing to look serve as keyframes for editing the motion. We formulate realistic. • the problem of selecting an optimal set of keyframes as It is often necessary to adjust the character’s a shortest-path problem, and solve it efficiently using motion to fit the virtual environment. This can dynamic programming. We create a new simplified happen if the proportions of the mocap studio do animation by interpolating the found keyframes using a not match the virtual environment: for example, naive curve fitting technique. Our algorithm can simplify the virtual terrain may be uneven while the studio motion capture to around 10% of the original number of has a flat floor. Beyond matching problems, frames while retaining most of its detail. By simplifying changes to the design of a scene or object can animation with our algorithm, we realize a new approach also occur during post-production after motion to motion editing and stylization founded on the time- is captured. For example, the heights of doors tested keyframe interface. We present results that show or controls in a spaceship might change, with our algorithm outperforms both research algorithms and consequent changes required to the motion. a leading commercial tool. • In games, it is often necessary to alter player- triggered moves, such as punches, to be more rapid, Keywords motion capture; motion editing; keyframe to provide a more responsive feel to the game. animation; dynamic programming • The director may request adjustments to the 1 Victoria University of Wellington, Wellington, New performance for a variety of reasons. Zealand. E-mail: [email protected] ( ). Unfortunately it is not practical to directly edit 2 SEED, Electronic Arts, Los Angeles, United States. mocap, for much the same reason that editing a E-mail: [email protected]. picture by changing individual pixels is ineffective. 3 OLM Digital, Tokyo, Japan. E-mail: [email protected]. Mocap is typically recorded at 30 frames per second 4 Pinscreen, Los Angeles, United States. E-mail: goongsang@ (fps) or higher (60 and 120 fps are common), and the gmail.com. 5 Weta Digital, Wellington, New Zealand. E-mail: seolyeongho@ body model may have 50 degrees of freedom or more, gmail.com. so even a short motion may be represented by tens Manuscript received: 2018-12-13; accepted: 2019-02-15 of thousands of numbers. 171 172 R. Roberts, J. P. Lewis, K. Anjyo, et al. A standard approach provided by motion editing and animation software is to allow the motion editor to blend changes to a given pose smoothly across surrounding frames using a spline falloff x.This approach is suitable for relatively small and smooth edits, but it raises the question of where to place the control vertices (CVs) or keyframes on such a spline. Simply placing keys at regular intervals is adequate for mild edits, but does not provide precise control, since the range of influence of each CV is not related to the motion. For example, adjusting the motion before a footstep, but not afterwards, generally requires having a CV located at the time of the step. In practice, when extensive editing is required, motion editors sometimes resort to manually deleting ranges of frames to create an editable representation with a small number of frames that can serve as Fig. 1 Frames from an animation, before (character on right in grey) keyframes [1, 2]. and after (character on left in yellow) editing using our technique. 1.1 Terminology In this paper we will use the word keyframe (KF) to identified, we build a new animation in which the denote a frame where a key exists for every degree selected keyframes serve as a minimal set of poses of freedom (i.e., on every motion curve), whereas that can be interpolated to closely approximate keypoint will denote a key on a single curve at a the original motion of the character or object. By frame in which other curves may not have keys. recreating the motion in this way we can overcome the problem that motion capture is difficult to edit 1.2 Approach due to the low-level representation of its data. While a number of pioneering techniques, such as In abstract terms, a sparse set of keyframes space–time optimization and sketching interfaces provide an economical set of parameters that provide provide powerful and novel interfaces for motion complete control over an animation. From this editing, they are yet to be widely adopted in perspective, our approach converts mocap into a commercial motion editing practice. simplified keyframe-based animation that can be Keyframe animation is both widely supported and edited using the extensive and fluid support for a central part of training for both motion editors keyframe-based editing that commercial software and animators. Based on the observation that provides. A number of approaches for keyframe animation practice generally recommends working selection have already been explored as an extension with keyframes first and keypoints later, we suggest to keypoint selection methods; these are summarized that introducing a motion editing technique based in Section 2. Conceptually, keypoint selection is primarily on the manipulation of keyframes will help the process of identifying a sparse set of points that y with adoption . summarize a curve effectively. Extending to the case In this paper we introduce an interactive and of animation, keyframe selection is the process of optimal way to identify keyframes from a motion that identifying a sparse set of frames that summarize the are important for editing. With a set of keyframes motion effectively. x Tools for falloff editing are provided by most feature-complete digital One aspect that demands careful consideration is content creation tools such as Autodesk’s Maya and Blender Foundation’s the criterion that determines the importance of each Blender. y Animation practice generally recommends working in terms of poses frame. Some keypoint approaches assume that points (keyframes) when making initial large-scale edits, followed by editing individual curves in a subsequent refinement stage. This is termed pose-to- of high curvature or curvature extrema provide good pose animation [3, 4]. keypoints for approximation. While these approaches Optimal and interactive keyframe selection for motion capture 173 are simple to implement and inexpensive to evaluate, an optimal set of keyframes can be found in a it is easy to find counterexamples where these simple reasonable time (e.g., less than a second for clips heuristics lead to a set of keypoints that provide of typical length) when executed on a personal a poor summary (see Fig. 2). In contrast, other computer. approaches take the approach of fitting a geometric Our algorithm targets professional motion editors. approximation and choosing points that correspond to While these are a fractionx of the potential novice the approximation’s vertices; the well-known Ramer– users of any computer graphics technique, they have Douglas–Peucker algorithm [5] and its variations both disproportionate need and impact: motion often perform well in contrast to the extrema-based editors perform editing many hours per day year approaches. While still fast, a primary limitation of round whereas a casual user might only occasionally greedy approximation approaches is that they tend launch a graphics tool. Furthermore, much of the to produce suboptimal solutions. Recent research world’s population has experienced movies or games has explored how genetic algorithms and particle that include motion-edited characters. An important swarm optimization can be used to choose keyframes aspect of our algorithm, with regards to professional that minimize a combination of compression and motion editing, is that in a single execution it provides approximation error. However, the problem of the optimal solution for all numbers of keyframes less choosing keyframes to minimize such a function than or equal to a number requested by the artist. leads to a non-convex problem space. Converging After execution all solutions are encoded in a lookup to the optimal solution in this space requires heavier table and, therefore, the entire range of solutions computation and is not practical for interactive use can be browsed interactively by specifying differing (see Sections 2.1 and 4.4). numbers of keyframes. Browsing the solutions in As our primary contribution, we provide the this way is important to help artists find the first interactive and optimal approach for keyframe particular solution that is best suited to their editing selection.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    21 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