dilagurung / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Support JPG comparison for the PSNR binary #339

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The psnr binary only supports YUV file comparison.
I would like to have a feature request to make psnr to support JPG comparison 
and return PSNR/SSIM values too.
Our automation relies on that binary and it will take us long(er) time to run 
if we need to convert each JPG to YUV and do the comparison.
Support JPG comparison will greatly increase the performance of our automation.

Original issue reported on code.google.com by clifford...@google.com on 24 Jun 2014 at 9:42

GoogleCodeExporter commented 9 years ago
Here's CL
https://webrtc-codereview.appspot.com/12839006

Original comment by fbarch...@chromium.org on 25 Jun 2014 at 1:48

GoogleCodeExporter commented 9 years ago
d:\src\libyuv\trunk>d:\src\libyuv\trunk\out\Debug_x64\psnr.exe -ssim 
c:\work\kirkland3.jpg c:\work\kirkland3a.jpg
Frame     SSIM-Y          SSIM-U          SSIM-V          SSIM-All       Frame
Avg:      0.978661        0.963947        0.974050        0.975436          1
Min:      0.978661        0.963947        0.974050        0.975436          0

d:\src\libyuv\trunk>d:\src\libyuv\trunk\out\Debug_x64\psnr.exe 
c:\work\kirkland3.jpg c:\work\kirkland3a.jpg
Frame    PSNR-Y          PSNR-U          PSNR-V          PSNR-All        Frame
Global:  27.467189       27.466676       29.747967       27.773811          1
Avg:     27.467189       27.466676       29.747967       27.773811          1
Min:     27.467189       27.466676       29.747967       27.773811          0

Original comment by fbarch...@chromium.org on 25 Jun 2014 at 1:56

GoogleCodeExporter commented 9 years ago
added in r1021

Original comment by fbarch...@chromium.org on 25 Jun 2014 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by fbarch...@chromium.org on 27 Jun 2014 at 12:58

GoogleCodeExporter commented 9 years ago
It works fine now!

Original comment by clifford...@google.com on 27 Jun 2014 at 1:10

GoogleCodeExporter commented 9 years ago
r1026 adds command line help if built with jpeg support.

Original comment by fbarch...@chromium.org on 1 Jul 2014 at 9:50