[scikit-image] Fwd: SSIM with tolerances

mat saunders msaunders83 at gmail.com
Mon Apr 3 15:00:51 EDT 2017


I sent this to scikit-learn by accident, so forwarding to image.

Hi,

I am using SSIM to compare 2 video streams\sets of images and I find it to
be almost too accurate. I would like some fudge factor like other image
comparison tools have. I used to do it in an automated test suite but due
to file sizes and amounts I turned to scikit.

I do quality assurance on a render engine and we just want to make sure the
images are meaningfully identical build to build. Currently with SSIM I am
seeing things as small as 4 pixels across a 1920x1080 image different. I
personally would like to ignore those 4 pixels but still catch meaningful
items. Say if 8 pixels near each other were off keep those but if they are
8 pixels randomly through the image ignore them.

Does this sound like something logical, say using an adjacency of pixels
with a tolerance value for color and number of pixels as arguments?

See attached image for example of how little is different in the entire
image. It is a GIF zoomed in to the exact spot of 3 different pixels so
hopefully it works. I also attached the comparison image to show how little
changed.

Another issue that we had is we had to turn off AA to get rid of noise, it
is amazing how accurate this library is!!

Regards,
Mathew Saunders
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170403/cd807119/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3dots-again.gif
Type: image/gif
Size: 101041 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170403/cd807119/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Pasted image at 2017_03_28 12_51 PM.png
Type: image/png
Size: 409206 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20170403/cd807119/attachment-0001.png>


More information about the scikit-image mailing list