摘要: SSIM 公式含义: \[ SSIM(x,y)=[l(x,y)]^{\alpha}[c(x,y)]^{\beta}[s(x,y)]^{\gamma} \] 亮度: \[ l(x,y) = \frac{2\mu_x\mu_y+c_1}{\mu_x^2 + \mu_y^2 + c_1} \] 对比度: 阅读全文
posted @ 2020-11-13 14:47 wioponsen 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 代码 def data_iterator(tfrecords, batch_size=2, shuffle=True, train=True, num_parallel_reads=3): # 声明TFRecordDataset dataset = tf.data.TFRecordDataset(t 阅读全文
posted @ 2020-11-13 14:36 wioponsen 阅读(630) 评论(0) 推荐(0) 编辑