Skip to content
Snippets Groups Projects
Commit 102aad63 authored by Thomas Müller's avatar Thomas Müller
Browse files

Remove implicit tonemapping from SSIM computation

parent 635e5f26
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,6 @@ def trim(error, skip=0.000001):
return error[skip:size-skip].mean()
def luminance(a):
a = np.maximum(0, a)**0.4545454545
return 0.2126 * a[:,:,0] + 0.7152 * a[:,:,1] + 0.0722 * a[:,:,2]
def SSIM(a, b):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment