sipi
sipi copied to clipboard
Image conversion error on Ubuntu
Using the python-test branch:
$ make check
...
TestConversions: Sipi should convert LeavesC.jp2 to JPG F
...
E conftest.SipiTestError: Downloaded image /tmp/tmp_oh23btb.jpg is different from expected image /home/benjamin/git/Sipi/test/_test_data/images/knora/LeavesC.jpg (wrote /home/benjamin/git/Sipi/test/sipi.log):
E Image Difference (MeanAbsoluteError):
E Normalized Absolute
E ============ ==========
E Red: 0.0000011204 0.1
E Green: 0.0000012358 0.1
E Blue: 0.0000016248 0.1
E Total: 0.0000013270 0.1
Hi Ben,
A JPG is never the same as a lossless J2K, since JPG is lossy and does change the pixel values… However the error is small, if the compression rate is not too high (SIPI uses 0.8 by default where 1.0 means the least possible compression, smaller values indicate higher compression rations).
Lukas
Am 16.01.2017 um 19:57 schrieb Benjamin Geer <[email protected]mailto:[email protected]>:
Using the python-test branch:
$ make check
...
TestConversions: Sipi should convert LeavesC.jp2 to JPG F
...
E conftest.SipiTestError: Downloaded image /tmp/tmp_oh23btb.jpg is different from expected image /home/benjamin/git/Sipi/test/_test_data/images/knora/LeavesC.jpg (wrote /home/benjamin/git/Sipi/test/sipi.log): E Image Difference (MeanAbsoluteError): E Normalized Absolute E ============ ========== E Red: 0.0000011204 0.1 E Green: 0.0000012358 0.1 E Blue: 0.0000016248 0.1 E Total: 0.0000013270 0.1
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/dhlab-basel/Sipi/issues/99, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFN9zLbNv_SgqwIjoIrvq7CJmLQSBZJVks5rS72zgaJpZM4Lk4Zr.
OK, but the strange thing is that the error is 0.0 on Mac OS X, and 0.1 on Ubuntu. Can that be right?
This is strange… On a first sight shouldn’t… 😠
Am 16.01.2017 um 22:35 schrieb Benjamin Geer <[email protected]mailto:[email protected]>:
OK, but the strange thing is that the error is 0.0 on Mac OS X, and 0.1 on Ubuntu. Can that be right?
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/dhlab-basel/Sipi/issues/99#issuecomment-272967416, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AFN9zFeReadxDCCPlB-ECsG9Vo-fUn8Aks5rS-K5gaJpZM4Lk4Zr.