[Paper Review] On the Computation of PSNR for a Set of Images or Video
This paper investigates and compares different methods for computing PSNR across sets of images and videos, showing that the choice between arithmetic and geometric mean of MSE values significantly affects reported PSNR, especially in image restoration where MSE distributions are exponential. The key contribution is a clear framework for consistent PSNR reporting, urging the community to explicitly document computation methods to enable fair comparison across learned image and video processing methods.
When comparing learned image/video restoration and compression methods, it is common to report peak-signal to noise ratio (PSNR) results. However, there does not exist a generally agreed upon practice to compute PSNR for sets of images or video. Some authors report average of individual image/frame PSNR, which is equivalent to computing a single PSNR from the geometric mean of individual image/frame mean-square error (MSE). Others compute a single PSNR from the arithmetic mean of frame MSEs for each video. Furthermore, some compute the MSE/PSNR of Y-channel only, while others compute MSE/PSNR for RGB channels. This paper investigates different approaches to computing PSNR for sets of images, single video, and sets of video and the relation between them. We show the difference between computing the PSNR based on arithmetic vs. geometric mean of MSE depends on the distribution of MSE over the set of images or video, and that this distribution is task-dependent. In particular, these two methods yield larger differences in restoration problems, where the MSE is exponentially distributed and smaller differences in compression problems, where the MSE distribution is narrower. We hope this paper will motivate the community to clearly describe how they compute reported PSNR values to enable consistent comparison.
Motivation & Objective
- To investigate and clarify the inconsistencies in PSNR computation across image and video datasets in learned image/video restoration and compression research.
- To compare two primary methods: averaging individual PSNR values (geometric mean of MSE) versus computing PSNR from the arithmetic mean of MSEs.
- To demonstrate that the difference between these methods depends on the distribution of MSE values, which varies by task (e.g., restoration vs. compression).
- To advocate for standardized, transparent reporting of PSNR computation methods to enable fair and consistent evaluation across different models and datasets.
Proposed method
- Proposes two PSNR estimation methods: PSNR based on the geometric mean of individual image/frame MSEs (equivalent to averaging individual PSNRs), and PSNR based on the arithmetic mean of MSEs.
- Uses Jensen’s inequality to theoretically establish that PSNR (geometric mean) is always greater than or equal to PSNR based on arithmetic mean of MSEs.
- Analyzes the quantitative difference between the two PSNR estimates using the ratio of arithmetic to geometric mean of MSEs.
- Models MSE distributions in different tasks: exponential in restoration/SR (e.g., EDSR, EDVR), narrower in compression (e.g., H.264, H.265).
- Validates theoretical findings using real datasets (UVG, MPEG) and compares PSNR-1 (arithmetic mean of PSNR), PSNR-2 (arithmetic mean of MSE), and PSNR-3 (geometric mean of MSE) across multiple tasks.
- Recommends computing MSE per image or video sample first, then reporting PSNR from the arithmetic mean of MSEs for consistency, especially in multi-video evaluation.
Experimental results
Research questions
- RQ1How do different PSNR computation methods—arithmetic vs. geometric mean of MSE—compare in practice for image and video sets?
- RQ2What is the impact of MSE distribution (e.g., exponential vs. narrow) on the difference between PSNR estimates?
- RQ3Why do reported PSNR values vary significantly across the same model when different computation methods are used?
- RQ4How do PSNR values computed from individual frame PSNRs compare to those computed from average MSEs in video sequences?
- RQ5What is the best practice for reporting PSNR in learned image and video processing tasks to ensure fair comparison?
Key findings
- The difference between PSNR computed via arithmetic mean of MSEs and geometric mean of MSEs increases with higher variance in MSE values, which is common in image restoration and super-resolution tasks.
- In restoration tasks (e.g., EDSR, EDVR), where MSE values are exponentially distributed, the difference between PSNR-1 (arithmetic mean of PSNR) and PSNR-3 (geometric mean of MSE) can be substantial—up to 1.3 dB in some cases.
- In video compression tasks (e.g., H.264, H.265), where MSE distribution is narrower, the difference between PSNR estimates is smaller, typically less than 0.2 dB.
- For the MPEG dataset in next-frame prediction, PSNR-1 (arithmetic mean of PSNR) was 32.88 dB, PSNR-2 (arithmetic mean of MSE) was 30.03 dB, and PSNR-3 (geometric mean of MSE) was 29.08 dB, showing a 1.8 dB gap between PSNR-1 and PSNR-3.
- Theoretical predictions of PSNR differences based on MSE distribution (exponential) closely match empirical results, validating the model’s accuracy.
- The paper concludes that averaging frame-by-frame PSNRs across all frames in a video set is not technically sound, as it fails to account for varying PSNR ranges across videos with different motion characteristics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.