Talk:Percentage difference between images: Difference between revisions

answers don't agree. research project: figure out why
(Added expected difference)
(answers don't agree. research project: figure out why)
Line 16:
::::Could someone run their program with the test images and put the expected results in the task description? --[[User:Mwn3d|Mwn3d]] 19:49, 4 December 2008 (UTC)
:::::There you go. [[User:Drea|Drea]] 20:19, 4 December 2008 (UTC)
 
==Disagreement research project==
 
The different examples produce slightly different results. It would be good to collect what the different results are (taking into account different precisions in output) and what kind of arithmetic each such example uses, and figure out whether particular examples are actually wrong.
 
The arithmetic properties I can think of are:
* integer or floating-point color components
* integer or floating-point sum
* when division by image size is done
* when division by maximum color component value (if not 1.0, e.g. 255) is done
 
--[[User:Kevin Reid|Kevin Reid]] 20:03, 29 July 2009 (UTC)