Alexandros Eleftheriadis and Dimitris Anastassiou. and Center for Telecommunications Research.

Similar documents
April and Center for Telecommunications Research.

Optimal Data Partitioning of MPEG-2 Coded Video

Motion Estimation. Original. enhancement layers. Motion Compensation. Baselayer. Scan-Specific Entropy Coding. Prediction Error.

TECHNICAL RESEARCH REPORT

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

Advanced Video Coding: The new H.264 video compression standard

Rate Distortion Optimization in Video Compression

Scalable video coding with robust mode selection

Optimal Estimation for Error Concealment in Scalable Video Coding

R-D points Predicted R-D. R-D points Predicted R-D. Distortion (MSE) Distortion (MSE)

ADAPTIVE PICTURE SLICING FOR DISTORTION-BASED CLASSIFICATION OF VIDEO PACKETS

Video Coding in H.26L

In the name of Allah. the compassionate, the merciful

An Embedded Wavelet Video Coder. Using Three-Dimensional Set. Partitioning in Hierarchical Trees. Beong-Jo Kim and William A.

JPEG 2000 vs. JPEG in MPEG Encoding

A Hybrid Temporal-SNR Fine-Granular Scalability for Internet Video

An Improved H.26L Coder Using Lagrangian Coder Control. Summary

Welcome Back to Fundamentals of Multimedia (MR412) Fall, 2012 Chapter 10 ZHU Yongxin, Winson

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

An Efficient Mode Selection Algorithm for H.264

Week 14. Video Compression. Ref: Fundamentals of Multimedia

Center for Information Processing Research

INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO-IEC JTC1/SC29/WG11

MPEG-4: Simple Profile (SP)

10.2 Video Compression with Motion Compensation 10.4 H H.263

An Operational Rate-Distortion Optimal Single-Pass SNR Scalable Video Coder

MPEG-2. And Scalability Support. Nimrod Peleg Update: July.2004

VIDEO COMPRESSION STANDARDS

Figure 1: Representation of moving images using layers Once a set of ane models has been found, similar models are grouped based in a mean-square dist

Video Transcoding Architectures and Techniques: An Overview. IEEE Signal Processing Magazine March 2003 Present by Chen-hsiu Huang

An Automated Video Data Compression Algorithm by Cardinal Spline Fitting

Video compression with 1-D directional transforms in H.264/AVC

Quality versus Intelligibility: Evaluating the Coding Trade-offs for American Sign Language Video

Lecture 13 Video Coding H.264 / MPEG4 AVC

ERROR-ROBUST INTER/INTRA MACROBLOCK MODE SELECTION USING ISOLATED REGIONS

Complexity Reduced Mode Selection of H.264/AVC Intra Coding

An Embedded Wavelet Video. Set Partitioning in Hierarchical. Beong-Jo Kim and William A. Pearlman

Video Compression An Introduction

Multi-View Image Coding in 3-D Space Based on 3-D Reconstruction

Multiple Description Coding for Video Using Motion Compensated Prediction *

ADAPTIVE JOINT H.263-CHANNEL CODING FOR MEMORYLESS BINARY CHANNELS

Mesh Based Interpolative Coding (MBIC)

Scalable Multiresolution Video Coding using Subband Decomposition

The Scope of Picture and Video Coding Standardization

MOBILE VIDEO COMMUNICATIONS IN WIRELESS ENVIRONMENTS. Jozsef Vass Shelley Zhuang Jia Yao Xinhua Zhuang. University of Missouri-Columbia

Module 7 VIDEO CODING AND MOTION ESTIMATION

STACK ROBUST FINE GRANULARITY SCALABLE VIDEO CODING

Extensions to RTP to support Mobile Networking: Brown, Singh 2 within the cell. In our proposed architecture [3], we add a third level to this hierarc

Distortion. Distortion Points on the convex hull Points not on the convex hull. Rate. Rate. R * = R budget. R budget.

