Skip to content

Instantly share code, notes, and snippets.

@leandromoreira

leandromoreira/math.math Secret

Last active Oct 9, 2016
Embed
What would you like to do?
MSE = ∑ ∑ ( [n1[i]-n2[i]] ) ^ 2 / m * n
*n1 is the original image, n2 the comparable image, m and n are the image size
PSNR = 10 log₁₀ ( MAX ^ 2 / MSE )
*MAX is the maximum possible pixel value of the image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.