Elsevier

Information Sciences

Volume 232, 20 May 2013, Pages 1-10
Information Sciences

The alpha parallelogram predictor: A lossless compression method for motion capture data

https://doi.org/10.1016/j.ins.2013.01.007Get rights and content

Abstract

Motion capture data in an uncompressed form can be expensive to store, and slow to load and transmit. Current compression methods for motion capture data are primarily lossy and cause distortions in the motion data. In this paper, we present a lossless compression algorithm for motion capture data. First, we propose a novel Alpha Parallelogram Predictor (APP) to estimate the DOF (degree of freedom) of each child joint from those of its immediate neighbors and parents that have already been processed. The prediction parameter of the predictor, which is referred to as the alpha parameter, is adaptively chosen from a carefully designed lookup table. Second, we divide the predicted and actual values into three components: sign, exponent and mantissa. We then compress their corrections separately with context-based arithmetic coding. Compared with other lossless compression methods, our approach can achieve a higher compression ratio with a comparable compression time. It can be used in situations where lossy compression is not preferred.

Introduction

In recent years, motion capture data are widely used in many applications, in particular in movies and games. The advance in data-driven animation technologies rapidly produces huge collections of motion capture data, and it becomes necessary to design effective compression algorithms for the storage and transmission of these data. There are a number of compression methods proposed for motion capture data [1], [2], [6], [10], [23], [27]. Although most of these compression methods have shown to produce good compression performances, they are all based on lossy compression and hence modify the original data. Scientists and engineers typically do not prefer the idea of having their data modified by a process beyond their control and therefore often refrain from using these lossy compression algorithms. In addition, any lossy compression methods for motion capture data, whether they are orientation-based or position-based, introduce errors to the motion data, causing various perceptual artifacts. For example, the well-known foot-skating artifact [18] is caused by the failure in preserving clean footprints. Although we may adopt inverse kinematics to reduce or minimize this error [1], [2], [27], the residual error can still degrade the visual quality of the motion data. Furthermore, if we want to edit/modify a motion file compressed with a lossy compression method, we will need to uncompress it before editing and then compress it again afterwards. Each time we compress the motion file, the lossy compression method will introduce additional errors to the file. Hence, a motion file needed to go through a number of such editing operations at different times will result in some compound errors.

To address these problems, we propose in this paper a lossless compression method for motion capture data. To our knowledge, there has not been any work published that addresses the lossless compression of motion capture data. Our method can be summarized as follows. We first represent the motion capture data as a matrix, with all the elements split into several equal-sized clusters. For each cluster, we propose a novel Alpha Parallelogram Predictor (APP) to estimate a DOF (degree of freedom) value for each child joint from those of its immediate neighbors and parents that have already been processed. Although the APP is an extension of the parallelogram predictor for mesh compression [15], [26], it is significantly different from the parallelogram predictor due to the introduction of a prediction parameter, referred to as the alpha parameter, and the indexing storage of alpha. Through the introduction of this alpha parameter, the APP can obtain more accurate prediction results and smaller correction values than those of the parallelogram predictor. As a result, it produces a better compression ratio. To address the storage overhead of the alpha values, we have carefully designed a lookup table from which the prediction parameter is chosen. In this way, we only need to store the indices to the lookup table to save storage space. Finally, after the prediction step, both the predicted and the actual values are separated into three components: sign, exponent and mantissa. The correction of each component is compressed by means of arithmetic coding. Our experiments show that the proposed method outperforms the lossless MPEG-FBA compression method and two general compression tools, gzip and Rar, in terms of compression ratio. The proposed method is completely lossless and nicely complements the lossy compression methods for motion capture data. The contributions of our work can be summarized as follows:

  • We introduce an alpha parameter to the traditional parallelogram predictor [15], [26] to improve the prediction accuracy and hence the compression ratio.

  • To reduce the storage overhead of the alpha values, we propose to select the alpha values from a carefully designed lookup table.

  • We have adapted the lossless float-point compression algorithm [16] to post-process the correction values obtained from the APP. As the APP can work better than the traditional parallelogram predictor, different context policies can be used for the actual exponent and mantissa corrections, based on the most frequently called sequence in Algorithm 1.

The remainder of this paper is organized as follows. Section 2 provides a review of related works. Section 3 describes the splitting of the motion capture data and the proposed APP, while Section 4 describes the floating-point compression method, which deals with the actual and predicted values produced by the APP. Section 5 presents some experimental results and evaluates the proposed method. Finally, Section 6 gives the conclusion remarks and discusses possible future works.

Section snippets

Related works

In this section, we briefly summarize existing works on animation compression and on floating-point compression, which are most relevant to our work presented here.

