i want to calculate ssim of output webp image as compared to original web image (got after applying any distortion on original webp image.Can anyone please give the pre-compiled .exe like available here --> C++ SSIM implementation available at http://mehdi.rabah.free.fr/SSIM/. but it donot work with webp images.
you are right this option is available. But converting to png image will not fulfill the purpose.. as it will give similarity of two images of png format. and i think results will be different when same will be calculated in webp format ? is it so?
On Friday, April 3, 2015 at 5:56:10 PM UTC+5, skal wrote:Hi,On Fri, Apr 3, 2015 at 8:54 AM, Naseer Ahmad <nasee...@gmail.com> wrote:i want to calculate ssim of output webp image as compared to original web image (got after applying any distortion on original webp image.Can anyone please give the pre-compiled .exe like available here --> C++ SSIM implementation available at http://mehdi.rabah.free.fr/SSIM/. but it donot work with webp images... but it should work with PNG input, thanks to cvLoadImage(). So, you can convert the webp images to PNG first,simply using 'dwebp in.webp -o out.png' , or using ImageMagick's 'convert in.webp out.png' if you have a recent version.(there are other ways to convert webp to png, of course).hope it helps,skal/
--
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 http://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
i have distorted the Alpha component of webp image also in addition to RGB... even then the results will be same? actually in png when i distort the alpha component even slightly i.e changig alpha value from 255 to 252 or else png give worst results.
On Friday, April 3, 2015 at 8:43:29 PM UTC+5, skal wrote:On Fri, Apr 3, 2015 at 4:51 PM, Naseer Ahmad <nasee...@gmail.com> wrote:you are right this option is available. But converting to png image will not fulfill the purpose.. as it will give similarity of two images of png format. and i think results will be different when same will be calculated in webp format ? is it so?PNG is lossless in RGB colorspace. So you will be comparing the same RGB output than if it was decoded from WebP directly.So you should be fine, unless you want to compute SSIM in YCbCr-colorspace, which is a different problem.