The Methodology of the Learning-Based Image Compression Benchmark

Comparison methodology

Metrics

JPEG AI Quality Assessment Framework

VQMT

Others

  • LPIPS[9] - We use this implementation

BSQ-rate

As a measure of Bitarate/Quality Trade-off we use BSQ-rate[10] (Bitrate-for-the-Same-Quality rate). BSQ-rate can be calculated in 4 steps:

  1. Calculate rate/distortion values (points on the rate-distortion plot) for the reference and test codecs.
  2. If there are outlying points which lead to non-monotonic rate-distortion curve, remove them.
  3. Invert bitrate and quality axes, apply linear interpolation to the obtained points.
  4. Set the interval for integrating as the limits of obtained curves overlapping segments and calculate the areas under the curves in the chosen integration segment and determine their ratio: BSQ-rate = S1/S2.

Execution Time Measure

We meausure execution time of each triplet (codec, image, bitrate) 3 times and choose minimal of them.

Dataset Preparation

Optimal Sequence Number

To define optimal sequence number we conducted this research:

  1. Select a sample of 700 images
  2. Compress images with all codecs, calculate metrics and bsq-rate
  3. Perfom dataset subsampling with replacement
  4. Calculate the average deviation of bsq-rate across all methods for each metric.
  5. If the subsample size is 250 images and the average deviation of bsq-rate is < 1%, in this case, the results on the subsample can be considered equivalent to the results on the full sample
Subsampling

Image Resolutions

Our study examines codecs across three distinct resolution types, providing a comprehensive analysis of their effectiveness.

  • HD
  • Full HD
  • 4k

Image Sources

We use images from 2 sources:

  1. Flickr - for image of Full HD and 4k resolutions
  2. OpenImages Dataset - for images of HD resolutions

Image Selection

We processed over 1M images and selected 250 images per resolution. Selection was conducted based on two features:

  • \[SI(X) = std(Sobel(\|(Sobel_v, Sobel_h)\|_2)),\] Where \(Sobel_h\) and \(Sobel_v\) are horizontal and vertical Sobel transformation
  • \[LogBlurLap(X) = log(var(Laplace(X))),\] Where Laplace is Laplacian operator \(Laplace(f) = \frac{\partial^2 f(x)}{\partial x^2} + \frac{\partial^2 f(y)}{\partial y^2} \)


  1. Images in each resolution were devided into 250 clusters
  2. Image closest to the cluster center selected as candidate
  3. Each candidate manually verified

Clustering

Examples


Hardware

Calculations were made using the following hardware:

  • GeForce RTX 3090 GPU, an Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz
  • NVIDIA RTX A6000 GPU, AMD EPYC 7532 32-Core Processor @ 2.40GHz

References

  1. Wang, Z. & Simoncelli, Eero & Bovik, Alan. (2003). Multiscale structural similarity for image quality assessment. Conference Record of the Asilomar Conference on Signals, Systems and Computers. 2. 1398 - 1402 Vol.2. 10.1109/ACSSC.2003.1292216.
  2. L. Zhang, L. Zhang, X. Mou and D. Zhang, "FSIM: A Feature Similarity Index for Image Quality Assessment," in IEEE Transactions on Image Processing, vol. 20, no. 8, pp. 2378-2386, Aug. 2011
  3. Zhou Wang and Qiang Li, "Information Content Weighting for Perceptual Image Quality Assessment," IEEE Transactions on Image Processing, vol. 20, no. 5, pp. 1185-1198, May 2011.
  4. N. Ponomarenko, F. Silvestri, K.Egiazarian, M. Carli, V. Lukin, On Between-Coefficient Contrast Masking of DCT Basis Functions, CD-ROM proceedings of Third International Workshop on Video Processing and Quality Metrics for Consumer Electronics VPQM-07, January, 2007, 4p
  5. Valero Laparra, Alexander Berardino, Johannes Ballé, and Eero P. Simoncelli, "Perceptually optimized image rendering," J. Opt. Soc. Am. A 34, 1511-1525 (2017)
  6. Sheikh H. R. and Bovik A. C., Image Information and Visual Quality, IEEE Transactions on Image Processing, vol. 15, February, 2006, pp. 430-444
  7. VMAF repository
  8. Wang Z., Bovik A., Sheikh H., Simoncelli E., Image quality assessment: from error visibility to structural similarity, IEEE Transactions on Image Processing, vol.13, 2004, pp.600-612
  9. Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, Oliver Wang; Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2018, pp. 586-595
  10. Antsiferova, Anastasia & Kulikov, Dmitriy & Zvezdakov, Sergey & Vatolin, Dmitriy. (2020). BSQ-rate: a new approach for video-codec performance comparison and drawbacks of current solutions. Proceedings of the Institute for System Programming of the RAS. 32. 89-108. 10.15514/ISPRAS-2020-32(1)-5.
13 Dec 2023
See Also
MSU Image- and video-quality metrics analysis
Description of a project in MSU Graphics and Media Laboratory
Super-Resolution Quality Metrics Benchmark
Discover 66 Super-Resolution Quality Metrics and choose the most appropriate for your videos
Video Saliency Prediction Benchmark
Explore the best video saliency prediction (VSP) algorithms
Super-Resolution for Video Compression Benchmark
Learn about the best SR methods for compressed videos and choose the best model to use with your codec
Metrics Robustness Benchmark
Check your image or video quality metric for robustness to adversarial attacks
Video Upscalers Benchmark
The most extensive comparison of video super-resolution (VSR) algorithms by subjective quality
Site structure