add LSIM metric to WebPPictureDistortion()

LSIM stands for "local similarity": before matching
a compressed pixel to the source, we search around in the source
and minimise the squared error. So, this is close to PSNR calculation,
but mitigates some of its limitations (pure translation and noise for instance).

There's a new -print_lsim option to cwebp too.

Change-Id: Ia38561034c7a90e71d2ea0f55bb1de527eda245b
This commit is contained in:
Pascal Massimino
2012-10-18 08:26:40 -07:00
parent c3aa215afa
commit f86e6abe1f
5 changed files with 129 additions and 52 deletions

View File

@ -178,6 +178,9 @@ Compute and report average PSNR (Peak-Signal-To-Noise ratio).
.B \-print_ssim
Compute and report average SSIM (structural similarity metric)
.TP
.B \-print_lsim
Compute and report local similarity metric.
.TP
.B \-progress
Report encoding progress in percent.
.TP