CODING METHOD FOR EMBEDDING AUDIO IN VIDEO STREAM. Harri Sorokin, Jari Koivusaari, Moncef Gabbouj, and Jarmo Takala

Very Low Bit Rate Color Video

QUANTIZER DESIGN FOR EXPLOITING COMMON INFORMATION IN LAYERED CODING. Mehdi Salehifar, Tejaswi Nanjundaswamy, and Kenneth Rose

MPEG-2. ISO/IEC (or ITU-T H.262)

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 6, NO. 11, NOVEMBER

Context based optimal shape coding

Using animation to motivate motion

MPEG-2 standard and beyond

Efficient support for interactive operations in multi-resolution video servers

Investigation of the GoP Structure for H.26L Video Streams

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

Multimedia Standards

Data Hiding in Video

SINGLE PASS DEPENDENT BIT ALLOCATION FOR SPATIAL SCALABILITY CODING OF H.264/SVC

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

Chapter 10. Basic Video Compression Techniques Introduction to Video Compression 10.2 Video Compression with Motion Compensation

University of Erlangen-Nuremberg. Cauerstrasse 7/NT, D Erlangen, Germany. ffaerber stuhl

Pattern based Residual Coding for H.264 Encoder *

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

Both LPC and CELP are used primarily for telephony applications and hence the compression of a speech signal.

Zhitao Lu and William A. Pearlman. Rensselaer Polytechnic Institute. Abstract

MRT based Fixed Block size Transform Coding

Bit Allocation for Spatial Scalability in H.264/SVC

Review and Implementation of DWT based Scalable Video Coding with Scalable Motion Coding.

EE Low Complexity H.264 encoder for mobile applications

Secure Scalable Streaming and Secure Transcoding with JPEG-2000

Coding for the Network: Scalable and Multiple description coding Marco Cagnazzo

Low-Memory Packetized SPIHT Image Compression

Efficient MPEG-2 to H.264/AVC Intra Transcoding in Transform-domain

Reduced Frame Quantization in Video Coding

PAPER Optimal Quantization Parameter Set for MPEG-4 Bit-Rate Control

5LSE0 - Mod 10 Part 1. MPEG Motion Compensation and Video Coding. MPEG Video / Temporal Prediction (1)

Chapter 11.3 MPEG-2. MPEG-2: For higher quality video at a bit-rate of more than 4 Mbps Defined seven profiles aimed at different applications:

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

Coding of Coefficients of two-dimensional non-separable Adaptive Wiener Interpolation Filter

Upcoming Video Standards. Madhukar Budagavi, Ph.D. DSPS R&D Center, Dallas Texas Instruments Inc.

Video coding. Concepts and notations.

Department of. Computer Science. Remapping Subpartitions of. Hyperspace Using Iterative. Genetic Search. Keith Mathias and Darrell Whitley

Audio and video compression

Submitted in partial fulllment of the. requirements for the degree of. Doctor of Philosophy. Columbia University

High Efficiency Video Coding (HEVC) test model HM vs. HM- 16.6: objective and subjective performance analysis

Lecture 5: Error Resilience & Scalability

One-pass bitrate control for MPEG-4 Scalable Video Coding using ρ-domain

Compression of Stereo Images using a Huffman-Zip Scheme

Robust MPEG-2 SNR Scalable Coding Using Variable End-of-Block

View Synthesis for Multiview Video Compression

WHITE PAPER ON2 TECHNOLOGIES, INC. TrueMotion VP7 Video Codec. January 10, 2005 Document Version: 1.0

Video Compression Standards (II) A/Prof. Jian Zhang

Stereo Image Compression

Cross Layer Protocol Design

REDUCTION OF CODING ARTIFACTS IN LOW-BIT-RATE VIDEO CODING. Robert L. Stevenson. usually degrade edge information in the original image.

Transcription:

Proceedings, 1st International Conference on Image Processing (ICIP-94, Austin, Texas, November 1994. OPTIMAL DATA PARTITIONING OF MPEG-2 CODED VIDEO Alexandros Eleftheriadis and Dimitris Anastassiou Department of Electrical Engineering and Center for Telecommunications Research Columbia University, New York, NY 10027, USA feleft,anastasg@ctr.columbia.edu ABSTRACT We analyze the problem of optimal data partitioning of MPEG-2 coded video in an operational rate-distortion context. The optimal algorithm is characterized and shown to have high complexity and delay. A causally optimal algorithm based on Lagrangian optimization is proposed, that optimally solves the problem for intra (I pictures, while it provides an optimal solution for predicted/interpolated (P/B pictures when the additional constrains of causal operation and/or low-delay are imposed. A memoryless version of the algorithm, theoretically optimal for intrapictures only, is shown to perform almost identically but with signicantly less computational complexity. Finally, a fast, suboptimal algorithm using slice-based optimization is also proposed, and is shown to perform quite close (within 1 db to the causally optimal one. 1. INTRODUCTION Data partitioning is a feature of the MPEG-2 draft standard which provides for the segmentation of a coded signal bitstream into two components or partitions [1]. It can beavery eective tool for the transmission of video over channels that allow selective protection of each of the partitions. Channels of this type can be implemented, for example, using increased forward error correction, or employing high priority transmission in an ATM-based (Asynchronous Transfer Mode networking environment. By transmitting the most critical information with high reliability, i.e. over the highest quality channel, the average quality of the signal reconstructed at the receiver can be signicantly increased for the same level of channel distortion. This feature is one of the major benets of pyramidal or{more generally{ hierarchical, multi-layered coding schemes. An important characteristic of data partitioning is that it can be employed even after encoding has taken place, in contrast with other hierarchical approaches, such asthe SNR, spatial, or temporal scalability modes of MPEG-2. This is because the encoder does not need to maintain a prediction loop per each signal layer, a necessary requirement for a pyramidal scheme in which each coding layer is an enhancement of its previous one. As a direct consequence, it is also less robust in the sense that neither partition is self-contained; loss of information in either one will cause error propagation and accumulation during the decoding process if temporal predictive/interpolative modes 1 are used. Although data partitioning is currently supported only in MPEG-2, it is trivial (at least syntactically to incorporate into other coding schemes. We provide an analysis of optimal data partitioning in a rate-distortion sense, for the partitioning of MPEG- 2 compliant bitstreams. Although no assumptions need to be made in the analysis, a constant source bit rate is assumed and used for simplicity in our derivations and simulations; the extensions to the general case are relatively straightforward. The optimal algorithm is characterized, and shown to have signicantly high complexity and delay. A causally optimal algorithm based on Lagrangian optimization is described; it optimally solves the problem for intra (I pictures, while it provides an optimal solution for predicted/interpolated (P/B pictures when the additional constrains of causal operation and/or low-delay are imposed. A memoryless version of the algorithm, theoretically optimal for intra-pictures only, is shown to perform almost identically but with signicantly less computational complexity. Finally, a fast, suboptimal algorithm using slice-based optimization is also proposed, and is shown to perform quite close (within 1 db to the causally optimal one. 2. OPTIMAL DATA PARTITIONING The system diagram of the data partitioning scheme is shown in Figure 1. In between an MPEG-2 encoder/decoder pair, the bitstream (assumed here to be coded at the constant rate of B Mbps is split into two parts, each being transmitted on a dierent \channel". Throughout this paper we will assume that channel 0 is a perfect one (no losses, errors, or insertions with a given xed available bandwidth ^B < B, while channel 1 is assumed to exhibit stochastic behavior. Partitioning is performed at well-dened points (breakpoints in the bitstream syntax. For our purposes, and to ensure that partition 0 is independently decodable, we will constrain the allowable breakpoint values so that critical quantities such as macroblock address increment and DCT DC dierential values (for intra-coded macroblocks are included in partition 0 1. Consequently, partitioning will only aect the number of coecient run-length codes that will 1 Widely adopted MPEG terology is used throughout this paper; good descriptions are given in [1, 4].

Data Partitioning Partition 1 CHANNEL 1 ENCODER DP DM DECODER CHANNEL 0 Partition 0 Data Merging x y y^ B B<B ^ p 1 p 0 Figure 1: Data partitioning system be carried in partition 0, while the rest will be assigned to partition 1. Note that the breakpoint value is the same for all blocks of a given slice. Sequence headers are replicated in partition 1 to increase robustness, and hence the total rate for the transmission of the signal is slightly increased. Denoting y the coded video signal, ^y the output of the decoder, p i the signal of the i-th partition, and R( the rate, the problem of optimal data partitioning takes the form: fky, ^ykg (1 Since channel 1 is assumed to exhibit stochastic behavior, we consider the deteristic problem of imizing the maximum possible error, i.e.: fmax fky, ^ykgg (2 This corresponds to the case where the entire partition 1 is lost. The optimization window in (2 is not specied, and it can span from just a part of a picture, up to any number of pictures. In general, and taking into account that data partitioning as described here is performed after encoding has taken place, it is desirable to keep the end-to-end delay low. Computation complexity considerations impose additional constrains on the window length. Consequently, we will typically be interested in solutions of (2 that consider up to a single complete picture. An important aspect of the problem not readily evident in (2 is its recursive nature, caused by the corresponding recursive process with which y and ^y are generated (decoded when P and B pictures are involved. In the following we separately consider two cases: intra-picture only partitioning, and mixed-mode (I, P, and B partitioning. 3. INTRA-PICTURE PARTITIONING In intra-picture only partitioning, there is no temporal dependence between pictures. Consequently, the partitioning error will simply consist of the DCT coecients that were assigned to partition 1. Using the orthonormality of the 2 DCT, this can be expressed as follows: with fmax fky, ^ykgg ( PN R i(b i ^B ( N D i(b i j2s i D i(b i (3 kb i [E i j(k] 2 (4 and where B i 2f0;:::;64g is the breakpoint value for slice i (run-length codes from B i and up will go to partition 1, N is the number of slices considered, S i are the blocks in slice i, Ej(k i is the value of the DCT coecient of the k-th run in the j-th block of the i-th slice, and R i(b i denotes the rate of using breakpoint value B i in the i-th slice in partition 0. This optimization problem can be solved using an iterative bisection algorithm based on Lagrangian optimization, which ateach step k separately imizes D i(b i+ kr i(b i for each slice. A similar algorithmic approach but in a dierent context has been used in [2, 3, 5]. The collection of necessary data in eq. 3 requires only parsing of the bitstream up to inverse quantization of the DCT coecients (this represents a small fraction of the complete decoding process. The window (N in which the algorithm operates is a design parameter. Since data partitioning{as was mentioned before{is performed on top of encoding, it is desirable to imize the additional delay introduced by the extra processing step. A plausible selection is then a single picture (frame or eld. The target bit budget R budget of each picture can be set to: R budget =(^B=BR, Ro, where R is the size (in bits of the currently processed frame, and R o are the number of bits spend for coding components of the bitstream that are not subject to data partitioning. R is immediately available after the complete picture has been parsed. Allocated bits that are left over from one picture are carried over to the subsequent picture. A short description of the complete algorithm is as follows. We denote by R i ( and Di ( the optimal rate and distortion respectively for slice i for that particular (i.e. they imize D i + R i. We also denote by Bi ( the breakpoint value that achieves this optimum. Lagrangian Optimization Algorithm Step 1: Initialization Set l = 0 and u = 1. If the inequality: R i ( u R budget R i ( l (5 holds as an equality for either side, an exact solution has been found. If the above does not hold at all, then the problem is infeasible (this can happen if the target rate ^B is too small. Otherwise go to Step 2. Step 2: Bisection and Pruning

1500 34 32 recoding Mean Squared Error (Y only 1000 500 PSNR (Y only 30 28 26 picture-based 24 slice-based 0 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 Bits Per Pixel Figure 2: Slice 20 (full-width, frame 0 from \Flower Garden" coded at 24 (x and 12 (o Mbps. Compute: next := N [D i ( u, Di ( P l] N [R i (u, R i (l] (6 and nd R i ( next and D i ( next such that B i ( u B i ( next B i ( l. Step 3: Convergence Test If R i ( next = R i ( uor R i ( next = then stop; the solution is B i ( u, i =1;:::;N.If then l := next, else u := next. R i ( l (7 R i ( next >R budget (8 The bisection algorithm operates on the convex hull of the R(D curve of each slice. Consequently, points which lie above that, and hence are not R(D optimal, are not considered by the algorithm. Figure 2 shows the R(D plots of typical slices (frame-based, intra coding of \Flower Garden" at 24 and 12 Mbps, slice 20 full-width of frame 0. Worth noting is the locally non-convex behavior in both cases. This property can be traced back to the structure of the MPEG-2 run-length encoding tables, where specic examples of non-convexity can be easily found. In some cases, if the R(D curve of a slice is suciently misbehaved, the bisection algorithm can be set o track, with a resulting underutilization of the target bit budget. In order to mitigate this eect, and also to speed up operation, each iteration considers a continuously shrinking interval of possible breakpoint values (\pruning". This will result in convergence of the algorithm to a much smaller set of non-convex 3 22 0 2 4 6 8 10 12 14 16 18 Frame Number Figure 3: Data partitioning of frame-based, intra coded \Flower Garden", from 24 Mbps to 12 Mbps, using picturebased (Lagrangian and slice-based algorithms (dotted line is for full recoding at 12 Mbps. points. The computational overhead of the algorithm is small, and convergence is achieved within 8{10 iterations. Figure 3 shows the results (Y-PSNR, ky, p 0 k of applying the algorithm to 20 frames of \Flower Garden", using framebased intra coding at 24 Mbps, and with a target rate of 12 Mbps for partition 0. Also shown are the results of a simpler algorithm that uses slice-based optimization. In this latter case each slice is independently assigned a target number of bits proportional to its original size, and a breakpoint is selected so that this budget is not exceeded (leftover bits are carried over to the next slice. Note that the slice-based algorithm is purely rate-based, i.e. the distortion is completely ignored. Lagrangian optimization outperforms the slice-based algorithm by 0.6 db on the average. Finally, for comparison purposes, we also show the Y-PSNR of full recoding from 24 to 12 Mbps. 4. MIED-MODE PARTITIONING When all types of picture coding types are used (I, P, and B the problem is signicantly more complex. The decoding process can be described by: P i = M i(p i,1+e i (9 where P i denotes the i-th decoded picture (in coding order, M i( denotes the motion compensation operator for picture i, and e i denotes the coded prediction error. The rst picture is assumed to be intra-coded, and hence P 0 = e 0. Although, for simplicity, a single reference picture is shown above for motion compensation, the expression can be trivially extended to cover the general case (which includes B- pictures. By applying data partitioning and decoding partition 0, equation 9 becomes: ^P i = M i( ^P i,1+^e i (10

where ^e i denotes the partitioned prediction error. Using (9 and (10, eq. (2 becomes: ^B PN R i(b i M M i(p i,1,m i( ^P i,1+e i, ^e i p=1 (11 where M is the number of pictures over which optimization takes place. Note that in general M i(p i,1,m i( ^Pi,1 6= M i(p i,1, ^Pi,1, i.e. motion compensation is a non-linear operation, because it involves integer arithmetic with truncation away from zero. From eq. (11 we observe that, in contrast with the intra-only case, optimization involves the accumulated error a i M i(p i,1,m i( ^Pi,1. Furthermore, due to the error accumulation process, partitioning decisions made for a given picture will have an eect in the quality and partitioning decisions of subsequent pictures. As a result, an optimal algorithm for (11 would have to exae a complete group of pictures (I-to-I, since breakpoint decisions at the initial I-picture may aect even the last B or P picture. Not only the computational overhead would be extremely high, but the delay would be unacceptable as well. It is desirable then to seek fast solutions with small delay, that are able to control error propagation in a well-dened fashion. An attractive alternative algorithm is one that solves eq. (11 on a picture basis, and where only the error accumulated from past pictures is taken into account; this algorithm will be referred to as causally optimal. Note that in order to accurately compute a i,two prediction loops have to be maintained (one for a decoder that receives the complete signal, and one for a decoder that receives only partition 0. This is because of the nonlinearity of the integer arithmetic of motion compensation. With the penalty of some lack in arithmetic accuracy, these two loops can be collapsed together. The causally optimal problem can be formulated as follows: fmax fka i + e i, ^e ikgg ( PN R i(b i ^B ( k with ^Di(B i dened by: ( N ^D i(b i (12 ^D i(b i A i j(k 2 + 2A i j(i(kej(k+e i j(k i 2 j2si kb i (13 and where N is such that a complete picture is covered, A i j(k is the k-th DCT coecient (in zig-zag scan order of the of the j-th block of the i-th slice of the accumulated error a i, and I( maps run/length positions from the prediction error Ej( i to actual zig-zag scan positions. The imization problem in (13 can be solved using the Lagrangian optimization approach of Section 3, assug that the convexity of the R(D curves is generally maintained. Figure 4 shows the R(D curve for slice 20 of frame 3 (P-picture from the sequence \Mobile" coded at at 4 Mbps (frame-based coding and partitioned at 3.2 Mbps us- 4 Mean Squared Error (Y only 400 350 300 250 200 150 100 50 0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Bits Per Pixel Figure 4: Slice 20 (full-width, frame 3, P-picture from \Mobile" coded at 4 Mbps and partitioned at 3.2 Mbps: (x ^D(Bi, (o D(B i. ing the causally optimal algorithm. The upper curve takes into account the accumulated error a i, whereas the bottom one involves only the prediction error partitioning distortion e i, ^e i. We observe that convexity is clearly present. The property holds even for small slice sizes (e.g. 11 or 4 macroblocks per slice, instead of the regular 44 which amounts for the whole picture width, although the curves become progressively atter. An important issue in mixed-mode coding is the target bit budget that will be set for each picture. In a typical situation, I and P picture DCT coding requires a signicant number of bits, while B picture sizes are doated by header and motion vector coding bits. Consequently, B pictures provide much less exibility for data partitioning. In order to accommodate this behavior, I and P pictures are assigned proportional bit budgets as in Section 3; for B pictures the same is done, except when the resulting bit budget is negative, in which case it is set to 0. The negative budget, however, is accounted for, so that the bits spent for the B picture are subtracted from the budget of the immediately following picture. Note that an optimal bit allocation for each picture would be a direct by-product of the optimal (non-causal algorithm. Figure 5 shows the Y-PSNR resulting from the causally optimal algorithm on 15 frames of the \Mobile" sequence (I distance N=15, I/P frame distance M=3, frame-based coded at 4 Mbps and partitioned at 3.2 Mbps (80% of the rate goes to partition 0. This is the signal quality that would be observed by a decoder that receives only partition 0, compared with one that receives both partitions. We see that I and P frames suer the most, while B frames are in general up to 1 db better. The complexity is solving equation 12 is signicant, as it requires a complete decoding loop for the luance signal. In addition, since motion compensation is performed in the spatial domain while partitioning is performed in the DCT domain, a forward DCT computation module is required as well in order to compute A i j(. As a result, the imple-

PSNR (Y only 29 28.5 28 27.5 27 26.5 26 slice-based causally optimal memoryless 25.5 0 5 10 15 Frame Number Figure 5: PSNR (Y only for \Mobile" sequence, framebased coded at 4 Mbps and partitioned at 3.2 Mbps using causally optimal, memoryless, and slice-based algorithms. mentation complexity is between that of a decoder and an encoder. Given the complexity of the causally optimal algorithm, it is interesting to exae the benet of error accumulation tracking. This can be evaluated by applying the algorithm of Section 3 to the mixed-mode case, since the only dierence is the accumulated error term a i. Surprisingly, the results of this memoryless mixed-mode partitioning algorithm are almost identical. Figure 5 shows the relevant PSNR values for the \Mobile" sequence; the dierence is in general less than 0.1 db and the curves can hardly be distinguished. It turns out that this holds for a wide range of bit rates (e.g. down to 50% and slice sizes, although the dierence increases slightly to 0.2-0.3 db. This is a very important result, as it implies that we can dispense completely with the error accumulation calculation and its associated computational complexity, for a imal cost in performance: the quality degradation between the causally optimal and memoryless algorithms will be perceptually insignicant, across the spectrum of slice sizes and partition rates. This property is hinted by Figure 4 upon closer exaation: the upper and lower curves are almost identical, except from a vertical shift. In order for the accumulated error to aect the partitioning decisions, either the slope of the R(D curves or the overall accumulated error distribution across a picture would have to be signicantly aected; this, however, is not the case. Finally, we exae the performance of the slice-based optimization algorithm discussed in Section 3 in a mixedmode coding environment. Since, as was mentioned before, slice-based optimization is a purely rate-based operation and does not take into account the distortion, there is no dierence whether or not the accumulated error is tracked. Figure 5 depicts the results obtained on the \Mobile" sequence, with the same coding and partitioning parameters as before. We see that the slice-based algorithm is inferior by about 1 db. The complexity, however, is signicantly reduced as well, as the Lagrangian optimization iteration is 5 avoided. 5. CONCLUDING REMARKS The problem of optimal data partitioning of MPEG-2 coded video was analyzed in an operational rate-distortion context. An optimal algorithm based on Lagrangian optimization was derived for intra-only coding, while a faster but suboptimal algorithm using slice-based optimization was shown to perform quite close (within 0.6 db on the average. For the mixed-mode case (I, P, and B pictures the optimal algorithm was characterized and shown to possess signicantly high complexity and delay, as a complete group of pictures was required to be processed at a time. As an alternative, a causally optimal algorithm was proposed, in which only the accumulated error from past pictures was taken into account (with the corresponding error propagated to future pictures ignored. This algorithm is optimal for intra-coded pictures. The simulation results showed that the algorithm performs quite well (comparable to intraonly partitioning, with P and B pictures having about 1 db higher quality than I ones. It was then shown that tracking the error accumulation from one frame to the next does not actually benet the partitioning process in any signicant way, and hence that a memoryless algorithm employing Lagrangian optimization is sucient. This is an important result as it drastically reduces the complexity of the algorithm, and seems to hold across the range of partition rates and slice sizes. Further theoretical investigation is required to verify the general validity of this property. Finally, slice-based optimization on mixed-mode coding was shown to perform within 1 db of the causally optimal algorithm, and hence represents a reasonably good tradeo between performance and complexity. 6. REFERENCES [1] Generic Coding of Moving Pictures and Associated Audio (MPEG-2. ITU-T Draft Recommendation H.262, ISO/IEC 13818-2 Draft International Standard, 1994. [2] K. Ramchandran and M. Vetterli. Rate-distortion optimal fast thresholding with complete JPEG/MPEG decoder compatibility. In Proceedings of the Picture Coding Symposium '93, March 1993. [3] K. Ramchandran and M. Vetterli. Rate-distortion optimal fast thresholding with complete JPEG/MPEG decoder compatibility. IEEE Transactions on Image Processing (Special Issue on Video Sequence Compression, 1994. To appear. [4] Didier LeGall. MPEG: A Video Compression Standard for Multimedia Applications. Communications of the ACM, 34(4:46{58, April 1991. [5] Y. Shoham and A. Gersho. Ecient bit allocation for an arbitrary set of quantizers. IEEE Transactions on Acoustics, Speech, and Signal Processing, 36(9:1445{ 1453, 1988.