Googles appar
Huvudmeny

Post a Comment On: cbloom rants

"01-10-11 - Perceptual Metrics"

4 Comments -

1 – 4 of 4
Blogger ryg said...

Wow, that looks pretty damn sweet.

It's interesting that the MyDct plot has a few outliers where the visual quality is underestimated, but not where it's significantly overestimated. I wonder if that's just a blip or reproducible with other datasets.

How does the spatial band energy preservation work? Do you partition the DCT coefficients into a set of buckets of roughly similar frequency content and take a weighted L2 norm of the difference, or is it more complicated?

January 10, 2011 at 8:20 PM

Blogger cbloom said...

"It's interesting that the MyDct plot has a few outliers where the visual quality is underestimated, "

Yeah, I was wondering what that is. If I was spending more time on this I would look at those images and see what it is about them that's different.

"Do you partition the DCT coefficients into a set of buckets of roughly similar frequency content and take a weighted L2 norm of the difference, or is it more complicated? "

Yep, pretty much just that. Though L1 is better than L2 and the exact composition and weighting of the groups matters. I described an older version of the idea here :

http://cbloomrants.blogspot.com/2010/10/10-30-10-detail-preservation-in-images.html

January 10, 2011 at 9:37 PM

Blogger bztdlinux said...

I have been unable to find any information regarding how to apply these metrics to YUV data - for example, linear weights to apply to each plane. For example, although you have a YUV implmentation of PNSR-HVS-M, the original Matlab source by the author only works in grayscale.

July 2, 2014 at 6:23 PM

Blogger cbloom said...

@bztdlinux - yes, that is one of the issues that is just glossed over by most.

In some of my metrics I use this :

double planeWeights[3] = { 1.0, 0.879837, 0.412461 };

but it's more subtle than that. For example the variance masking usually just comes from the Y plane but affects all 3 planes.

On many of the test sets you can do well just measuring error in Y, because they don't stress chroma-only error well. Really we need much bigger & more varied test sets and good human ratings on them.

July 2, 2014 at 8:43 PM

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.