Splitting of motion capture data

Let us denote the motion capture data as a n × l dimensional matrix M:M=(mi,j)n×lwhere n is the number of frames (represented as rows in M) and l is the number of DOFs (represented as columns in M). Fig. 1 shows a simplified skeleton structure, with some negligible joints removed. Each row of M corresponds to a pose of the virtual human at a certain time frame. Each column of M represents either a rotation in Euler angle or a displacement of the model from a fixed origin.

The motion data should be

Floating-point compression

To further save storage space, we divide the predicted value, Pb+j,c, computed from Eq. (6) into three components: sign (Sgnp), exponent (Expp) and mantissa (Mtsp). Similarly, we also divide the actual value, mb+j,c, into three components: sign (Sgna), exponent (Expa) and mantissa (Mtsa). Their corrections are compressed separately using context-based arithmetic coding.

Algorithm 1 shows the pseudo code of our floating-point compression algorithm. In Step 4, bits (Mtsa  Mtsp) computes the bit

Results and discussions

In this section, we present a number of experiments to demonstrate the performance of the proposed method. Our focus is to show the relationship between the average prediction error and the compression ratio under different parameter values.

Before we present the experiments, we first define three metrics that we use for evaluation, MCR (Motion Compression Ratio), TCR (Total Compression Ratio), and APE (Average Prediction Error), as follows:MCR=RawSizeCompMotionSizeTCR=RawSizeCompMotionSize+

Conclusion and future work

In this paper, we have proposed a novel lossless compression method for motion capture data. We have shown that by using our Alpha Parallelogram Predictor (APP) and by indexing the α values from a lookup table, we can effectively increase the compression ratio and at the same time keep the size of the additional indexing data small. Although the formulation of the predictor is simple, its predictive power is significant for motion capture data. The reason is that through predicting the DOF

Acknowledgements

We are very grateful to the anonymous reviewers for the constructive comments and suggestions on our paper. The work described in this paper was partially supported by a Key Project of National High-tech Research and Development Program of China (Grant No.: 2009AA062704), two Fundamental Research Funds for the Central Universities (DC120101073, DC120101077), the Doctoral Research Fund of DLNU (0710-110005), and two SRG Grants from City University of Hong Kong (Project Numbers: 7002768 and

References (35)

  • T. Chen et al.

    Compression-unimpaired batch-image encryption combining vector quantization and index compression

    Information Sciences

    (2010)
  • M. Isenburg et al.

    Lossless compression of floating-point geometry

    Computer-Aided Design

    (2005)
  • Z. Karni et al.

    Compression of soft-body animation sequences

    Computers and Graphics

    (2004)
  • O. Arikan

    Compression of motion capture databases

    ACM Transactions on Graphics

    (2006)
  • P. Beaudoin, P. Poulin, M. van de Panne, Adapting wavelet compression to human motion capture clips, in: Proc. Graphics...
  • H. Briceño, P. Sander, L. McMillan, S. Gortler, H. Hoppe, Geometry videos: a new representation for 3D animations, in:...
  • M. Burtscher, P. Ratanaworabhan, High throughput compression of double-precision floating-point data, in: Proc. Data...
  • M. Burtscher et al.

    FPC: a high-speed compressor for double-precision floating-point data

    IEEE Transactions on Computers

    (2009)
  • S. Chattopadhyay et al.

    Human motion capture data compression by model-based indexing: a power aware approach

    IEEE Transactions on Visualization and Computer Graphics

    (2007)
  • M. Chiang et al.

    A time-efficient pattern reduction algorithm for k-means clustering

    Information Sciences

    (2010)
  • F. Ghido, An efficient algorithm for lossless compression of IEEE float audio, in: Proc. Data Compression Conference,...
  • Q. Gu et al.

    Compression of human motion capture data using motion pattern indexing

    Computer Graphics Forum

    (2009)
  • S. Gupta et al.

    Compression of dynamic 3d geometry data using iterative closest point algorithm

    Computer Vision and Image Understanding

    (2004)
  • I. Guskov, A. Khodakovsky, Wavelet compression of parametrically coherent mesh sequences, in: Proc. ACM Symp. on...
  • L. Ibarria et al.

    Out-of-core compression and decompression of large n-dimensional scalar fields

    Computer Graphics Forum

    (2003)
  • L. Ibarria, J. Rossignac, Dynapack: space-time compression of the 3D animations of triangle meshes with fixed...
  • M. Isenburg, P. Alliez, Compressing polygon mesh geometry with parallelogram prediction, in: Proc. IEEE Visualization,...
  • Cited by (0)

    View full text