Open access peer-reviewed conference paper

Influence of Chroma Subsampling on Objective Video Quality Assessment for High Resolutions

Written By

Miroslav Uhrina, Juraj Bienik and Peter Kortis

Reviewed: 28 September 2017 Published: 02 November 2017

DOI: 10.5772/intechopen.71333

From the Proceeding

Proceedings of the 3rd Czech-China Scientific Conference 2017

Edited by Jaromir Gottvald and Petr Praus

Chapter metrics overview

1,258 Chapter Downloads

View Full Metrics

Abstract

This paper deals with the influence of chroma subsampling on video quality measured by objective metrics for H.264/AVC and H.265/HEVC compression standards. The evaluation is done for eight types of sequences with full HD and ultra HD resolutions depending on content. The experimental results showed that there is no impact of chroma subsampling on the video. According to the results, it can also be said that H.265/HEVC codec yields better compression efficiency than H.264/AVC and the different is more visible in UHD resolution. The bigger difference in quality is in lower bitrates, with increasing bitrate the quality of H.264/AVC codec approaches the H.265/HEVC codec.

Keywords

  • chroma subsampling
  • H.264/AVC
  • H.265/HEVC
  • objective assessment
  • PSNR
  • SSIM

1. Introduction

Recently, the interest of multimedia services has rapidly increased, which has reflected also in the use of higher resolutions. The future trend will be moved from Full HD to Ultra HD resolution. This fact results in the need for higher bandwidth as well as the need to develop new compression standards. That also leads to the demand of video quality assessment. Last year’s many new compression standards have become available, e.g. H.265/HEVC or VP9, and many others are being still developed as DAALA or VP10.

Advertisement

2. State of the art

Even if in papers [13] the coding efficiency comparison of well-known and most used compression standards such as H.264/AVC, H.265/HEVC and VP9 using objective metrics has been researched, but in these papers only sequences in HD and Full HD resolutions were compared, objective quality assessment for Ultra HD resolution was missing. In papers [48], the objective quality assessment of the newest compression standards such as H.265/HEVC and VP9 has been examined, but the reference and still the most used compression standard H.264 were not taken into account. In papers [911], only the quality of multimedia services has been explored. In all mentioned papers [111], the influence of chroma subsampling on the video quality has not been analyzed. Therefore, the aim of this paper is to parse how the chroma subsampling affects the video quality measured by selected objective metrics.

Advertisement

3. Chroma subsampling

Chroma subsampling is the practice of encoding images by implementing less resolution for chroma information than for luma information. This is due to our human visual system which is less sensitive to color than to luminance. So, the video system can be optimized by devoting more bandwidth to the luma component (usually denoted as Y or Y′ after gamma correction) than to the color difference components, Cb and Cr. The subsampling scheme is commonly expressed as a three part ratio J/a/b (e.g. 4:2:2). The parts are (in their respective order) (Figure 1):

  • J: horizontal sampling reference (width of the conceptual region), usually 4.

  • a: number of chrominance samples (Cr, Cb) in the first row of J pixels.

  • b: number of changes of chrominance samples (Cr, Cb) between the first and second rows of J pixels.

Figure 1.

Chroma subsampling modes (a–d).

The most used subsampling schemes are 4:4:4, 4:2:2, 4:2:0 and 4:1:1.

  1. 4:4:4: The Cb and Cr colors are sampled at the same rate as the luma (Y); thus, there is no chroma subsampling.

  2. 4:2:2: Both chroma components (Cb and Cr) are sampled at half the horizontal resolution of the luma (Y), so the horizontal chroma resolution is halved. This reduces the bandwidth of an uncompressed video signal by one-third with little to no visual difference.

  3. 4:2:0: Both chroma components (Cb and Cr) are sampled at half the vertical resolution of Y, so the bandwidth is halved compared to no chroma subsampling.

  4. 4:1:1: Both chroma components (Cb and Cr) are sampled at one quarter the horizontal resolution, so the bandwidth is the same as by 4:2:0 subsampling scheme [12, 13].

Advertisement

4. H.264/AVC and H.265/HEVC compression standards

Although H.264/AVC codec was developed in 2003, it is still one of the most used compression standards. It has been designed for a wide range of applications, ranging from video for mobile phones through web applications to TV broadcasting (HDTV). H.264/AVC also defines profiles and levels. There are only three profiles currently defined: baseline, main and extended [14].

