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
PeakSignalNoiseRatio silently produces incorrect results when applied to two randomly generated uint8 images, likely due to an overflow error. However, converting the images to float32 resolves the issue and yields a reasonable PSNR value.
🐛 Bug
PeakSignalNoiseRatio
silently produces incorrect results when applied to two randomly generateduint8
images, likely due to an overflow error. However, converting the images tofloat32
resolves the issue and yields a reasonable PSNR value.Expected behavior
Shouldn't the function raise an error when provided with
uint8
inputs?Environment
The text was updated successfully, but these errors were encountered: