yuanming-hu / exposure

Learning infinite-resolution image processing with GAN and RL from unpaired image datasets, using a differentiable photo editing model.
MIT License
767 stars 156 forks source link

Tonefilter部分理解问题 #9

Closed vissac closed 6 years ago

vissac commented 6 years ago

你好,我在阅读tonefilter部分代码时候有一点疑问,就按照原定的8阶tone_curve为例,将原始图像按照亮度分级为8级对应为Ri, 输出结果Rio = (Ri lut[i] + sum(j=0-i)(lut[j] 1 / 8)) * 8 / lut_sum, 感觉这样的公式有点奇怪,Ri-1中最大值和Ri中的最小值的输出应该是连续的更为合理?

之前算错了,是连续的