Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"10-16-10 - Image Comparison Part 11 - Some Notes on the Tests"

7 Comments -

1 – 7 of 7
Anonymous Anonymous said...

You may want to try running jpegrescan for generating "optimal" progressive jpegs. (Only matters for jpeghuff, though.)

There ought to be a program that tries to optimize the jpeg quantization matrices for ssim output--this is a little unfair since obvious optimizing *for* ssim when you *measure* ssim is bogus, but might be interesting to see, anyway.

October 21, 2010 at 12:57 PM

Blogger cbloom said...

" You may want to try running jpegrescan for generating "optimal" progressive jpegs. "

Looking it up ...
Unpossible, it's some insane unix script. Would be easier to write my own version of that.

"There ought to be a program that tries to optimize the jpeg quantization matrices for ssim output"

Yup. Unclear how to do that other than brute force search of some kind though.

"this is a little unfair since obvious optimizing *for* ssim when you *measure* ssim is bogus"

Well, x264 is set for ssim. There are two separate things you can test - 1. how well can the encoder hit the metric if you tell it the metric and let it optimize for it, and 2. how good is the encoder generically and hope that your metric is weird enough that none of the encoders are trained for your metric.

October 21, 2010 at 7:53 PM

Anonymous Anonymous said...

Yep, that's why it's only a little unfair!

Didn't we decide x264's metric was some weird absolute sum of transformed differences that isn't actually the same as SSIM? But maybe it follows it closely, or something.

October 22, 2010 at 8:41 AM

Blogger cbloom said...

"Didn't we decide x264's metric was some weird absolute sum of transformed differences that isn't actually the same as SSIM? But maybe it follows it closely, or something. "

Yeah, but they have lots of tweaks that can scale it and weight it that are turned on by the different "--tune" options. And the main thing --tune ssim seems to do is set some modes for the variance-adaptive quantization.

October 22, 2010 at 10:45 AM

Blogger Unknown said...

Dear cbloom, I am working for Human Monitoring and hipix. Please download the zip file from this link:

http://rcpt.yousendit.com/974263467/f7718a5844598a7a839ddbf66e327874

Examine the two comparisons of hipix to JPEG. I used Irfanview, saving to JPEG without any additional metadata.

Please DO NOT USE PSNR OR SSIM or any other BLIND metric. Just look at the two images using your eyes. These images are not some casual or carefully picked images. They are two industry widely-used test screens, one a typical SMPTE and the second a classic test image.

I believe that looking at these comparisons - unless you are blind, which I hope you are not – you’ll have to admit that your conclusions regarding hipix are fundamentally wrong. I expect that after the examination of these images you’ll have the decency to apologize for your slandering hipix, based on what I see as a totally unprofessional examination.

Since the source images are attached in the zip file you can recreate the results by yourself.

Anybody who’ll take the trouble to look at these comparisons with JPEG, will tell you that you need no special tools but rather mediocre eyesight to see the huge advantage of hipix over JPEG.

October 23, 2010 at 11:36 PM

Blogger cbloom said...

BTW if you want to send me some Hipix related stuff you can use email if you like. cb at my domain

Please see

http://cbloomrants.blogspot.com/2010/10/10-15-10-image-comparison-part-8-hipix.html

I posted a test image there; I think "unless you are blind" you would agree that the JPEG looks much better.

I agree of course that the most important thing in the end is using your own eyes, but if something is worse in RMSE and worse in SSIM it better have some really brilliant perceptual optimization to be better overall. So far to this date there has never been an image compressor like that ever, maybe Hipix is the first one, but it requires some pretty strong proof to say "this is better even though our analytic metrics say it is not".

I mean, Kakadu and x264 both well beat JPEG on both the RMSE and SCIELAB-SSIM metrics, but Hipix did not, so something is very fishy.

As for the PDI test image, I can't find an "original" for it that's not a jpeg, do you have an actual lossless original? I'd like to make my own version of the test images, because you are right the jpeg you sent does look very bad. But obviously you have to do the encoding well to be fair. You should note in the post that I was comparing Hipix to JPEG-PAQ.

I'll look into this more when I get a chance. It would be nice if I had a Hipix command line, because generating tests with the GUI is very annoying.

October 23, 2010 at 11:56 PM

Blogger cbloom said...

Though one thing I notice right off the bat is it looks like you are using a common unfair trick of comparing to JPEG in a bit rate region outside its functional range.

It looks like that image is at 0.35 bpp , and you have to use JPEG quality = 20 to get there.

Everyone knows that JPEG's quality slopes off much faster than modern coders at very low bit rates, so it's easy to make it look very bad.

To do a fair test, please use bit rates around 1.0

A lot of people doing tests these days seem to want to encode very huge images at very low bit rates, which I don't think is a very useful test scenario.

A common mistake that testers make is to crank the bit rate lower and lower with the idea of making the difference easy to see. That in fact might change the results completely, as the best algorithm is not the same at all bit rates.

October 24, 2010 at 12:03 AM

You can use some HTML tags, such as <b>, <i>, <a>

This blog does not allow anonymous comments.

Comment moderation has been enabled. All comments must be approved by the blog author.

You will be asked to sign in after submitting your comment.