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
{{ message }}
Repository navigation
Fidelity tests show zero matching pixels for identical images with threshold 0 #537
Sample output for identical image comparison from npm run check-fidelity:
Comparing to (master)
📏 Using threshold 0.0
📊 Matching pixels: 0.00%
📊 Mean color distance: 0.00%
📊 Mean color distance (mismatching pixels only): 0.00%
📏 Using threshold 1.0
📊 Matching pixels: 100.00%
📊 Mean color distance: 0.00%
📊 Mean color distance (mismatching pixels only): 0.00%
📏 Using threshold 10.0
📊 Matching pixels: 100.00%
📊 Mean color distance: 0.00%
📊 Mean color distance (mismatching pixels only): 0.00%
The problem is that identical pixels are defined as < threshold apart, and they can't be less than zero. We could just remove the threshold 0 version, since that is actually what threshold 1 means, but I think it would probably be clearer to make identical mean <= threshold.
Activity
cdata commentedon May 8, 2019
Thanks for pointing this out!
fixed #537
Adjustable FOV (google#563)
Allow skipping interpolation when changing camera (#614)
Adjustable FOV (google#563)