PSNR Calculation

YUV Analyzer actually contains four tools, PSNR calculation, YUV comparison, data overlay and checking motion.

    1. PSNR calculation between two image clips
    2. Comparison between two image clips
    3. Overlaying information on top of an image
    4. Checking motion between two consecutive frames

PSNR

This is a function to calculate the PSNR between two YUV files, for example, the original video data and processed YUV video data. The two YUV files must have the same YUV format, and the same resolution.

 

From the main menu, choose “YUV Analyzer”, then select “PSNR”, or click on   from the toolbar, a dialog will pop up.

(Click on above image to display a full resolution image)

  1. Load file 1:   Click on “Browse” to pick a YUV file, and a YUV format dialog will help you to select a right YUV format. Refer to YUV / RGB format selection . The number of frames inside the file will also be displayed.
  2. Load file 2:   Click on “Browse” to pick a YUV file, and a YUV format dialog will help you to select a right YUV format. Refer to YUV / RGB format selection . The number of frames inside the file will also be displayed.
  3. Start and end frame: You need to specify start and end frame to calculate the PSNR. Please note, you have to check the frame numbers inside the two files, and the end frame cannot exceed any frame numbers of the two files.
  4. The program will fill in a default file name for the report file. You can click on “Browse…” to change to a new location and/or other file names.  The file name must have extension “.xls” or “.csv”. If not, the program will change it when you click on “Start Calculation”.
  5. Two file formats are supported for the report file, “.xls” or “.csv”, both can be directly opened in Microsoft Excel. The extension of report file will be changed when the file format is changed.
  6. Start:   Click on “Start Calculation” button to start, the PSNR value will be display for each frame. This result will be also saved into the report file.