这里记录一下在Visual Prediction中用到的几种metrics: The structural similarity (SSIM) 其中 SSIM的公式基于样本x和y之间的三个比较衡量:亮度 (luminance)、对比度 (contrast) 和结构 (structure)。 所以SSIM也可以写成这三个部分的组合