Computationally efficient algorithms for predicting the file size of JPEG images subject to changes of quality factor and scaling

To enable the delivery of multimedia content to mobile devices with limited capabilities, high volume transcoding servers must rely on efficient adaptation algorithms. Our objective in addressing the case of JPEG image adaptation was to find computationally efficient algorithms to accurately predict the compressed file size of images subject to simultaneous changes in quality factor (QF) and resolution. In this paper, we present two new prediction algorithms which use only information readily available from the file header. The first algorithm, QF Scaling-Aware Prediction, predicts file size based on the QF of the original picture, as well as a target QF and scaling. The second algorithm, Clustered QF Scaling-Aware Prediction, also takes into account the resolution of the original picture for improved prediction accuracy. As both algorithms rely on machine-learning strategies, a large corpus of representative JPEG images was assembled. We show that both prediction algorithms lead to acceptably small relative prediction errors in adaptation scenarios of interest.

[1]  Yoshua Bengio,et al.  Convergence Properties of the K-Means Algorithms , 1994, NIPS.

[2]  Sanjit K. Mitra,et al.  Low-delay rate control for DCT video coding via ?-domain source modeling , 2001, IEEE Trans. Circuits Syst. Video Technol..

[3]  André Vincent,et al.  Selective requantization for transcoding of MPEG compressed video , 2000, 2000 IEEE International Conference on Multimedia and Expo. ICME2000. Proceedings. Latest Advances in the Fast Changing World of Multimedia (Cat. No.00TH8532).

[4]  Justin Ridge Efficient transform-domain size and resolution reduction of images , 2003, Signal Process. Image Commun..

[5]  Stéphane Coulombe,et al.  Multimedia adaptation for the multimedia messaging service , 2004, IEEE Communications Magazine.

[6]  Robert M. Gray,et al.  An Algorithm for Vector Quantizer Design , 1980, IEEE Trans. Commun..

[7]  Antonio Ortega,et al.  Rate control using spline-interpolated R-D characteristics , 1996, Other Conferences.

[8]  Mohammed Ghanbari,et al.  A frequency-domain video transcoder for dynamic bit-rate reduction of MPEG-2 bit streams , 1998, IEEE Trans. Circuits Syst. Video Technol..

[9]  Allen Gersho,et al.  Rate-constrained picture-adaptive quantization for JPEG baseline coders , 1993, 1993 IEEE International Conference on Acoustics, Speech, and Signal Processing.