OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 body { | 5 body { |
6 color: white; | 6 color: white; |
7 background-color: black; | 7 background-color: black; |
8 } | 8 } |
9 </style> | 9 </style> |
10 </head> | 10 </head> |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 meanSquaredError /= width * height; | 222 meanSquaredError /= width * height; |
223 log('Mean squared error: ' + meanSquaredError); | 223 log('Mean squared error: ' + meanSquaredError); |
224 diffCtx.putImageData(diffIData, 0, 0); | 224 diffCtx.putImageData(diffIData, 0, 0); |
225 maskCtx.putImageData(maskIData, 0, 0); | 225 maskCtx.putImageData(maskIData, 0, 0); |
226 document.getElementById('diff').style.visibility = 'visible'; | 226 document.getElementById('diff').style.visibility = 'visible'; |
227 document.getElementById('mask').style.visibility = 'visible'; | 227 document.getElementById('mask').style.visibility = 'visible'; |
228 } | 228 } |
229 </script> | 229 </script> |
230 </body> | 230 </body> |
231 </html> | 231 </html> |
OLD | NEW |