The High Efficiency Video Coding known as HEVC/H.265 was developed in January 2013 by a partnership known as the Joint Collaborative Team on Video Coding (JCT-VC), which arose by the cooperation of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG) standardization organizations. It is the newest coding standard from the MPEG family codecs. It contains many improvements, which makes him more effective than the previous standards [15].

Advertisement

5. Objective video quality assessment methods

In general, the video quality assessment can be divided into objective and subjective parts. The subjective evaluation consists of the use of people: assessors who rate the video quality. Even if it is the most reliable way to determine the video quality, it has a big disadvantage: it is time-consuming because minimum 15 observers for each test are needed (according to ITU-R BT.500-13 recommendation). Because of this drawback, in many cases, the objective assessment is used. It consists of the use of computational methods, which score the video quality. The biggest advantage of this type of assessment is that it has opportunity to easily repeat the tests. Today, many objective metrics exist. Mostly used are peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM).

Although the PSNR [16] is the oldest and easiest objective metric, it is still used.

The SSIM metric measures three components—the luminance, the contrast and the structural similarity—and combines them into one final value which determines the quality. It reaches a very good correlation with subjective perception [17]. The results are given in interval [0,1] where 0 represents the worst and 1 the best quality.

Advertisement

6. Measurement procedure

In this experiment, eight video test sequences, according to different temporal and spatial information, were used. All sequences are the part of the database [18]. In the next part, a brief description of used sequences is written:

  • Bund nightscape—city night shot. The scene is time lapsed; the dynamic segments of scene are moving cars and walkers on the curb; static segments are represented by urban buildings. The camera captures scene from static position (Figure 2a).

  • Campfire party—night scene closes to the fire. In the front of the image is flaming bonfire (the fast change of temporal and luminance information). In the background of the image is a group of slightly static people. At the end of the sequence, the camera zooms on the group of people (Figure 2b).

  • Construction field—shot on the construction site, where the static background is represented by buildings under construction and dynamic objects are represented by construction vehicles (excavator) and walking workers. The slow-motion scene captured statically (Figure 2c).

  • Fountains—the daily shot on the city fountain. The foreground consists of squirting water (a lot of edges in the picture); the background is static formed by trees and the buildings. The capturing is static, scene with low dynamic of motion (Figure 2d).

  • Marathon—marathon competition. The runners are multiple moving objects with moderate dynamics; the background is a static road. The camera capturing is static from high point of view (Figure 2e).

  • Runners—the running challenge; but in contrast to “marathon scene,” there are fewer runners. The camera is static, located in the front of the runners slightly angled to the side (higher spatial information). Scene is relatively dynamic (Figure 2f).

  • Tall buildings—the shot on the modern city. The static objects are skyscrapers, river and the urban infrastructure; the slow-motion objects are represented by city traffic. The camera is moving slowly from the left to the right side. The scene is characteristic with the change of spatial and temporal information (Figure 2g).

  • Wood—the forest scenery. The shot on the trees in the forest (captured objects are static), the motion of the camera is from the left to the right side and the motion is accelerating in the sequence. Relatively high value of the spatial and temporal information (Figure 2h).

Figure 2.

The test sequences (a–h).

Generally, the compression difficulty is directly related to the spatial and temporal information of a sequence. Regarding to [19], the spatial (SI) and temporal information (TI) using the Mitsu tool [20] was calculated. According to the results, the spatial-temporal information plane was drawn (Figure 3).

Figure 3.

Spatial-temporal diagram of test sequences.

The basic parameters of these sequences are shown in Table 1.

ResolutionChroma subsamplingBit depthAspect ratioFrame rate (fps)Length (frames)Length (seconds)
3840×2160 (UHD)4:4:410 bits per channel16:93030010

Table 1.

Basic parameters of the test sequences.

The measurement process consists of four steps:

  1. The reference sequences were downloaded from Ref. [18] in the uncompressed format (*.yuv).

  2. After that, all of them were encoded to H.264/AVC and H.265/HEVC compression standards using the FFmpeg tool [21]. The target bitrates were chosen to 1, 3, 5, 10, and 15 Mbps. The GoP size was set to the half of the frame rate, i.e. M = 3 and N = 15.

  3. Subsequently, the sequences were back decoded to the format *.yuv using the same FFmpeg tool.

  4. Finally, the quality between these sequences and the reference (uncompressed) ones was compared and evaluated. This was done using the MSU Measuring Tool Pro version 3.0 [22]. For the measurement, the PSNR and SSIM objective metrics were used.

The whole procedure of measurement and evaluation is represented in Figure 4.

Figure 4.

The whole procedure of the experiment.

Advertisement

7. Experimental results

Figure 5 shows the ratio of the video quality (measured by PSNR and SSIM metrics) and bitrate of both compression standards for all test sequences for FHD resolution and UHD resolution. In Figure 5, eight graphs are inset: depending on the codec, resolution and used objective metric.

Figure 5.

The ratio between video quality and bitrate of both compression standards of all test sequences for both resolutions.

Figure 6 shows the impact of the chroma subsampling on the video quality measured by PSNR and SSIM metrics of both compression standards for all test sequences for FHD resolution and UHD resolution. In Figure 6, eight graphs are inset: depending on the codec, resolution and used objective metric.

Figure 6.

The impact of the chroma subsampling on the video quality of both compression standards of all test sequences for both resolutions.

Figure 7 demonstrates the difference of the coding efficiency between H.264 and H.265 codecs as well as the difference between FHD and UHD resolutions. This representation is done for five test sequences, which have different SI and TI parameters and lie in various (opposite) positions in the SI/TI diagram (Figure 3). In Figure 7, 10 graphs are inset: depending on mentioned test sequence, resolution and used objective metric.

Figure 7.

According to the experimental results and graphs, several conclusions can be pronounced:

  1. The impact of chroma subsampling on the video quality is negligible: there is no difference between unsampled (4:4:4) and subsampled (4:2:2; 4:2:0). It follows that it is more useful and reasonable to use chroma subsampled: you can save up to 50% of the bandwidth by the same quality.

  2. As we assumed the H.265/HEVC compression standard yields better compression efficiency than H.264/AVC compression standard—at the same resolution and bitrate, the compression quality of H.265/HEVC standard is better than H.264/AVC. The quality of both compression standards rises logarithmically with increasing bitrate—in low bitrates the quality grows faster than in high bitrates.

  3. By comparing both codecs, it can be generally said that the bigger difference in quality is in lower bitrates—with increasing bitrate the quality of H.264/AVC codec approaches the H.265/HEVC codec.

  4. The coding efficiency of H.265/HEVC standard is more visible in UHD resolution.

  5. The effectiveness of compression depends on the types of test sequences. In consideration of measurements’ results, we can say that sequences with smaller TI and SI, for instance, the “Bund Nightscape” and the “Construction Field,” yield better quality in low bitrates than other sequences. Vice versa, the sequences with high motion as the “Runners” or the “Marathon” yield worse quality in low bitrates. Individual category is sequences that contain many details, for instance, the “Fountain” sequence—this type of sequences has no so big difference between qualities in low and high bitrates, and they do not reach high quality in higher bitrates.

Advertisement

8. Conclusion

This paper dealt with the influence of chroma subsampling on video quality measured by objective metrics for H.264/AVC and H.265/HEVC compression standards. The evaluation was done for eight types of sequences with Full HD and Ultra HD resolutions depending on content. The experimental results showed that there is no impact of chroma subsampling on the video quality—there is no difference between unsampled (4:4:4) and subsampled (4:2:2; 4:2:0). According to the results, it can also be said that H.265/HEVC codec yields better compression efficiency than H.264/AVC, and the difference is more visible in UHD resolution. The bigger difference in quality is in lower bitrates—with increasing bitrate the quality of H.264/AVC codec approaches the H.265/HEVC codec.

Advertisement

Acknowledgments

This paper is supported by the following project: University Science Park of the University of Zilina – II. phase (ITMS: 313011D13) supported by the Operational Programme Research and Innovation and funded by the European Regional Development Fund.

References

  1. 1. Grois D., Marpe D., Mulayoff A, Hadar O. Performance Comparison of H.265/MPEG-HEVC, VP9, and H.264/MPEG-AVC Encoders. Picture Coding Symposium (PCS), 8-11.12.2013, San Jose, USA, pp. 394-397. ISBN: 978-1-4799-0292-7.
  2. 2. Rao K., Video coding standards: AVS China, H.264/MPEG-4 PART 10, HEVC,VP9, DIRAC and VC-1. in Signal Processing: Algorithms, Architectures, Arrangements, and Applications (SPA), 26-28.9.2013, Poznan, Poland. ISSN: 2326-0262.
  3. 3. Il-KooKim. Coding efficiency comparison of new video coding standards: HEVC vs VP9 vs AVS2 video. 2014 IEEE International Conference on Multimedia and Expo Workshops (ICMEW).
  4. 4. Ramzan N., Pervez Z. and Amira A., Quality of Experience Evaluation of H.265/MPEG-HEVC and VP9 Comparison Efficiency. 26th International Conference on Microelectronics (ICM), 14-17-12-2014, Doha, Qatar. pp. 220-223. INSPEC Accession Number: 15026442.
  5. 5. Rerabek M., Hanhart P., Korshunov P. and Ebrahimi T., Quality Evaluation of HEVC and VP9 Video Compression in Real-Time Applications. 7th International Workshop on Quality of Multimedia Experience (QoMEX), 26-29.5.2015, Costa Navarino, Messinia, Greece. EPFL-CONF-207496.
  6. 6. Kufa J. and Kratochvil T., Comparison of H.265 and VP9 coding efficiency for full HDTV and ultra HDTV applications. 25th International Conference Radioelektronika, Pardubice, Czech Republic, pp. 168-171, 21-22.4.2015. ISBN: 978-1-4799-8117-5.
  7. 7. Uhrina M, Frnda J, Sevcik L, Vaculik M. Impact of H.264/AVC and H.265/HEVC compression standards on the video quality for 4K resolution. Advances in Electrical and Electronic Engineering. 2014;12(4):368-376 ISSN 1336-1376
  8. 8. Uhrina M., Frnda J., Sevcik L. and Vaculik M., Impact of H.265 and VP9 compression standards on the video quality for 4K resolution. 22nd Telecommunications Forum TELFOR 2014, 25-27-11-2014, Belgrade, Serbia. ISBN: 978-1-4799-6190-0
  9. 9. Voznak M, Slachta J, Rozhon J. Performance analysis of virtualized real-time applications. International Journal of Mathematical Models and Methods in Applied Sciences. 2012;6(2):305-313
  10. 10. Voznak M. E-model modification for case of cascade codecs arrangement. International Journal of Mathematical Models and Methods in Applied Sciences. 2011;5(8):1439-1447
  11. 11. Frnda J., Voznak M., Rozhon J. and Mehic M., Prediction model of QoS for triple play services, 21st Telecommunications Forum Telfor TELFOR 2013—Proceedings of Papers, art. no. 6716334, pp. 733-736.
  12. 12. Winkler S, van den Branden Lambrecht CJ, Kunt M. Vision and video: Models and applications. In: Van den Branden Lambrecht CJ, editor. Vision Models and Applications to Image and Video Processing. Springer; 2001 p. 209 ISBN: 978-0-7923-7422-0
  13. 13. Definition of chroma subsampling. Available at: http://www.pcmag.com/encyclopedia/term/57460/chroma-subsampling.
  14. 14. Richardson EGI. The H.264 Advanced Video Compression Standard. 2nd ed. John Wiley and Sons Ltd., 2003. 316 pages. ISBN: 978-0-470-51692-8.
  15. 15. Sullivan G, Ohm J-R, Han W-J, Wiegand T. Overview of the high efficiency video coding (HEVC) standard. IEEE Transactions on Circuits and Systems for Video Technology. December 2012;22(12):1649-1668 ISSN 1051-8215
  16. 16. Winkler S. Digital Video Quality: Vision Models and Metrics. John Wiley and Sons Ltd.; 2005 175 pages. ISBN 0-470-02404-6
  17. 17. Wu HR, Rao KR. Digital Video Image Quality and Perceptual Coding. Taylor and Francis Group LLC; 2006 594 pages. ISBN 0-8247-2777-0
  18. 18. Test Sequence [online]. Available at: http://medialab.sjtu.edu.cn/web4k/index.html
  19. 19. Recommendation ITU-T P.910. Subjective video quality assessment methods for multimedia applications, 04/2008.
  20. 20. Romaniak P., Janowski L., Leszczuk M. and Papir Z. Perceptual quality assessment for H.264/AVC compression. IEEE Consumer Communications and Networking Conference (CCNC), 14-17.1.2012, Las Vegas, NV, USA, pp. 597-602. ISSN: 2331-9852.
  21. 21. FFmpeg tool [online]. Available at: https://www.ffmpeg.org/.
  22. 22. MSU Measurement Tool Pro version [online]. Available at: http://compression.ru/video/quality_measure/vqmt_pro_en.html#start.

Written By

Miroslav Uhrina, Juraj Bienik and Peter Kortis

Reviewed: 28 September 2017 Published: 02 November 2017