Hi,
I am studying the webp compression method and am not able to figure out the best way to select the best intra prediction mode. I think it is sum of square of errors. Kindly help me out in better understanding the technique.
--
Thank-you
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To post to this group, send email to webp-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
Hi,
Thank-you for sharing your time and helping me with my concern.
I have worked out a good part of the webp prediction in Python over the night, understanding it's working and looking at the source code. Before moving on to the RD-OPT, I'm stuck at a point of where I'm not very sure whether I'm in the right direction or not.
I have taken an image and applied 4x4 luma prediction using all 10 pred mode and constructed the predicted luma image just based on SSE for now, as I'm just checking the quality of the predicted image. I'm not very sure whether my implementation is correct or not, even though I feel it is but the predicted image doesn't look all that good.
So I'm attaching my small piece of code, few sample original and predicted images. It would be very helpful if you could guide me in the right direction with my journey into image compression, as I wish to improvise the compression technology for which it is very crucial for me to understand the working properly.
Regards,
Supratik
Hi,
Thank-you for sharing your time and helping me with my concern.
I have worked out a good part of the webp prediction in Python over the night, understanding it's working and looking at the source code. Before moving on to the RD-OPT, I'm stuck at a point of where I'm not very sure whether I'm in the right direction or not.
I have taken an image and applied 4x4 luma prediction using all 10 pred mode and constructed the predicted luma image just based on SSE for now, as I'm just checking the quality of the predicted image. I'm not very sure whether my implementation is correct or not, even though I feel it is but the predicted image doesn't look all that good.
Hi Skal,As you asked me to check all 10 modes, i did so and am compiling all mode predictions. Kindly have a look at it and if possible please do share a predicted image from the original image in the Archive. Also regarding the x/y ordering, it is arranged as matrix index(x representing rows and y representing columns).
Hi Skal,
I checked the source code (dsp/dec.c), added some counters to check pred mode. For all 4x4 blocks I only see HE4 DC4 HD4 and HU4 being used. None of the others are used, what am I missing?
Kindly revert at the earliest.
Regards,
Supratik
Hi Skal,
I checked the source code (dsp/dec.c), added some counters to check pred mode. For all 4x4 blocks I only see HE4 DC4 HD4 and HU4 being used. None of the others are used, what am I missing?