You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Last week, I tried an experiment using this library but it was not detecting differences at all between what seemed like obviously different images. I did some analysis and comparison to other libraries and this one did not recognize changes in the alpha transparency. Sometimes, as in the case of these black and white images I was comparing, the whole image was black, and the grayness was controlled solely by the alpha value.
I would suggest amending the algorithm in pixelDiff to also compute the delta in the a1 versus a2 values, where
a1 and a2 are 24 bit offsets. After doing that then the images were percieved correctly to be different.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Last week, I tried an experiment using this library but it was not detecting differences at all between what seemed like obviously different images. I did some analysis and comparison to other libraries and this one did not recognize changes in the alpha transparency. Sometimes, as in the case of these black and white images I was comparing, the whole image was black, and the grayness was controlled solely by the alpha value.
I would suggest amending the algorithm in pixelDiff to also compute the delta in the a1 versus a2 values, where
a1 and a2 are 24 bit offsets. After doing that then the images were percieved correctly to be different.
Beta Was this translation helpful? Give feedback.
All reactions